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 = std::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 86 of file GU_Flatten2.h.

Member Typedef Documentation

Definition at line 89 of file GU_Flatten2.h.

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 145 of file GU_Flatten2.h.

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

Definition at line 133 of file GU_Flatten2.h.

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

Definition at line 142 of file GU_Flatten2.h.

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

Definition at line 130 of file GU_Flatten2.h.

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

Definition at line 149 of file GU_Flatten2.h.

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

Definition at line 107 of file GU_Flatten2.h.

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

Definition at line 155 of file GU_Flatten2.h.

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

Definition at line 116 of file GU_Flatten2.h.

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

Definition at line 120 of file GU_Flatten2.h.

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

Definition at line 98 of file GU_Flatten2.h.

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

Definition at line 101 of file GU_Flatten2.h.

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

Definition at line 124 of file GU_Flatten2.h.

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

Definition at line 139 of file GU_Flatten2.h.

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

Definition at line 127 of file GU_Flatten2.h.

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

Definition at line 136 of file GU_Flatten2.h.

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

Definition at line 104 of file GU_Flatten2.h.

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

Definition at line 113 of file GU_Flatten2.h.

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

Definition at line 110 of file GU_Flatten2.h.


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