HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_GeometryPredicate.h File Reference
#include "UT_API.h"
#include "UT_Vector2.h"
#include "UT_Vector3.h"
+ Include dependency graph for UT_GeometryPredicate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_GeometryPredicates< REAL, USEFILTER, EXACT >
 

Namespaces

 UT_GeometryPredicate
 

Macros

#define SPECIALIZE_GET_DEFAULT(REAL)
 

Functions

template<typename REAL >
const UT_GeometryPredicates
< REAL, false, true > & 
UT_GeometryPredicate::getDefault ()
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient2d (const REAL pa[2], const REAL pb[2], const REAL pc[2])
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient2d (const UT_Vector2T< REAL > &pa, const UT_Vector2T< REAL > &pb, const UT_Vector2T< REAL > &pc)
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient3d (const REAL pa[3], const REAL pb[3], const REAL pc[3], const REAL pd[3])
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient3d (const UT_Vector3T< REAL > &pa, const UT_Vector3T< REAL > &pb, const UT_Vector3T< REAL > &pc, const UT_Vector3T< REAL > &pd)
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::incircle (const REAL pa[2], const REAL pb[2], const REAL pc[2], const REAL pd[2])
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::incircle (const UT_Vector2T< REAL > &pa, const UT_Vector2T< REAL > &pb, const UT_Vector2T< REAL > &pc, const UT_Vector2T< REAL > &pd)
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::insphere (const REAL pa[3], const REAL pb[3], const REAL pc[3], const REAL pd[3], const REAL pe[3])
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::insphere (const UT_Vector3T< REAL > &pa, const UT_Vector3T< REAL > &pb, const UT_Vector3T< REAL > &pc, const UT_Vector3T< REAL > &pd, const UT_Vector3T< REAL > &pe)
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient4d (const REAL pa[3], const REAL pb[3], const REAL pc[3], const REAL pd[3], const REAL pe[3], REAL ah, REAL bh, REAL ch, REAL dh, REAL eh)
 
template<typename REAL >
SYS_FORCE_INLINE REAL UT_GeometryPredicate::orient4d (const UT_Vector3T< REAL > &pa, const UT_Vector3T< REAL > &pb, const UT_Vector3T< REAL > &pc, const UT_Vector3T< REAL > &pd, const UT_Vector3T< REAL > &pe, REAL ah, REAL bh, REAL ch, REAL dh, REAL eh)
 
template<typename REAL , bool USEFILTER>
SYS_FORCE_INLINE UT_Vector3T
< REAL > 
UTcrossExact (const UT_Vector3T< REAL > &v1, const UT_Vector3T< REAL > &v2, const UT_GeometryPredicates< REAL, USEFILTER, true > &pred)
 
template<typename REAL >
SYS_FORCE_INLINE UT_Vector3T
< REAL > 
UTcrossExact (const UT_Vector3T< REAL > &v1, const UT_Vector3T< REAL > &v2)
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient2d (const UT_Vector2 &a, const UT_Vector2 &b, const UT_Vector2 &c)
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient2d (const UT_Vector2D &pa, const UT_Vector2D &pb, const UT_Vector2D &pc)
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient2d (const double pa[2], const double pb[2], const double pc[2])
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient3d (const UT_Vector3 &a, const UT_Vector3 &b, const UT_Vector3 &c, const UT_Vector3 &d)
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient3d (const UT_Vector3D &pa, const UT_Vector3D &pb, const UT_Vector3D &pc, const UT_Vector3D &pd)
 
SYS_FORCE_INLINE double UTgeometryPredicateOrient3d (const double pa[3], const double pb[3], const double pc[3], const double pd[3])
 
SYS_FORCE_INLINE double UTgeometryPredicateIncircle (const UT_Vector2 &a, const UT_Vector2 &b, const UT_Vector2 &c, const UT_Vector2 &d)
 
SYS_FORCE_INLINE double UTgeometryPredicateIncircle (const UT_Vector2D &pa, const UT_Vector2D &pb, const UT_Vector2D &pc, const UT_Vector2D &pd)
 
SYS_FORCE_INLINE double UTgeometryPredicateIncircle (const double pa[2], const double pb[2], const double pc[2], const double pd[2])
 
SYS_FORCE_INLINE double UTgeometryPredicateInsphere (const UT_Vector3 &a, const UT_Vector3 &b, const UT_Vector3 &c, const UT_Vector3 &d, const UT_Vector3 &e)
 
SYS_FORCE_INLINE double UTgeometryPredicateInsphere (const UT_Vector3D &pa, const UT_Vector3D &pb, const UT_Vector3D &pc, const UT_Vector3D &pd, const UT_Vector3D &pe)
 
SYS_FORCE_INLINE double UTgeometryPredicateInsphere (const double pa[3], const double pb[3], const double pc[3], const double pd[3], const double pe[3])
 

Variables

UT_API const
UT_GeometryPredicates
< fpreal32, false, true > 
ut_global_predicates_fpreal32
 
UT_API const
UT_GeometryPredicates
< fpreal64, false, true > 
ut_global_predicates_fpreal64
 

Macro Definition Documentation

#define SPECIALIZE_GET_DEFAULT (   REAL)
Value:
template<> \
SYS_FORCE_INLINE \
getDefault<REAL>() { return ut_global_predicates_##REAL; }

Definition at line 149 of file UT_GeometryPredicate.h.

Function Documentation

template<typename REAL , bool USEFILTER>
SYS_FORCE_INLINE UT_Vector3T<REAL> UTcrossExact ( const UT_Vector3T< REAL > &  v1,
const UT_Vector3T< REAL > &  v2,
const UT_GeometryPredicates< REAL, USEFILTER, true > &  pred 
)

Definition at line 260 of file UT_GeometryPredicate.h.

template<typename REAL >
SYS_FORCE_INLINE UT_Vector3T<REAL> UTcrossExact ( const UT_Vector3T< REAL > &  v1,
const UT_Vector3T< REAL > &  v2 
)

Definition at line 281 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateIncircle ( const UT_Vector2 a,
const UT_Vector2 b,
const UT_Vector2 c,
const UT_Vector2 d 
)

Definition at line 353 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateIncircle ( const UT_Vector2D pa,
const UT_Vector2D pb,
const UT_Vector2D pc,
const UT_Vector2D pd 
)

Definition at line 366 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateIncircle ( const double  pa[2],
const double  pb[2],
const double  pc[2],
const double  pd[2] 
)

Definition at line 376 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateInsphere ( const UT_Vector3 a,
const UT_Vector3 b,
const UT_Vector3 c,
const UT_Vector3 d,
const UT_Vector3 e 
)

Definition at line 388 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateInsphere ( const UT_Vector3D pa,
const UT_Vector3D pb,
const UT_Vector3D pc,
const UT_Vector3D pd,
const UT_Vector3D pe 
)

Definition at line 403 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateInsphere ( const double  pa[3],
const double  pb[3],
const double  pc[3],
const double  pd[3],
const double  pe[3] 
)

Definition at line 414 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient2d ( const UT_Vector2 a,
const UT_Vector2 b,
const UT_Vector2 c 
)

Definition at line 290 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient2d ( const UT_Vector2D pa,
const UT_Vector2D pb,
const UT_Vector2D pc 
)

Definition at line 301 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient2d ( const double  pa[2],
const double  pb[2],
const double  pc[2] 
)

Definition at line 309 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient3d ( const UT_Vector3 a,
const UT_Vector3 b,
const UT_Vector3 c,
const UT_Vector3 d 
)

Definition at line 319 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient3d ( const UT_Vector3D pa,
const UT_Vector3D pb,
const UT_Vector3D pc,
const UT_Vector3D pd 
)

Definition at line 332 of file UT_GeometryPredicate.h.

SYS_FORCE_INLINE double UTgeometryPredicateOrient3d ( const double  pa[3],
const double  pb[3],
const double  pc[3],
const double  pd[3] 
)

Definition at line 341 of file UT_GeometryPredicate.h.

Variable Documentation

UT_API const UT_GeometryPredicates<fpreal32,false,true> ut_global_predicates_fpreal32
UT_API const UT_GeometryPredicates<fpreal64,false,true> ut_global_predicates_fpreal64