HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_ConstHedgeInterface< DERIVED > Class Template Reference

#include <GEO_HedgeInterface.h>

Public Types

using Point = GA_Offset
 
using Poly = GA_Offset
 
using Vertex = GA_Offset
 
using Hedge = GEO_Hedge
 
using SHedge = GEO_SHedge
 

Public Member Functions

virtual ~GEO_ConstHedgeInterface ()=default
 
SYS_FORCE_INLINE const DERIVED & derived () const
 
SYS_FORCE_INLINE bool isValidHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE bool isPrimary (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge primary (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset srcVertex (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset dstVertex (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset vertexPoint (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset vertexToNextVertex (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset pointVertex (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset vertexPrimitive (GA_Offset vtx) const
 
SYS_FORCE_INLINE GEO_Hedge lnext (GEO_Hedge h) const
 Returns the next hedge in poly of h. More...
 
SYS_FORCE_INLINE GEO_Hedge lprev (GEO_Hedge e) const
 Returns the previous hedge in poly of h. More...
 
SYS_FORCE_INLINE GEO_Hedge sym (GEO_Hedge e) const
 
SYS_FORCE_INLINE const GA_DetailgetDetail () const
 
SYS_FORCE_INLINE GA_Offset polyPrev (GA_Offset v) const
 
SYS_FORCE_INLINE GA_Offset polyNext (GA_Offset v) const
 
SYS_FORCE_INLINE GA_Offset polyNext (GA_Offset v, GA_Offset &vprev) const
 
SYS_FORCE_INLINE GEO_Hedge polyHedge (GA_Offset poly) const
 
SYS_FORCE_INLINE GA_Offset hedgePoly (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset preSrcVertex (GEO_Hedge h) const
 
GA_Offset postDstVertex (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset srcPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset dstPoint (GEO_Hedge h) const
 Returns the point to which the dst vertex is wired. More...
 
SYS_FORCE_INLINE GA_Offset preSrcPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset postDstPoint (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge firstIncidentHedge (GA_Offset pt) const
 
SYS_FORCE_INLINE GEO_Hedge nextIncidentHedge (GEO_Hedge h, GA_Offset pt) const
 
GEO_Hedge firstIncidentEdge (GA_Offset pt) const
 
GEO_Hedge nextIncidentEdge (GEO_Hedge e, GA_Offset pt) const
 
GEO_Hedge firstOutgoingHedge (GA_Offset pt) const
 
GEO_Hedge nextOutgoingHedge (GEO_Hedge e) const
 
GEO_Hedge firstIncomingHedge (GA_Offset pt) const
 
GEO_Hedge nextIncomingHedge (GEO_Hedge e) const
 
SYS_FORCE_INLINE GEO_Hedge lcoincident (GEO_Hedge h, GA_Offset pt) const
 
GEO_Hedge firstManifoldIncomingHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge dfirst (GEO_Hedge h) const
 
GEO_Hedge prevManifoldIncomingHedge (GEO_Hedge e) const
 
SYS_FORCE_INLINE GEO_Hedge dprev (GEO_Hedge e) const
 
GEO_Hedge nextManifoldIncomingHedge (GEO_Hedge e) const
 
SYS_FORCE_INLINE GEO_Hedge dnext (GEO_Hedge e) const
 
GEO_Hedge firstManifoldOutgoingHedge (GEO_Hedge e) const
 
SYS_FORCE_INLINE GEO_Hedge ofirst (GEO_Hedge e) const
 
GEO_Hedge prevManifoldOutgoingHedge (GEO_Hedge e) const
 Returns the previous hedge with the same src as e in a counterclockwise. More...
 
SYS_FORCE_INLINE GEO_Hedge oprev (GEO_Hedge e) const
 
GEO_Hedge nextManifoldOutgoingHedge (GEO_Hedge e) const
 
SYS_FORCE_INLINE GEO_Hedge onext (GEO_Hedge e) const
 
GEO_Hedge findHedgeWithEndpoints (GA_Offset p0, GA_Offset p1) const
 Find a hedge with the given endpoints or return GEO_INVLAID_HEDGE. More...
 
fpreal length (GEO_Hedge e) const
 
UT_Vector3 srcPos3 (GEO_Hedge e) const
 Returns the positions of the source point of e. More...
 
UT_Vector3 dstPos3 (GEO_Hedge e) const
 Returns the positions of the destination point of e. More...
 
UT_Vector3 hedgeVector (GEO_Hedge e) const
 Returns the vector defined by the end-points of e. More...
 
fpreal dstPrimitiveAngle (GEO_Hedge h, UT_Vector3 *nml=nullptr) const
 
fpreal srcPrimitiveAngle (GEO_Hedge h, UT_Vector3 *nml=nullptr) const
 
fpreal dstPrimitiveAngleCos (GEO_Hedge e) const
 Returns the primitives angle at dst of the hedge. More...
 
fpreal srcPrimitiveAngleCos (GEO_Hedge e) const
 Returns the primitives angle at src of the hedge. More...
 
bool isManifoldHedge (GEO_Hedge e, bool accept_bd=false) const
 
bool isBoundaryHedge (GEO_Hedge e) const
 
bool isBridgeHedge (GEO_Hedge e) const
 
bool areOpposite (GEO_Hedge e1, GEO_Hedge e2) const
 
bool areOpposite (GEO_SHedge e1, GEO_SHedge e2) const
 
bool areEquivalent (GEO_Hedge e1, GEO_Hedge e2) const
 Returns true if e1 and e2 are equivalent hedges. More...
 
bool areEquivalent (GEO_SHedge e1, GEO_SHedge e2) const
 Returns true if e1 and e2 are equivalent signed hedges. More...
 
GA_Size numEquivalentHedges (GEO_Hedge e) const
 Returns the number of hedges in the equivalence class of e. More...
 
GA_Size numIncidentEdges (GA_Offset pt) const
 
GA_Size numIncidentHedges (GA_Offset pt) const
 Returns the number of distinct hedges incident to pt. More...
 
SYS_FORCE_INLINE GA_Offset srcVertex (const GEO_SHedge &sh) const
 Returns the source vertex of a signed hedge. More...
 
SYS_FORCE_INLINE GA_Offset dstVertex (const GEO_SHedge &sh) const
 Returns the destination vertex of a signed hedge. More...
 
SYS_FORCE_INLINE GA_Offset srcPoint (GEO_SHedge sh) const
 Returns the src vertex of a signed hedge. More...
 
SYS_FORCE_INLINE GA_Offset dstPoint (GEO_SHedge sh) const
 Returns the src vertex of a signed hedge. More...
 
SYS_FORCE_INLINE GEO_SHedge primary (GEO_SHedge sh) const
 
SYS_FORCE_INLINE GEO_Hedge nextEquivalentHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge primaryEquivalentHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset hedgePrimitiveOffset (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge nextPrimitiveHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge prevPrimitiveHedge (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset prevPrimVertex (GA_Offset v) const
 
SYS_FORCE_INLINE GA_Offset nextPrimVertex (GA_Offset v) const
 
SYS_FORCE_INLINE GEO_Hedge otherPrimitiveHedgeAtPoint (GEO_Hedge h, GA_Offset pt) const
 

Detailed Description

template<typename DERIVED>
class GEO_ConstHedgeInterface< DERIVED >

Definition at line 24 of file GEO_HedgeInterface.h.

Member Typedef Documentation

template<typename DERIVED>
using GEO_ConstHedgeInterface< DERIVED >::Hedge = GEO_Hedge

Definition at line 30 of file GEO_HedgeInterface.h.

template<typename DERIVED>
using GEO_ConstHedgeInterface< DERIVED >::Point = GA_Offset

Definition at line 27 of file GEO_HedgeInterface.h.

template<typename DERIVED>
using GEO_ConstHedgeInterface< DERIVED >::Poly = GA_Offset

Definition at line 28 of file GEO_HedgeInterface.h.

template<typename DERIVED>
using GEO_ConstHedgeInterface< DERIVED >::SHedge = GEO_SHedge

Definition at line 31 of file GEO_HedgeInterface.h.

template<typename DERIVED>
using GEO_ConstHedgeInterface< DERIVED >::Vertex = GA_Offset

Definition at line 29 of file GEO_HedgeInterface.h.

Constructor & Destructor Documentation

template<typename DERIVED>
virtual GEO_ConstHedgeInterface< DERIVED >::~GEO_ConstHedgeInterface ( )
virtualdefault

Member Function Documentation

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::areEquivalent ( GEO_Hedge  e1,
GEO_Hedge  e2 
) const
inline

Returns true if e1 and e2 are equivalent hedges.

Definition at line 341 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::areEquivalent ( GEO_SHedge  e1,
GEO_SHedge  e2 
) const
inline

Returns true if e1 and e2 are equivalent signed hedges.

Definition at line 345 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::areOpposite ( GEO_Hedge  e1,
GEO_Hedge  e2 
) const
inline

Returns true if e1 and e2 are equivalent hedges with opposite orientation.

Definition at line 334 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::areOpposite ( GEO_SHedge  e1,
GEO_SHedge  e2 
) const
inline

Definition at line 337 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE const DERIVED& GEO_ConstHedgeInterface< DERIVED >::derived ( ) const
inline

Definition at line 36 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::dfirst ( GEO_Hedge  h) const
inline

Definition at line 207 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::dnext ( GEO_Hedge  e) const
inline

Definition at line 232 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::dprev ( GEO_Hedge  e) const
inline

Definition at line 220 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::dstPoint ( GEO_Hedge  h) const
inline

Returns the point to which the dst vertex is wired.

Definition at line 135 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::dstPoint ( GEO_SHedge  sh) const
inline

Returns the src vertex of a signed hedge.

Definition at line 384 of file GEO_HedgeInterface.h.

template<typename DERIVED>
UT_Vector3 GEO_ConstHedgeInterface< DERIVED >::dstPos3 ( GEO_Hedge  e) const
inline

Returns the positions of the destination point of e.

Definition at line 282 of file GEO_HedgeInterface.h.

template<typename DERIVED>
fpreal GEO_ConstHedgeInterface< DERIVED >::dstPrimitiveAngle ( GEO_Hedge  h,
UT_Vector3 nml = nullptr 
) const
inline

Returns the primitives angle at dst of the hedge. NB. If the angle in question is reflex, then its 2*pi complement is returned unless the normal of the primitive that contains e is passed using the optional nml parameter.

Definition at line 293 of file GEO_HedgeInterface.h.

template<typename DERIVED>
fpreal GEO_ConstHedgeInterface< DERIVED >::dstPrimitiveAngleCos ( GEO_Hedge  e) const
inline

Returns the primitives angle at dst of the hedge.

Definition at line 306 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::dstVertex ( GEO_Hedge  h) const
inline

Definition at line 55 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::dstVertex ( const GEO_SHedge sh) const
inline

Returns the destination vertex of a signed hedge.

Definition at line 373 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::findHedgeWithEndpoints ( GA_Offset  p0,
GA_Offset  p1 
) const
inline

Find a hedge with the given endpoints or return GEO_INVLAID_HEDGE.

Definition at line 269 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstIncidentEdge ( GA_Offset  pt) const
inline

Similar to first/nextIncidentHedge but stops over only one of the hedges (the primary) in each equivalence class of hedges incident to the point.

Definition at line 163 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstIncidentHedge ( GA_Offset  pt) const
inline

Returns a first incidentHedge to a point. Together with nextIncidentHedge, one can enumerate circularly over all hedges incident to a point.

Definition at line 153 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstIncomingHedge ( GA_Offset  pt) const
inline

Similar to first/nextIncidentHedge but using only incoming hedges. Note that nextOutgoingHedge does not need the parameter pt anymore.

Definition at line 179 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstManifoldIncomingHedge ( GEO_Hedge  h) const
inline

A "manifold scan" around a point moves from one incoming (resp outgoing hedge incident to a point to the next in counterclockwise order as long as the hedge in question is a manifold hedge (i.e. it is equivalent to exactly one other hedge oriented oppositely). Returns the first hedge with the same dst as h that is reachable from e through a counterclockwise manifold scan around dst of e. Returns e itself if either: 1) e is already the first such hedge, or 2) the src of e is an interior point of a manifold, ie the counterclockwise scan reaches back at e.

Definition at line 203 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstManifoldOutgoingHedge ( GEO_Hedge  e) const
inline

Similar to firstManifoldIncomingHedge but finds the first hedge with the same src as e in a counterclockwise scan from e.

Definition at line 237 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::firstOutgoingHedge ( GA_Offset  pt) const
inline

Similar to first/nextIncidentHedge but using only outgoing hedges. Note that nextOutgoingHedge does not need the parameter pt anymore.

Definition at line 171 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE const GA_Detail* GEO_ConstHedgeInterface< DERIVED >::getDetail ( ) const
inline

Definition at line 92 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::hedgePoly ( GEO_Hedge  h) const
inline

Definition at line 114 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::hedgePrimitiveOffset ( GEO_Hedge  h) const
inline

Definition at line 407 of file GEO_HedgeInterface.h.

template<typename DERIVED>
UT_Vector3 GEO_ConstHedgeInterface< DERIVED >::hedgeVector ( GEO_Hedge  e) const
inline

Returns the vector defined by the end-points of e.

Definition at line 286 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::isBoundaryHedge ( GEO_Hedge  e) const
inline

Returns true if the hedge e is a boundary hedge, i.e. if its equivalence class is singleton.

Definition at line 323 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::isBridgeHedge ( GEO_Hedge  e) const
inline

Returns true if the hedge e is a bridge hedge, i.e. if is a manifold hedge and its other equivalent hedge belongs to the same primitive as e does.

Definition at line 329 of file GEO_HedgeInterface.h.

template<typename DERIVED>
bool GEO_ConstHedgeInterface< DERIVED >::isManifoldHedge ( GEO_Hedge  e,
bool  accept_bd = false 
) const
inline

Returns true if the hedge e is a manifold hedge, if accept_bd is false, this means that the equivalence class of e consists of exactly two hedges oriented oppositely. If accept_bd is true, then the equivalence class of e can also consist of a single (boundary) half-edge.

Definition at line 318 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE bool GEO_ConstHedgeInterface< DERIVED >::isPrimary ( GEO_Hedge  h) const
inline

Definition at line 46 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE bool GEO_ConstHedgeInterface< DERIVED >::isValidHedge ( GEO_Hedge  h) const
inline

Definition at line 43 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::lcoincident ( GEO_Hedge  h,
GA_Offset  pt 
) const
inline

Definition at line 186 of file GEO_HedgeInterface.h.

template<typename DERIVED>
fpreal GEO_ConstHedgeInterface< DERIVED >::length ( GEO_Hedge  e) const
inline

Returns the length of the hedge e. Note that it requires the endpoints of e to be determiend.

Definition at line 274 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::lnext ( GEO_Hedge  h) const
inline

Returns the next hedge in poly of h.

Definition at line 75 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::lprev ( GEO_Hedge  e) const
inline

Returns the previous hedge in poly of h.

Definition at line 79 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextEquivalentHedge ( GEO_Hedge  h) const
inline

Definition at line 399 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextIncidentEdge ( GEO_Hedge  e,
GA_Offset  pt 
) const
inline

Definition at line 166 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextIncidentHedge ( GEO_Hedge  h,
GA_Offset  pt 
) const
inline

Definition at line 157 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextIncomingHedge ( GEO_Hedge  e) const
inline

Definition at line 182 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextManifoldIncomingHedge ( GEO_Hedge  e) const
inline

Returns the next hedge with the same dst as e in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.

NOTE: This is equivalent to dnext() operation in Quad-Edge terminology, which is also used in GQ.

Definition at line 228 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextManifoldOutgoingHedge ( GEO_Hedge  e) const
inline

Returns the next hedge with the same src as e in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.

NOTE: This is equivalent to onext() operation in Quad-Edge terminology, which is also used in GQ.

Definition at line 261 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextOutgoingHedge ( GEO_Hedge  e) const
inline

Definition at line 174 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::nextPrimitiveHedge ( GEO_Hedge  h) const
inline

Definition at line 411 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::nextPrimVertex ( GA_Offset  v) const
inline

Definition at line 423 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GA_Size GEO_ConstHedgeInterface< DERIVED >::numEquivalentHedges ( GEO_Hedge  e) const
inline

Returns the number of hedges in the equivalence class of e.

Definition at line 349 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GA_Size GEO_ConstHedgeInterface< DERIVED >::numIncidentEdges ( GA_Offset  pt) const
inline

Returns the number if edges incident to a point (equivalent hedges count as 1).

Definition at line 354 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GA_Size GEO_ConstHedgeInterface< DERIVED >::numIncidentHedges ( GA_Offset  pt) const
inline

Returns the number of distinct hedges incident to pt.

Definition at line 358 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::ofirst ( GEO_Hedge  e) const
inline

Definition at line 241 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::onext ( GEO_Hedge  e) const
inline

Definition at line 265 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::oprev ( GEO_Hedge  e) const
inline

Definition at line 253 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::otherPrimitiveHedgeAtPoint ( GEO_Hedge  h,
GA_Offset  pt 
) const
inline

Definition at line 427 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::pointVertex ( GA_Offset  vtx) const
inline

Definition at line 66 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::polyHedge ( GA_Offset  poly) const
inline

Definition at line 108 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::polyNext ( GA_Offset  v) const
inline

Definition at line 100 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::polyNext ( GA_Offset  v,
GA_Offset vprev 
) const
inline

Definition at line 104 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::polyPrev ( GA_Offset  v) const
inline

Definition at line 96 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::postDstPoint ( GEO_Hedge  h) const
inline
See Also
: postDstVertex()

Definition at line 145 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GA_Offset GEO_ConstHedgeInterface< DERIVED >::postDstVertex ( GEO_Hedge  h) const
inline

Returns the vertex after the destination vertex of the hedge in the poly of the hedge.

Definition at line 125 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::preSrcPoint ( GEO_Hedge  h) const
inline
See Also
: preSrcVertex()

Definition at line 140 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::preSrcVertex ( GEO_Hedge  h) const
inline

Returns the vertex before the source vertex of the hedge in the poly of the hedge.

Definition at line 120 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::prevManifoldIncomingHedge ( GEO_Hedge  e) const
inline

Returns the previous hedge with the same dst as h in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.

NOTE: This is equivalent to dprev() operation in Quad-Edge terminology, which is also used in GQ.

Definition at line 216 of file GEO_HedgeInterface.h.

template<typename DERIVED>
GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::prevManifoldOutgoingHedge ( GEO_Hedge  e) const
inline

Returns the previous hedge with the same src as e in a counterclockwise.

NOTE: This is equivalent to oprev() operation in Quad-Edge terminology, which is also used in GQ.

Definition at line 249 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::prevPrimitiveHedge ( GEO_Hedge  h) const
inline

Definition at line 415 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::prevPrimVertex ( GA_Offset  v) const
inline

Definition at line 419 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::primary ( GEO_Hedge  h) const
inline

Definition at line 49 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_SHedge GEO_ConstHedgeInterface< DERIVED >::primary ( GEO_SHedge  sh) const
inline

Definition at line 388 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::primaryEquivalentHedge ( GEO_Hedge  h) const
inline

Definition at line 403 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::srcPoint ( GEO_Hedge  h) const
inline

Definition at line 129 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::srcPoint ( GEO_SHedge  sh) const
inline

Returns the src vertex of a signed hedge.

Definition at line 379 of file GEO_HedgeInterface.h.

template<typename DERIVED>
UT_Vector3 GEO_ConstHedgeInterface< DERIVED >::srcPos3 ( GEO_Hedge  e) const
inline

Returns the positions of the source point of e.

Definition at line 278 of file GEO_HedgeInterface.h.

template<typename DERIVED>
fpreal GEO_ConstHedgeInterface< DERIVED >::srcPrimitiveAngle ( GEO_Hedge  h,
UT_Vector3 nml = nullptr 
) const
inline

Returns the primitives angle at src of the hedge NB. If the angle in question is reflex, then its 2*pi complement is returned unless the normal of the primitive that contains e is passed using the optional nml parameter.

Definition at line 301 of file GEO_HedgeInterface.h.

template<typename DERIVED>
fpreal GEO_ConstHedgeInterface< DERIVED >::srcPrimitiveAngleCos ( GEO_Hedge  e) const
inline

Returns the primitives angle at src of the hedge.

Definition at line 310 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::srcVertex ( GEO_Hedge  h) const
inline

Definition at line 52 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::srcVertex ( const GEO_SHedge sh) const
inline

Returns the source vertex of a signed hedge.

Definition at line 367 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GEO_Hedge GEO_ConstHedgeInterface< DERIVED >::sym ( GEO_Hedge  e) const
inline

Returns the "next" equivalent (sym) hedge to h: Two hedges are equivalent if they have the same set of two points wired to their source and destination (regardless of which). Calling sym() repeatedly cycles through the equivalence class and returns back to the original hedge.

Definition at line 88 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::vertexPoint ( GA_Offset  vtx) const
inline

Definition at line 58 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::vertexPrimitive ( GA_Offset  vtx) const
inline

Definition at line 70 of file GEO_HedgeInterface.h.

template<typename DERIVED>
SYS_FORCE_INLINE GA_Offset GEO_ConstHedgeInterface< DERIVED >::vertexToNextVertex ( GA_Offset  vtx) const
inline

Definition at line 62 of file GEO_HedgeInterface.h.


The documentation for this class was generated from the following file: