HDK
|
#include <GA/GA_Types.h>
#include <UT/UT_Array.h>
#include <UT/UT_Convex.h>
#include <UT/UT_OBBox.h>
#include <UT/UT_Vector3.h>
#include <SYS/SYS_Inline.h>
Go to the source code of this file.
Classes | |
struct | GEO_TriOrQuadT< T > |
class | GEO_TriOrQuadWrapper< POLY > |
Macros | |
#define | __GEO_Convex__ |
Typedefs | |
typedef GEO_TriOrQuadT< GA_Size > | GEO_TriOrQuad |
Functions | |
template<typename POLY > | |
bool | GEOconvexPoly (const POLY &poly, UT_Array< GEO_TriOrQuad > &output, bool keepnonconvexquads=true, bool triangulate=false) |
template<typename POLY > | |
SYS_FORCE_INLINE bool | GEOtriangulatePoly (const POLY &poly, UT_Array< GEO_TriOrQuad > &output) |
#define __GEO_Convex__ |
Definition at line 14 of file GEO_Convex.h.
typedef GEO_TriOrQuadT<GA_Size> GEO_TriOrQuad |
Definition at line 48 of file GEO_Convex.h.
bool GEOconvexPoly | ( | const POLY & | poly, |
UT_Array< GEO_TriOrQuad > & | output, | ||
bool | keepnonconvexquads = true , |
||
bool | triangulate = false |
||
) |
Convexes polygon into tris and quads. Writes to output if polygon needed convexing. Returns true if output was written-to. Mantra keeps non-convex quads and doesn't triangulate, hence the default.
Definition at line 141 of file GEO_Convex.h.
SYS_FORCE_INLINE bool GEOtriangulatePoly | ( | const POLY & | poly, |
UT_Array< GEO_TriOrQuad > & | output | ||
) |
Triangulates polygon. Writes to output if polygon had more than 3 vertices. Returns true if output was written-to.
Definition at line 211 of file GEO_Convex.h.