29 namespace ConvexReaderWriter {
45 size_t elementResolutionPerAxis = 50,
65 size_t elementResolutionPerAxis = 50,
113 size_t elementResolutionPerAxis = 50,
133 size_t elementResolutionPerAxis = 50,
149 const agx::String& sourceName =
"convexFromReaderWriter",
#define AGXPHYSICS_EXPORT
A convex class for geometric intersection tests.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
agx::Vector< agxCollide::ConvexRef > ConvexRefVector
AGXPHYSICS_EXPORT bool createConvexDecomposition(const agx::String &filename, agxCollide::ConvexRefVector &results, size_t elementResolutionPerAxis=50, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
Creates a set of convex shapes that approximates the triangle mesh defined by filename using V-HACD w...
AGXPHYSICS_EXPORT agxCollide::Convex * createConvex(const agx::Vec3Vector &vertices, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
Creates a convex shape from vertices only, building their convex hull.
AGXPHYSICS_EXPORT bool exportConvex(const agxCollide::Convex &convex, const agx::String &filename)
Exports convex vertex and index data to a wavefront obj file on a storage device.
AGXPHYSICS_EXPORT bool createVHACDConvexDecomposition(const agx::String &filename, agxCollide::ConvexRefVector &results, size_t elementResolutionPerAxis=50, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
Creates a set of convex shapes that approximates the triangle mesh defined by filename using V-HACD w...
AGXPHYSICS_EXPORT agxCollide::Convex * createFromConvex(const agx::Vec3Vector &vertices, const agx::UInt32Vector &indices, const agx::String &sourceName="convexFromReaderWriter", const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
Creates a convex from vertices which are known to be convex.
The agxUtil namespace contain classes and methods for utility functionality.