HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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<> \
getDefault<REAL>() { return ut_global_predicates_##REAL; }
#define const
Definition: zconf.h:214

Definition at line 150 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 261 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 282 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 354 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 367 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 377 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 389 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 404 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 415 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 291 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 302 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 310 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 320 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 333 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 342 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