3ds Max C++ API Reference
triangulate.h File Reference
#include "GeomExport.h"
#include "maxheap.h"
#include "tab.h"
#include <cstdint>

Classes

class  BufferProxy< ElementType >
 

Namespaces

 MaxSDK
 

Functions

void SortPolygonDiagonals (int dnum, int *diag)
 Puts diagonals in increase-by-last-index, decrease-by-first order. More...
 
void BestConvexDiagonals (const BufferProxy< const int > &faceVertexIndices, const BufferProxy< const Point3 > &meshVertices, int *diag)
 Uses a triangulation scheme optimized for convex polygons to find a set of diagonals for this sequence of vertices, creating a triangulation for the polygon they form. More...
 
void BestConvexDiagonals (const BufferProxy< const int > &faceVertexIndices, const BufferProxy< const DPoint3 > &meshVertices, int *diag)
 Uses a triangulation scheme optimized for convex polygons to find a set of diagonals for this sequence of vertices, creating a triangulation for the polygon they form. More...
 
void FindDiagonals (const BufferProxy< const int > &faceVertexIndices, const BufferProxy< const Point3 > &meshVertices, int *diag)
 This method finds diagonals for this sequence of vertices, creating a triangulation for the polygon they form. More...
 
void FindDiagonals (const BufferProxy< const int > &faceVertexIndices, const BufferProxy< const DPoint3 > &meshVertices, int *diag)
 This method finds diagonals for this sequence of vertices, creating a triangulation for the polygon they form. More...
 
void GetTriangles (int deg, int *diag, Tab< int > &tri)
 This method fills in the table with the full triangulation for the face, based on the internal diagonal list. More...
 
void GetTriangles (int deg, const int *diag, Tab< int > &tri)
 This method fills in the table with the full triangulation for the face, based on the internal diagonal list. More...
 
void GetTriangles (int deg, int *diag, int *out_tri)
 This method fills in the buffer with the full triangulation for the face, based on the internal diagonal list. More...
 
void GetTriangles (uint64_t deg, uint64_t *diag, uint64_t *out_tri)
 
void GetTriangles (int deg, const int *diag, int *out_tri)
 This method fills in the buffer with the full triangulation for the face, based on the internal diagonal list. More...
 
void GetTriangles (uint64_t deg, const uint64_t *diag, uint64_t *out_tri)