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

#include <GU_Flatten2.h>

Public Types

using GetPos3Func = UT_Function< UT_Vector3R(GA_Offset)>
 

Public Member Functions

 Triangulation (const GU_Detail *gdp, const GA_OffsetArray &polys, const GA_EdgeGroup *seams=nullptr, const GetPos3Func &get_pos3=nullptr, UT_Vector3R *centroid=nullptr)
 
SYS_FORCE_INLINE int numTriangles () const
 
SYS_FORCE_INLINE int numTriHedges () const
 
SYS_FORCE_INLINE int triHedge (int i, int j=0) const
 
SYS_FORCE_INLINE int hedgeTri (int i) const
 
SYS_FORCE_INLINE GA_Offset triVertex (int i, int j=0) const
 
SYS_FORCE_INLINE GA_Offset triPoint (int i, int j=0) const
 
SYS_FORCE_INLINE int lnext (int i) const
 
SYS_FORCE_INLINE int lprev (int i) const
 
SYS_FORCE_INLINE int onext (int i) const
 
SYS_FORCE_INLINE GA_Offset srcVertex (int i) const
 
SYS_FORCE_INLINE GA_Offset dstVertex (int i) const
 
SYS_FORCE_INLINE GA_Offset apxVertex (int i) const
 
SYS_FORCE_INLINE int sym (int i) const
 
SYS_FORCE_INLINE GA_Offset srcPoint (int i) const
 
SYS_FORCE_INLINE GA_Offset dstPoint (int i) const
 
SYS_FORCE_INLINE GA_Offset apxPoint (int i) const
 
SYS_FORCE_INLINE GA_Offset hedgePoly (int i) const
 
SYS_FORCE_INLINE bool isDiagonal (int i) const
 

Detailed Description

Definition at line 87 of file GU_Flatten2.h.

Member Typedef Documentation

Constructor & Destructor Documentation

GU_Flatten2::Triangulation::Triangulation ( const GU_Detail gdp,
const GA_OffsetArray polys,
const GA_EdgeGroup seams = nullptr,
const GetPos3Func get_pos3 = nullptr,
UT_Vector3R centroid = nullptr 
)

Member Function Documentation

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::apxPoint ( int  i) const
inline

Definition at line 146 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::apxVertex ( int  i) const
inline

Definition at line 134 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::dstPoint ( int  i) const
inline

Definition at line 143 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::dstVertex ( int  i) const
inline

Definition at line 131 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::hedgePoly ( int  i) const
inline

Definition at line 150 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::hedgeTri ( int  i) const
inline

Definition at line 108 of file GU_Flatten2.h.

SYS_FORCE_INLINE bool GU_Flatten2::Triangulation::isDiagonal ( int  i) const
inline

Definition at line 156 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::lnext ( int  i) const
inline

Definition at line 117 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::lprev ( int  i) const
inline

Definition at line 121 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::numTriangles ( ) const
inline

Definition at line 99 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::numTriHedges ( ) const
inline

Definition at line 102 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::onext ( int  i) const
inline

Definition at line 125 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::srcPoint ( int  i) const
inline

Definition at line 140 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::srcVertex ( int  i) const
inline

Definition at line 128 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::sym ( int  i) const
inline

Definition at line 137 of file GU_Flatten2.h.

SYS_FORCE_INLINE int GU_Flatten2::Triangulation::triHedge ( int  i,
int  j = 0 
) const
inline

Definition at line 105 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::triPoint ( int  i,
int  j = 0 
) const
inline

Definition at line 114 of file GU_Flatten2.h.

SYS_FORCE_INLINE GA_Offset GU_Flatten2::Triangulation::triVertex ( int  i,
int  j = 0 
) const
inline

Definition at line 111 of file GU_Flatten2.h.


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