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

#include <UT_TriangleMesh.h>

+ Inheritance diagram for UT_TriangleMesh:

Public Member Functions

 UT_TriangleMesh ()=default
 
void build (const UT_IntArray &tri_pts, const UT_IntArray *boundary_edge_pts=nullptr, bool reindex_points=false, const UT_IntArray *hedge_pair_class=nullptr)
 
SYS_FORCE_INLINE int numTriangles () const
 
SYS_FORCE_INLINE int numPoints () const
 
SYS_FORCE_INLINE int numHedges () const
 
SYS_FORCE_INLINE int numVertices () const
 
SYS_FORCE_INLINE int triangleHedge (int t, int j=0) const
 
SYS_FORCE_INLINE int triangleVertex (int t, int j=0) const
 
SYS_FORCE_INLINE int hedgeTriangle (int h) const
 
SYS_FORCE_INLINE int vertexTriangle (int v) const
 
SYS_FORCE_INLINE int trianglePoint (int t, int j=0) const
 
SYS_FORCE_INLINE int srcVertex (int h) const
 
SYS_FORCE_INLINE int dstVertex (int h) const
 
SYS_FORCE_INLINE int apxVertex (int h) const
 
SYS_FORCE_INLINE int onext (int h) const
 
SYS_FORCE_INLINE int vertexPoint (int v) const
 
SYS_FORCE_INLINE int srcPoint (int h) const
 
SYS_FORCE_INLINE int dstPoint (int h) const
 
SYS_FORCE_INLINE int apxPoint (int h) const
 
SYS_FORCE_INLINE int lnext (int h) const
 
SYS_FORCE_INLINE int lprev (int h) const
 
SYS_FORCE_INLINE int sym (int h) const
 
SYS_FORCE_INLINE int pointVertex (int p) const
 
SYS_FORCE_INLINE int pointHedge (int p) const
 
SYS_FORCE_INLINE bool isBoundaryHedge (int h) const
 
SYS_FORCE_INLINE bool isBoundaryPoint (int p) const
 
SYS_FORCE_INLINE int numBoundaries () const
 
SYS_FORCE_INLINE int boundaryHedge (int comp) const
 
SYS_FORCE_INLINE int hedgeBoundary (int h) const
 
void traceBoundary (int h0, UT_IntArray &bd) const
 
int numInteriorHedges () const
 
int numBoundaryHedges () const
 
int numBoundaryPoints () const
 
int numInteriorPoints () const
 
int numEdges () const
 
int eulerCharacteristic () const
 

Detailed Description

Definition at line 51 of file UT_TriangleMesh.h.

Constructor & Destructor Documentation

UT_TriangleMesh::UT_TriangleMesh ( )
default

Member Function Documentation

SYS_FORCE_INLINE int UT_TriangleMesh::apxPoint ( int  h) const
inline

Definition at line 159 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::apxVertex ( int  h) const
inline

Definition at line 140 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::boundaryHedge ( int  comp) const
inline

Definition at line 191 of file UT_TriangleMesh.h.

void UT_TriangleMesh::build ( const UT_IntArray tri_pts,
const UT_IntArray boundary_edge_pts = nullptr,
bool  reindex_points = false,
const UT_IntArray hedge_pair_class = nullptr 
)
SYS_FORCE_INLINE int UT_TriangleMesh::dstPoint ( int  h) const
inline

Definition at line 155 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::dstVertex ( int  h) const
inline

Definition at line 136 of file UT_TriangleMesh.h.

int UT_TriangleMesh::eulerCharacteristic ( ) const
inline

Definition at line 219 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::hedgeBoundary ( int  h) const
inline

Definition at line 197 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::hedgeTriangle ( int  h) const
inline

Definition at line 120 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE bool UT_TriangleMesh::isBoundaryHedge ( int  h) const
inline

Definition at line 178 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE bool UT_TriangleMesh::isBoundaryPoint ( int  p) const
inline

Definition at line 181 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::lnext ( int  h) const
inline

Definition at line 163 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::lprev ( int  h) const
inline

Definition at line 166 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::numBoundaries ( ) const
inline

Definition at line 186 of file UT_TriangleMesh.h.

int UT_TriangleMesh::numBoundaryHedges ( ) const
inline

Definition at line 206 of file UT_TriangleMesh.h.

int UT_TriangleMesh::numBoundaryPoints ( ) const
inline

Definition at line 209 of file UT_TriangleMesh.h.

int UT_TriangleMesh::numEdges ( ) const
inline

Definition at line 215 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::numHedges ( ) const
inline

Definition at line 103 of file UT_TriangleMesh.h.

int UT_TriangleMesh::numInteriorHedges ( ) const
inline

Definition at line 203 of file UT_TriangleMesh.h.

int UT_TriangleMesh::numInteriorPoints ( ) const
inline

Definition at line 212 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::numPoints ( ) const
inline

Definition at line 99 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::numTriangles ( ) const
inline

Definition at line 95 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::numVertices ( ) const
inline

Definition at line 106 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::onext ( int  h) const
inline

Definition at line 144 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::pointHedge ( int  p) const
inline

Definition at line 175 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::pointVertex ( int  p) const
inline

Definition at line 172 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::srcPoint ( int  h) const
inline

Definition at line 151 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::srcVertex ( int  h) const
inline

Definition at line 133 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::sym ( int  h) const
inline

Definition at line 169 of file UT_TriangleMesh.h.

void UT_TriangleMesh::traceBoundary ( int  h0,
UT_IntArray bd 
) const
SYS_FORCE_INLINE int UT_TriangleMesh::triangleHedge ( int  t,
int  j = 0 
) const
inline

Definition at line 110 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::trianglePoint ( int  t,
int  j = 0 
) const
inline

Definition at line 129 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::triangleVertex ( int  t,
int  j = 0 
) const
inline

Definition at line 115 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::vertexPoint ( int  v) const
inline

Definition at line 147 of file UT_TriangleMesh.h.

SYS_FORCE_INLINE int UT_TriangleMesh::vertexTriangle ( int  v) const
inline

Definition at line 124 of file UT_TriangleMesh.h.


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