14namespace Math {
template <
typename T>
struct TVector2; }
15namespace Math {
template <
typename T>
struct TVector; }
18namespace ExactPredicates {
70template<
typename RealType>
73 RealType
PA[2]{
A.X,
A.Y };
74 RealType
PB[2]{
B.X,
B.Y };
75 RealType
PC[2]{
C.X,
C.Y };
79template<
typename RealType>
89template<
typename RealType>
98 if constexpr (std::is_same_v<RealType, double>)
113template<
typename RealType>
116 RealType
PA[2]{
A.X,
A.Y };
117 RealType
PB[2]{
B.X,
B.Y };
118 RealType Dir[2]{ Direction.
X, Direction.
Y };
126template<
typename RealType>
134 double Dir[3]{ (
double)Direction.
X, (
double)Direction.
Y, (
double)Direction.
Z };
135 if constexpr (std::is_same_v<RealType, double>)
153template<
typename RealType>
162 if constexpr (std::is_same_v<RealType, double>)
178template<
typename RealType>
188 if constexpr (std::is_same_v<RealType, double>)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
RealType InCircle2(const TVector2< RealType > &A, const TVector2< RealType > &B, const TVector2< RealType > &C, const TVector2< RealType > &D)
Definition ExactPredicates.h:154
double Facing3D(const double *PA, const double *PB, const double *PC, const double *Direction)
Definition ExactPredicates.cpp:50
RealType Facing2(const TVector2< RealType > &A, const TVector2< RealType > &B, const TVector2< RealType > &Direction)
Definition ExactPredicates.h:114
RealType Orient3(const TVector< RealType > &A, const TVector< RealType > &B, const TVector< RealType > &C, const TVector< RealType > &D)
Definition ExactPredicates.h:90
RealType Orient2(const TVector2< RealType > &A, const TVector2< RealType > &B, const TVector2< RealType > &C)
Definition ExactPredicates.h:71
RealType Facing3(const TVector< RealType > &A, const TVector< RealType > &B, const TVector< RealType > &C, const TVector< RealType > &Direction)
Definition ExactPredicates.h:127
double InSphere(const double *PA, const double *PB, const double *PC, const double *PD, const double *PE)
Definition ExactPredicates.cpp:79
double Facing2D(const double *PA, const double *PB, const double *Direction)
Definition ExactPredicates.cpp:56
double Orient2DInexact(const double *pa, const double *pb, const double *pc)
Definition ExactPredicates.cpp:22
double InCircle(const double *PA, const double *PB, const double *PC, const double *PD)
Definition ExactPredicates.cpp:68
double Orient2D(const double *pa, const double *pb, const double *pc)
Definition ExactPredicates.cpp:27
double InSphereInexact(const double *PA, const double *PB, const double *PC, const double *PD, const double *PE)
Definition ExactPredicates.cpp:74
void GlobalInit()
Definition ExactPredicates.cpp:16
double InCircleInexact(const double *PA, const double *PB, const double *PC, const double *PD)
Definition ExactPredicates.cpp:62
double Orient2DOrigin(double ax, double ay, double bx, double by)
Definition ExactPredicates.cpp:33
double Orient3D(const double *PA, const double *PB, const double *PC, const double *PD)
Definition ExactPredicates.cpp:44
double Orient3DInexact(const double *PA, const double *PB, const double *PC, const double *PD)
Definition ExactPredicates.cpp:39
RealType Orient2Origin(const TVector2< RealType > &A, const TVector2< RealType > &B)
Definition ExactPredicates.h:80
RealType InSphere3(const TVector< RealType > &A, const TVector< RealType > &B, const TVector< RealType > &C, const TVector< RealType > &D, const TVector< RealType > &E)
Definition ExactPredicates.h:179
Definition AdvancedWidgetsModule.cpp:13
T Y
Definition Vector2D.h:52
T X
Definition Vector2D.h:49
T Z
Definition Vector.h:68
T Y
Definition Vector.h:65
T X
Definition Vector.h:62