HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
geo_hedge Namespace Reference

Functions

GA_Offset srcVertex (GEO_Hedge)
 
SYS_FORCE_INLINE GA_Offset srcPoint (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE GA_Offset hedgePrimitiveOffset (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE const
GA_Primitive
hedgePrimitive (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE GA_PrimitivehedgePrimitive (GA_Detail *gdp, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset dstVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset preSrcVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset postDstVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset dstPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset preSrcPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset postDstPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge nextPrimitiveHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge prevPrimitiveHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge coincidentPolyHedge (T &iface, GEO_Hedge h, GA_Offset pt)
 
template<typename T >
SYS_FORCE_INLINE bool areEquivalent (T &iface, GEO_Hedge h1, GEO_Hedge h2)
 
template<typename T >
SYS_FORCE_INLINE bool isBoundaryHedge (T &iface, GEO_Hedge h)
 
template<typename T >
bool isBridgeHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE bool isManifoldHedge (T &iface, GEO_Hedge h, bool accept_bd)
 
template<typename T >
SYS_FORCE_INLINE GA_Size numEquivalentHedges (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE bool areOpposite (T &iface, GEO_Hedge h1, GEO_Hedge h2)
 
template<typename T >
GEO_Hedge firstIncidentHedge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge nextIncidentHedge (T &iface, GEO_Hedge h, GA_Offset pt)
 
template<typename T >
GEO_Hedge firstIncidentEdge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge nextIncidentEdge (T &iface, GEO_Hedge h, GA_Offset point)
 
template<typename T >
GEO_Hedge firstOutgoingHedge (T &iface, GA_Offset point)
 
template<typename T >
GEO_Hedge nextOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge firstIncomingHedge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge nextIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge nextManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge prevManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge prevManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge nextManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge firstManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge firstManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal length (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal vertexAngle (T &iface, GA_Offset v, UT_Vector3 *nml)
 
SYS_FORCE_INLINE UT_Vector3 srcPos3 (const GA_Detail *gdp, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE UT_Vector3 dstPos3 (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal srcPrimitiveAngle (T &iface, GEO_Hedge h, UT_Vector3 *nml)
 
template<typename T >
SYS_FORCE_INLINE fpreal dstPrimitiveAngle (T &iface, GEO_Hedge h, UT_Vector3 *nml)
 
SYS_FORCE_INLINE fpreal angleCos (const UT_Vector3 &u, const UT_Vector3 &v)
 
template<typename T >
SYS_FORCE_INLINE fpreal srcPrimitiveAngleCos (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal dstPrimitiveAngleCos (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge findHedgeWithEndpoints (T &iface, GA_Offset p0, GA_Offset p1)
 
template<typename T >
GA_Size numIncidentEdges (T &iface, GA_Offset pt)
 
template<typename T >
GA_Size numIncidentHedges (T &iface, GA_Offset pt)
 

Function Documentation

SYS_FORCE_INLINE fpreal geo_hedge::angleCos ( const UT_Vector3 u,
const UT_Vector3 v 
)

Definition at line 772 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE bool geo_hedge::areEquivalent ( T &  iface,
GEO_Hedge  h1,
GEO_Hedge  h2 
)

Definition at line 298 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE bool geo_hedge::areOpposite ( T &  iface,
GEO_Hedge  h1,
GEO_Hedge  h2 
)

Definition at line 373 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::coincidentPolyHedge ( T &  iface,
GEO_Hedge  h,
GA_Offset  pt 
)

Definition at line 284 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::dstPoint ( T &  iface,
GEO_Hedge  h 
)

Definition at line 244 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE UT_Vector3 geo_hedge::dstPos3 ( T &  iface,
GEO_Hedge  h 
)

Definition at line 752 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::dstPrimitiveAngle ( T &  iface,
GEO_Hedge  h,
UT_Vector3 nml 
)

Definition at line 766 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::dstPrimitiveAngleCos ( T &  iface,
GEO_Hedge  h 
)

Definition at line 799 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::dstVertex ( T &  iface,
GEO_Hedge  h 
)

Definition at line 215 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::findHedgeWithEndpoints ( T &  iface,
GA_Offset  p0,
GA_Offset  p1 
)

Definition at line 809 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstIncidentEdge ( T &  iface,
GA_Offset  pt 
)

firstIncidentEdge and nextIncidentEdge, simply filter out non-primary half-edges out of the results of firstIncidentHedge and nextIncidentHedge

Definition at line 474 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstIncidentHedge ( T &  iface,
GA_Offset  pt 
)

[first/next]IncidentHedge run over all half-edges incident at src or dst to the given point in a specific order as follows: all candiate vertices for incident half-edges are traversed, by going over the vertices wired to the given point in the order determined by GA_Topology and interleaving these with (potential) half-edges that precede the one determined by each vertex on its respective primitive.

Definition at line 392 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstIncomingHedge ( T &  iface,
GA_Offset  pt 
)

Definition at line 558 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstManifoldIncomingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 696 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstManifoldOutgoingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 681 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::firstOutgoingHedge ( T &  iface,
GA_Offset  point 
)

Definition at line 511 of file GEO_Hedge.h.

SYS_FORCE_INLINE const GA_Primitive* geo_hedge::hedgePrimitive ( const GA_Detail gdp,
GEO_Hedge  h 
)

Definition at line 200 of file GEO_Hedge.h.

SYS_FORCE_INLINE GA_Primitive* geo_hedge::hedgePrimitive ( GA_Detail gdp,
GEO_Hedge  h 
)

Definition at line 207 of file GEO_Hedge.h.

SYS_FORCE_INLINE GA_Offset geo_hedge::hedgePrimitiveOffset ( const GA_Detail gdp,
GEO_Hedge  h 
)

Definition at line 193 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE bool geo_hedge::isBoundaryHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 309 of file GEO_Hedge.h.

template<typename T >
bool geo_hedge::isBridgeHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 316 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE bool geo_hedge::isManifoldHedge ( T &  iface,
GEO_Hedge  h,
bool  accept_bd 
)

Definition at line 341 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::length ( T &  iface,
GEO_Hedge  h 
)

Definition at line 712 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextIncidentEdge ( T &  iface,
GEO_Hedge  h,
GA_Offset  point 
)

Definition at line 494 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextIncidentHedge ( T &  iface,
GEO_Hedge  h,
GA_Offset  pt 
)

Definition at line 413 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextIncomingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 576 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextManifoldIncomingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 666 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextManifoldOutgoingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 613 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::nextOutgoingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 525 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::nextPrimitiveHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 268 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Size geo_hedge::numEquivalentHedges ( T &  iface,
GEO_Hedge  h 
)

Definition at line 357 of file GEO_Hedge.h.

template<typename T >
GA_Size geo_hedge::numIncidentEdges ( T &  iface,
GA_Offset  pt 
)

Definition at line 829 of file GEO_Hedge.h.

template<typename T >
GA_Size geo_hedge::numIncidentHedges ( T &  iface,
GA_Offset  pt 
)

Definition at line 847 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::postDstPoint ( T &  iface,
GEO_Hedge  h 
)

Definition at line 260 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::postDstVertex ( T &  iface,
GEO_Hedge  h 
)

Definition at line 231 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::preSrcPoint ( T &  iface,
GEO_Hedge  h 
)

Definition at line 252 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::preSrcVertex ( T &  iface,
GEO_Hedge  h 
)

Definition at line 223 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::prevManifoldIncomingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 650 of file GEO_Hedge.h.

template<typename T >
GEO_Hedge geo_hedge::prevManifoldOutgoingHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 631 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::prevPrimitiveHedge ( T &  iface,
GEO_Hedge  h 
)

Definition at line 276 of file GEO_Hedge.h.

SYS_FORCE_INLINE GA_Offset geo_hedge::srcPoint ( const GA_Detail gdp,
GEO_Hedge  h 
)

Definition at line 186 of file GEO_Hedge.h.

SYS_FORCE_INLINE UT_Vector3 geo_hedge::srcPos3 ( const GA_Detail gdp,
GEO_Hedge  h 
)

Definition at line 744 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::srcPrimitiveAngle ( T &  iface,
GEO_Hedge  h,
UT_Vector3 nml 
)

Definition at line 759 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::srcPrimitiveAngleCos ( T &  iface,
GEO_Hedge  h 
)

Definition at line 789 of file GEO_Hedge.h.

SYS_FORCE_INLINE GA_Offset geo_hedge::srcVertex ( GEO_Hedge  h)

Definition at line 179 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::vertexAngle ( T &  iface,
GA_Offset  v,
UT_Vector3 nml 
)

Definition at line 721 of file GEO_Hedge.h.