3ds Max C++ API Reference
triangulate.h File Reference
#include "GeomExport.h"
#include "geom_span.hpp"
#include <cassert>
#include <cstdint>

Classes

class  BufferProxy< ElementType >
 

Namespaces

 MaxSDK
 

Functions

void SortPolygonDiagonals (geo::span< int > diag)
 Puts diagonals in increase-by-last-index, decrease-by-first order. More...
 
void SortPolygonDiagonals (geo::span< uint64_t > diag)
 
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, geo::span< int > diag, geo::span< 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 (uint16_t deg, geo::span< uint16_t > diag, geo::span< uint16_t > out_tri)
 
void GetTriangles (uint64_t deg, geo::span< uint64_t > diag, geo::span< uint64_t > out_tri)