Public Member Functions | Private Member Functions | List of all members
ConvexDecomposition::HullLibrary Class Reference

#include <cd_hull.h>

Public Member Functions

HullError CreateConvexHull (const HullDesc &desc, HullResult &result)
 
HullError CreateTriangleMesh (HullResult &answer, ConvexHullTriangleInterface *iface)
 
HullError ReleaseResult (HullResult &result)
 

Private Member Functions

void AddConvexTriangle (ConvexHullTriangleInterface *callback, const double *p1, const double *p2, const double *p3)
 
void BringOutYourDead (const double *verts, unsigned int vcount, double *overts, unsigned int &ocount, unsigned int *indices, unsigned indexcount)
 
bool CleanupVertices (unsigned int svcount, const double *svertices, unsigned int stride, unsigned int &vcount, double *vertices, double normalepsilon, double *scale)
 
double ComputeNormal (double *n, const double *A, const double *B, const double *C)
 

Detailed Description

Definition at line 221 of file cd_hull.h.

Member Function Documentation

◆ AddConvexTriangle()

void ConvexDecomposition::HullLibrary::AddConvexTriangle ( ConvexHullTriangleInterface callback,
const double *  p1,
const double *  p2,
const double *  p3 
)
private

Definition at line 3528 of file cd_hull.cpp.

◆ BringOutYourDead()

void ConvexDecomposition::HullLibrary::BringOutYourDead ( const double *  verts,
unsigned int  vcount,
double *  overts,
unsigned int &  ocount,
unsigned int *  indices,
unsigned  indexcount 
)
private

Definition at line 3444 of file cd_hull.cpp.

◆ CleanupVertices()

bool ConvexDecomposition::HullLibrary::CleanupVertices ( unsigned int  svcount,
const double *  svertices,
unsigned int  stride,
unsigned int &  vcount,
double *  vertices,
double  normalepsilon,
double *  scale 
)
private

Definition at line 3187 of file cd_hull.cpp.

◆ ComputeNormal()

double ConvexDecomposition::HullLibrary::ComputeNormal ( double *  n,
const double *  A,
const double *  B,
const double *  C 
)
private

Definition at line 3614 of file cd_hull.cpp.

◆ CreateConvexHull()

HullError ConvexDecomposition::HullLibrary::CreateConvexHull ( const HullDesc desc,
HullResult result 
)

Definition at line 2948 of file cd_hull.cpp.

◆ CreateTriangleMesh()

HullError ConvexDecomposition::HullLibrary::CreateTriangleMesh ( HullResult answer,
ConvexHullTriangleInterface iface 
)

Definition at line 3483 of file cd_hull.cpp.

◆ ReleaseResult()

HullError ConvexDecomposition::HullLibrary::ReleaseResult ( HullResult result)

Definition at line 3149 of file cd_hull.cpp.


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


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Wed Mar 2 2022 00:05:00