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

#include <GEO_HedgeInterface.h>

+ Inheritance diagram for GEO_DetachedHedgeInterface:

Public Member Functions

 GEO_DetachedHedgeInterface (const GA_Detail *gdp, const GA_PrimitiveGroup *prims=nullptr, bool exclude_prims=true)
 
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
 
SYS_FORCE_INLINE GEO_Hedge lprevImpl (GEO_Hedge h) const
 
SYS_FORCE_INLINE 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 GEO_Hedge polyHedgeImpl (GA_Offset poly) const
 
SYS_FORCE_INLINE GA_Offset polyNextWithPrevImpl (GA_Offset v, GA_Offset &vprev) const
 
const GEO_PrimitivehedgePrimitive (GEO_Hedge h) const
 
- Public Member Functions inherited from GEO_ConstHedgeInterface< GEO_DetachedHedgeInterface >
virtual ~GEO_ConstHedgeInterface ()=default
 
SYS_FORCE_INLINE const
GEO_DetachedHedgeInterface
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_DetachedHedgeInterface >
 

Additional Inherited Members

- Public Types inherited from GEO_ConstHedgeInterface< GEO_DetachedHedgeInterface >
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 444 of file GEO_HedgeInterface.h.

Constructor & Destructor Documentation

GEO_DetachedHedgeInterface::GEO_DetachedHedgeInterface ( const GA_Detail gdp,
const GA_PrimitiveGroup prims = nullptr,
bool  exclude_prims = true 
)
inlineexplicit

Definition at line 450 of file GEO_HedgeInterface.h.

Member Function Documentation

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

Definition at line 469 of file GEO_HedgeInterface.h.

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

Definition at line 501 of file GEO_HedgeInterface.h.

const GEO_Primitive* GEO_DetachedHedgeInterface::hedgePrimitive ( GEO_Hedge  h) const
bool GEO_DetachedHedgeInterface::isPrimaryImpl ( GEO_Hedge  h) const

Definition at line 1163 of file GEO_HedgeInterface.h.

bool GEO_DetachedHedgeInterface::isValidHedgeImpl ( GEO_Hedge  h) const

Definition at line 1153 of file GEO_HedgeInterface.h.

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

Definition at line 490 of file GEO_HedgeInterface.h.

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

Definition at line 493 of file GEO_HedgeInterface.h.

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

Definition at line 486 of file GEO_HedgeInterface.h.

GEO_Hedge GEO_DetachedHedgeInterface::polyHedgeImpl ( GA_Offset  poly) const

Definition at line 1202 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_DetachedHedgeInterface::polyNextImpl ( GA_Offset  v) const
inline

Definition at line 508 of file GEO_HedgeInterface.h.

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

Definition at line 1194 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GA_Offset GEO_DetachedHedgeInterface::polyPrevImpl ( GA_Offset  v) const
inline

Definition at line 504 of file GEO_HedgeInterface.h.

GEO_Hedge GEO_DetachedHedgeInterface::primaryImpl ( GEO_Hedge  h) const

Definition at line 1186 of file GEO_HedgeInterface.h.

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

Definition at line 466 of file GEO_HedgeInterface.h.

SYS_FORCE_INLINE GEO_Hedge GEO_DetachedHedgeInterface::symImpl ( GEO_Hedge  h) const
inline

Definition at line 497 of file GEO_HedgeInterface.h.

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

Definition at line 472 of file GEO_HedgeInterface.h.

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

Definition at line 476 of file GEO_HedgeInterface.h.

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

Definition at line 482 of file GEO_HedgeInterface.h.

Friends And Related Function Documentation


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