HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_UncachedHedgeInterface Class Reference

#include <GEO_HedgeInterface.h>

+ Inheritance diagram for GEO_UncachedHedgeInterface:

Public Member Functions

 GEO_UncachedHedgeInterface (const GA_Detail *gdp, const GA_PrimitiveGroup *prims=nullptr)
 
SYS_FORCE_INLINE bool isValidHedgeImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE bool isPrimaryImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE GEO_Hedge primaryImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset srcVertexImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset dstVertexImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE GA_Offset vertexPointImpl (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset vertexPrimitiveImpl (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset vertexToNextVertexImpl (GA_Offset vtx) const
 
SYS_FORCE_INLINE GA_Offset pointVertexImpl (GA_Offset vtx) const
 
SYS_FORCE_INLINE GEO_Hedge lnextImpl (GEO_Hedge h) const
 Returns the next hedge in poly of h. More...
 
SYS_FORCE_INLINE GEO_Hedge lprevImpl (GEO_Hedge h) const
 Returns the previous hedge in poly of h. More...
 
GEO_Hedge symImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE const GA_DetailgetDetailImpl () const
 
SYS_FORCE_INLINE GA_Offset polyPrevImpl (GA_Offset v) const
 
SYS_FORCE_INLINE GA_Offset polyNextImpl (GA_Offset v) const
 
SYS_FORCE_INLINE GA_Offset polyNextWithPrevImpl (GA_Offset v, GA_Offset &vprev) const
 
SYS_FORCE_INLINE GEO_Hedge polyHedgeImpl (GA_Offset poly) const
 
- Public Member Functions inherited from GEO_ConstHedgeInterface< GEO_UncachedHedgeInterface >
virtual ~GEO_ConstHedgeInterface ()=default
 
SYS_FORCE_INLINE const
GEO_UncachedHedgeInterface
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 GEO_SHedge primary (GEO_SHedge sh) const
 
SYS_FORCE_INLINE GA_Offset srcVertex (GEO_Hedge h) const
 
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 (GEO_Hedge h) const
 
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 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 srcPoint (GEO_SHedge sh) const
 Returns the src vertex of a signed hedge. More...
 
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 dstPoint (GEO_SHedge sh) const
 Returns the src vertex of a signed hedge. 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 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
 

Friends

class GEO_ConstHedgeInterface< GEO_UncachedHedgeInterface >
 

Additional Inherited Members

- Public Types inherited from GEO_ConstHedgeInterface< GEO_UncachedHedgeInterface >
using Point = GA_Offset
 
using Poly = GA_Offset
 
using Vertex = GA_Offset
 
using Hedge = GEO_Hedge
 
using SHedge = GEO_SHedge
 

Detailed Description

Definition at line 532 of file GEO_HedgeInterface.h.

Constructor & Destructor Documentation

GEO_UncachedHedgeInterface::GEO_UncachedHedgeInterface ( const GA_Detail gdp,
const GA_PrimitiveGroup prims = nullptr 
)
explicit

Member Function Documentation

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::dstVertexImpl ( GEO_Hedge  h) const
inline

Definition at line 556 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE const GA_Detail* GEO_UncachedHedgeInterface::getDetailImpl ( ) const
inline

Definition at line 593 of file GEO_HedgeInterface.h.

bool GEO_UncachedHedgeInterface::isPrimaryImpl ( GEO_Hedge  h) const

Definition at line 1216 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE bool GEO_UncachedHedgeInterface::isValidHedgeImpl ( GEO_Hedge  h) const
inline

Definition at line 542 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GEO_Hedge GEO_UncachedHedgeInterface::lnextImpl ( GEO_Hedge  h) const
inline

Returns the next hedge in poly of h.

Definition at line 578 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GEO_Hedge GEO_UncachedHedgeInterface::lprevImpl ( GEO_Hedge  h) const
inline

Returns the previous hedge in poly of h.

Definition at line 582 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::pointVertexImpl ( GA_Offset  vtx) const
inline

Definition at line 573 of file GEO_HedgeInterface.h.

GEO_Hedge GEO_UncachedHedgeInterface::polyHedgeImpl ( GA_Offset  poly) const

Definition at line 1266 of file GEO_HedgeInterface.h.

GA_Offset GEO_UncachedHedgeInterface::polyNextImpl ( GA_Offset  v) const

Definition at line 1238 of file GEO_HedgeInterface.h.

GA_Offset GEO_UncachedHedgeInterface::polyNextWithPrevImpl ( GA_Offset  v,
GA_Offset vprev 
) const

Definition at line 1255 of file GEO_HedgeInterface.h.

GA_Offset GEO_UncachedHedgeInterface::polyPrevImpl ( GA_Offset  v) const

Definition at line 1246 of file GEO_HedgeInterface.h.

GEO_Hedge GEO_UncachedHedgeInterface::primaryImpl ( GEO_Hedge  h) const

Definition at line 1227 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::srcVertexImpl ( GEO_Hedge  h) const
inline

Definition at line 553 of file GEO_HedgeInterface.h.

GEO_Hedge GEO_UncachedHedgeInterface::symImpl ( GEO_Hedge  h) const

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.

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::vertexPointImpl ( GA_Offset  vtx) const
inline

Definition at line 559 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::vertexPrimitiveImpl ( GA_Offset  vtx) const
inline

Definition at line 563 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_UncachedHedgeInterface::vertexToNextVertexImpl ( GA_Offset  vtx) const
inline

Definition at line 569 of file GEO_HedgeInterface.h.

Friends And Related Function Documentation


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