Blender  V3.3
Public Member Functions | Public Attributes | List of all members
HullLibrary Class Reference

#include <btConvexHull.h>

Public Member Functions

HullError CreateConvexHull (const HullDesc &desc, HullResult &result)
 
HullError ReleaseResult (HullResult &result)
 

Public Attributes

btAlignedObjectArray< int > m_vertexIndexMapping
 

Detailed Description

The HullLibrary class can create a convex hull from a collection of vertices, using the ComputeHull method. The btShapeHull class uses this HullLibrary to create a approximate convex mesh given a general (non-polyhedral) convex shape.

Definition at line 182 of file btConvexHull.h.

Member Function Documentation

◆ CreateConvexHull()

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

◆ ReleaseResult()

HullError HullLibrary::ReleaseResult ( HullResult result)

Definition at line 787 of file btConvexHull.cpp.

References QE_OK, and result.

Referenced by buildHull(), btSoftBodyHelpers::CreateFromConvexHull(), and btSoftBodyHelpers::Draw().

Member Data Documentation

◆ m_vertexIndexMapping

btAlignedObjectArray<int> HullLibrary::m_vertexIndexMapping

Definition at line 187 of file btConvexHull.h.


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