87constexpr double SixtySlope = 1.422649730810374235490851219498;
99constexpr double ThirtySlope = 0.57735026918962576450914878050196;
106constexpr double OneDegree = 0.01745506492821758576512889521973;
107constexpr double TwoDegree = 0.03492076949174773050040262577373;
108constexpr double FiveDegree = 0.08748866352592400522201866943496;
109constexpr double TenDegree = 0.17632698070846497347109038686862;
182 double DeltaU = EndPoint.
X - StartPoint.
X;
183 double DeltaV = EndPoint.
Y - StartPoint.
Y;
270 const double Slope =
ComputeSlope(StartPoint, EndPoint);
433 double DeltaU = PointB.
X -
PointP->X;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DOUBLE_SMALL_NUMBER
Definition UnrealMathUtility.h:72
Definition AndroidPlatformMisc.h:14
bool AllOf(const RangeType &Range)
Definition AllOf.h:19
constexpr double TwentyFiveDegree
Definition SlopeUtils.h:112
constexpr double FifteenDegree
Definition SlopeUtils.h:110
constexpr double NullSlope
Definition SlopeUtils.h:54
constexpr double PiSlope
Definition SlopeUtils.h:76
constexpr double Epsilon
Definition SlopeUtils.h:114
constexpr double FortyFiveSlope
Definition SlopeUtils.h:93
constexpr double SixtySlope
Definition SlopeUtils.h:87
constexpr double SixthPiSlope
Definition SlopeUtils.h:98
constexpr double FiveDegree
Definition SlopeUtils.h:108
constexpr double MinusRightSlope
Definition SlopeUtils.h:71
constexpr double OneDegree
Definition SlopeUtils.h:106
constexpr double NinetySlope
Definition SlopeUtils.h:61
constexpr double TenDegree
Definition SlopeUtils.h:109
constexpr double TwentyDegree
Definition SlopeUtils.h:111
constexpr double RightSlope
Definition SlopeUtils.h:59
constexpr double ThirdPiSlope
Definition SlopeUtils.h:86
constexpr double ThirtySlope
Definition SlopeUtils.h:99
constexpr double TwoDegree
Definition SlopeUtils.h:107
constexpr double ThreeRightSlope
Definition SlopeUtils.h:66
constexpr double QuaterPiSlope
Definition SlopeUtils.h:92
constexpr double HalfPiSlope
Definition SlopeUtils.h:60
constexpr double ThreeQuaterPiSlope
Definition SlopeUtils.h:104
constexpr double TwoPiSlope
Definition SlopeUtils.h:81
Definition CADEntity.cpp:23
bool IsPointPInsideSectorABC(const FVector2d &PointA, const FVector2d &PointB, const FVector2d &PointC, const FVector2d &PointP, const double FlatAngle)
Definition SlopeUtils.h:401
bool ArePointsInsideSectorABC(const FVector2d &PointA, const FVector2d &PointB, const FVector2d &PointC, const TArray< const FVector2d * > &Points, const double FlatAngle=-DOUBLE_SMALL_NUMBER)
Definition SlopeUtils.h:426
double TransformIntoOrientedSlope(double Slope)
Definition SlopeUtils.h:124
double TransformIntoUnorientedSlope(double Slope)
Definition SlopeUtils.h:138
double ComputeOrientedSlope(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceSlope)
Definition SlopeUtils.h:320
double ClockwiseSlope(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceSlope)
Definition SlopeUtils.h:306
double SwapSlopeOrientation(double Slope)
Definition SlopeUtils.h:174
double TransformIntoClockwiseSlope(double Slope)
Definition SlopeUtils.h:129
TFunction< double(const FVector2d &, const FVector2d &, double)> SlopeMethod
Definition CycleTriangulator.h:23
double TransformIntoPositiveSlope(double Slope)
Definition SlopeUtils.h:147
double CounterClockwiseSlope(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceSlope)
Definition SlopeUtils.h:311
double ComputeSlopeRelativeToReferenceAxis(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceAxisSlope)
Definition SlopeUtils.h:373
double ComputeSlopeRelativeToNearestAxis(const FVector2d &StartPoint, const FVector2d &EndPoint)
Definition SlopeUtils.h:349
double ComputeSlope(const FVector2d &StartPoint, const FVector2d &EndPoint)
Definition SlopeUtils.h:180
double ComputeUnorientedSlope(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceSlope)
Definition SlopeUtils.h:337
double ComputePositiveSlope(const FVector2d &StartPoint, const FVector2d &EndPoint, double ReferenceSlope)
Definition SlopeUtils.h:290
FVector2d SlopeToVector(const double Slope)
Definition SlopeUtils.h:450
double TransformIntoSlopeRelativeToReferenceAxis(double Slope)
Definition SlopeUtils.h:157
double WrapTo(double Slope, const double StartOfPeriod, const double EndOfPeriod, const double PeriodLength)
Definition MathConst.h:65
T Y
Definition Vector2D.h:52
T X
Definition Vector2D.h:49
static CORE_API const TVector2< double > ZeroVector
Definition Vector2D.h:63