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 e)
 
SYS_FORCE_INLINE GA_Offset hedgePrimitiveOffset (const GA_Detail *gdp, GEO_Hedge e)
 
SYS_FORCE_INLINE const
GA_Primitive
hedgePrimitive (const GA_Detail *gdp, GEO_Hedge e)
 
SYS_FORCE_INLINE GA_PrimitivehedgePrimitive (GA_Detail *gdp, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset dstVertex (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset preSrcVertex (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset postDstVertex (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset dstPoint (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset preSrcPoint (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset postDstPoint (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge nextPrimitiveHedge (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge prevPrimitiveHedge (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge otherPrimitiveHedgeAtPoint (T &iface, GEO_Hedge e, GA_Offset point)
 
template<typename T >
SYS_FORCE_INLINE bool areEquivalent (T &iface, GEO_Hedge e1, GEO_Hedge e2)
 
template<typename T >
SYS_FORCE_INLINE bool isBoundaryHedge (T &iface, GEO_Hedge e)
 
template<typename T >
bool isBridgeHedge (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE bool isManifoldHedge (T &iface, GEO_Hedge e, bool accept_bd)
 
template<typename T >
SYS_FORCE_INLINE GA_Size numEquivalentHedges (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE bool areOpposite (T &iface, GEO_Hedge e1, GEO_Hedge e2)
 
template<typename T >
GEO_Hedge firstIncidentHedge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge nextIncidentHedge (T &iface, GEO_Hedge e, GA_Offset pt)
 
template<typename T >
GEO_Hedge firstIncidentEdge (T &iface, GA_Offset point)
 
template<typename T >
GEO_Hedge nextIncidentEdge (T &iface, GEO_Hedge e, GA_Offset point)
 
template<typename T >
GEO_Hedge firstOutgoingHedge (T &iface, GA_Offset point)
 
template<typename T >
GEO_Hedge nextOutgoingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge firstIncomingHedge (T &iface, GA_Offset point)
 
template<typename T >
GEO_Hedge nextIncomingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge nextManifoldOutgoingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge prevManifoldOutgoingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge prevManifoldIncomingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge nextManifoldIncomingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge firstManifoldOutgoingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge firstManifoldIncomingHedge (T &iface, GEO_Hedge e)
 
template<typename T >
SYS_FORCE_INLINE fpreal length (T &iface, GEO_Hedge e)
 
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 e, UT_Vector3 *nml)
 
template<typename T >
SYS_FORCE_INLINE fpreal dstPrimitiveAngle (T &iface, GEO_Hedge e, 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 e)
 
template<typename T >
SYS_FORCE_INLINE fpreal dstPrimitiveAngleCos (T &iface, GEO_Hedge e)
 
template<typename T >
GEO_Hedge findHedgeWithEndpoints (T &iface, GA_Offset p0, GA_Offset p1)
 
template<typename T >
GA_Size numIncidentEdges (T &iface, GA_Offset point)
 
template<typename T >
GA_Size numIncidentHedges (T &iface, GA_Offset point)
 

Function Documentation

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

Definition at line 763 of file GEO_Hedge.h.

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

Definition at line 287 of file GEO_Hedge.h.

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

Definition at line 364 of file GEO_Hedge.h.

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

Definition at line 231 of file GEO_Hedge.h.

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

Definition at line 743 of file GEO_Hedge.h.

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

Definition at line 757 of file GEO_Hedge.h.

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

Definition at line 790 of file GEO_Hedge.h.

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

Definition at line 202 of file GEO_Hedge.h.

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

Definition at line 800 of file GEO_Hedge.h.

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

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

Definition at line 467 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 383 of file GEO_Hedge.h.

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

Definition at line 553 of file GEO_Hedge.h.

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

Definition at line 687 of file GEO_Hedge.h.

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

Definition at line 672 of file GEO_Hedge.h.

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

Definition at line 504 of file GEO_Hedge.h.

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

Definition at line 187 of file GEO_Hedge.h.

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

Definition at line 194 of file GEO_Hedge.h.

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

Definition at line 180 of file GEO_Hedge.h.

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

Definition at line 298 of file GEO_Hedge.h.

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

Definition at line 305 of file GEO_Hedge.h.

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

Definition at line 332 of file GEO_Hedge.h.

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

Definition at line 703 of file GEO_Hedge.h.

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

Definition at line 487 of file GEO_Hedge.h.

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

Definition at line 406 of file GEO_Hedge.h.

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

Definition at line 572 of file GEO_Hedge.h.

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

Definition at line 657 of file GEO_Hedge.h.

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

Definition at line 610 of file GEO_Hedge.h.

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

Definition at line 519 of file GEO_Hedge.h.

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

Definition at line 255 of file GEO_Hedge.h.

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

Definition at line 348 of file GEO_Hedge.h.

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

Definition at line 820 of file GEO_Hedge.h.

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

Definition at line 839 of file GEO_Hedge.h.

template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::otherPrimitiveHedgeAtPoint ( T &  iface,
GEO_Hedge  e,
GA_Offset  point 
)

Definition at line 271 of file GEO_Hedge.h.

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

Definition at line 247 of file GEO_Hedge.h.

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

Definition at line 218 of file GEO_Hedge.h.

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

Definition at line 239 of file GEO_Hedge.h.

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

Definition at line 210 of file GEO_Hedge.h.

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

Definition at line 643 of file GEO_Hedge.h.

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

Definition at line 626 of file GEO_Hedge.h.

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

Definition at line 263 of file GEO_Hedge.h.

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

Definition at line 173 of file GEO_Hedge.h.

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

Definition at line 735 of file GEO_Hedge.h.

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

Definition at line 750 of file GEO_Hedge.h.

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

Definition at line 780 of file GEO_Hedge.h.

SYS_FORCE_INLINE GA_Offset geo_hedge::srcVertex ( GEO_Hedge  h)

Definition at line 166 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 713 of file GEO_Hedge.h.