HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_Hedge.h File Reference
#include "GEO_API.h"
#include <GA/GA_Detail.h>
#include <GA/GA_Types.h>
#include <UT/UT_Assert.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <math.h>
+ Include dependency graph for GEO_Hedge.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GEO_Hedge
 GEO_Hedge encapsulates a half-edge (hedge) which is the restriction of. More...
 
class  GEO_SHedge
 

Namespaces

 geo_hedge
 

Macros

#define GEO_INVALID_HEDGE   GEO_Hedge(GA_INVALID_OFFSET)
 An invalid hedge is sometimes returned if an operation is unsuccessful. More...
 
#define GEO_INVALID_SHEDGE   GEO_SHedge(GEO_INVALID_HEDGE, 1)
 GEO_SHedge encapsulates a signed half-edge. It is a half-edge together. More...
 
#define NEG_MASK   (1ll << 62)
 

Functions

GA_Offset geo_hedge::srcVertex (GEO_Hedge)
 
SYS_FORCE_INLINE size_t hash_value (const GEO_Hedge &h)
 
SYS_FORCE_INLINE size_t hash_value (const GEO_SHedge &h)
 
SYS_FORCE_INLINE GA_Offset geo_hedge::srcPoint (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE GA_Offset geo_hedge::hedgePrimitiveOffset (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE const
GA_Primitive
geo_hedge::hedgePrimitive (const GA_Detail *gdp, GEO_Hedge h)
 
SYS_FORCE_INLINE GA_Primitivegeo_hedge::hedgePrimitive (GA_Detail *gdp, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::dstVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::preSrcVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::postDstVertex (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::dstPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::preSrcPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GA_Offset geo_hedge::postDstPoint (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::nextPrimitiveHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::prevPrimitiveHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE GEO_Hedge geo_hedge::coincidentPolyHedge (T &iface, GEO_Hedge h, GA_Offset pt)
 
template<typename T >
SYS_FORCE_INLINE bool geo_hedge::areEquivalent (T &iface, GEO_Hedge h1, GEO_Hedge h2)
 
template<typename T >
SYS_FORCE_INLINE bool geo_hedge::isBoundaryHedge (T &iface, GEO_Hedge h)
 
template<typename T >
bool geo_hedge::isBridgeHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE bool geo_hedge::isManifoldHedge (T &iface, GEO_Hedge h, bool accept_bd)
 
template<typename T >
SYS_FORCE_INLINE GA_Size geo_hedge::numEquivalentHedges (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE bool geo_hedge::areOpposite (T &iface, GEO_Hedge h1, GEO_Hedge h2)
 
template<typename T >
GEO_Hedge geo_hedge::firstIncidentHedge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge geo_hedge::nextIncidentHedge (T &iface, GEO_Hedge h, GA_Offset pt)
 
template<typename T >
GEO_Hedge geo_hedge::firstIncidentEdge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge geo_hedge::nextIncidentEdge (T &iface, GEO_Hedge h, GA_Offset point)
 
template<typename T >
GEO_Hedge geo_hedge::firstOutgoingHedge (T &iface, GA_Offset point)
 
template<typename T >
GEO_Hedge geo_hedge::nextOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::firstIncomingHedge (T &iface, GA_Offset pt)
 
template<typename T >
GEO_Hedge geo_hedge::nextIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::nextManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::prevManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::prevManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::nextManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::firstManifoldOutgoingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::firstManifoldIncomingHedge (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::length (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::vertexAngle (T &iface, GA_Offset v, UT_Vector3 *nml)
 
SYS_FORCE_INLINE UT_Vector3 geo_hedge::srcPos3 (const GA_Detail *gdp, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE UT_Vector3 geo_hedge::dstPos3 (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::srcPrimitiveAngle (T &iface, GEO_Hedge h, UT_Vector3 *nml)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::dstPrimitiveAngle (T &iface, GEO_Hedge h, UT_Vector3 *nml)
 
SYS_FORCE_INLINE fpreal geo_hedge::angleCos (const UT_Vector3 &u, const UT_Vector3 &v)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::srcPrimitiveAngleCos (T &iface, GEO_Hedge h)
 
template<typename T >
SYS_FORCE_INLINE fpreal geo_hedge::dstPrimitiveAngleCos (T &iface, GEO_Hedge h)
 
template<typename T >
GEO_Hedge geo_hedge::findHedgeWithEndpoints (T &iface, GA_Offset p0, GA_Offset p1)
 
template<typename T >
GA_Size geo_hedge::numIncidentEdges (T &iface, GA_Offset pt)
 
template<typename T >
GA_Size geo_hedge::numIncidentHedges (T &iface, GA_Offset pt)
 

Macro Definition Documentation

#define GEO_INVALID_HEDGE   GEO_Hedge(GA_INVALID_OFFSET)

An invalid hedge is sometimes returned if an operation is unsuccessful.

Definition at line 32 of file GEO_Hedge.h.

#define GEO_INVALID_SHEDGE   GEO_SHedge(GEO_INVALID_HEDGE, 1)

GEO_SHedge encapsulates a signed half-edge. It is a half-edge together.

Definition at line 83 of file GEO_Hedge.h.

#define NEG_MASK   (1ll << 62)

Definition at line 84 of file GEO_Hedge.h.

Function Documentation

SYS_FORCE_INLINE size_t hash_value ( const GEO_Hedge h)

Definition at line 72 of file GEO_Hedge.h.

SYS_FORCE_INLINE size_t hash_value ( const GEO_SHedge h)

Definition at line 160 of file GEO_Hedge.h.