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 22 of file GEO_HedgeInterface.h.

Member Typedef Documentation

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

Definition at line 28 of file GEO_HedgeInterface.h.

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

Definition at line 25 of file GEO_HedgeInterface.h.

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

Definition at line 26 of file GEO_HedgeInterface.h.

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

Definition at line 29 of file GEO_HedgeInterface.h.

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

Definition at line 27 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 339 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 343 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 332 of file GEO_HedgeInterface.h.

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

Definition at line 335 of file GEO_HedgeInterface.h.

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

Definition at line 34 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 205 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 230 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 218 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 133 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 382 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 280 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 291 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 304 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 53 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 371 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 267 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 161 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 151 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 177 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 201 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 235 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 169 of file GEO_HedgeInterface.h.

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

Definition at line 90 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 112 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 405 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 284 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 321 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 327 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 316 of file GEO_HedgeInterface.h.

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

Definition at line 44 of file GEO_HedgeInterface.h.

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

Definition at line 41 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 184 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 272 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 73 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 77 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 397 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 164 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 155 of file GEO_HedgeInterface.h.

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

Definition at line 180 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 226 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 259 of file GEO_HedgeInterface.h.

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

Definition at line 172 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 409 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 421 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 347 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 352 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 356 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 239 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 263 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 251 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 425 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 64 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 106 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 98 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 102 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 94 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 143 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 123 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 138 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 118 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 214 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 247 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 413 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 417 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 47 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 386 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 401 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 127 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 377 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 276 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 299 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 308 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 50 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 365 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 86 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 56 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 68 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 60 of file GEO_HedgeInterface.h.


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