AGX Dynamics  2.35.0.1
deprecated/ConvexReaderWriter/ConvexReaderWriter.h File Reference

Go to the source code of this file.

Namespaces

 agxUtil
 The agxUtil namespace contain classes and methods for utility functionality.
 
 agxUtil::deprecated
 
 agxUtil::deprecated::ConvexReaderWriter
 Functions for generating Convex shapes from meshes, and for serializing them.
 

Functions

AGXPHYSICS_EXPORT agxCollide::Convex * agxUtil::deprecated::ConvexReaderWriter::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. More...
 
AGXPHYSICS_EXPORT bool agxUtil::deprecated::ConvexReaderWriter::createConvexDecomposition (const agx::String &filename, agxCollide::ConvexRefVector &results, agxCollide::deprecated::ConvexBuilder *builder=nullptr, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
 Creates convex shapes using convex decomposition from a supported mesh file format (see agxIO::MeshReader::FileType), using John Ratcliff's algorithm from 2006 for convex decomposition. More...
 
AGXPHYSICS_EXPORT bool agxUtil::deprecated::ConvexReaderWriter::createConvexDecomposition (const agx::Vec3Vector &vertices, const agx::UInt32Vector &indices, agxCollide::ConvexRefVector &results, agxCollide::deprecated::ConvexBuilder *builder=nullptr, const agx::Matrix3x3 &transformation=agx::Matrix3x3(), const agx::Vec3 &translation=agx::Vec3())
 Creates convex shapes using convex decomposition from vertices and indices (triangle lists), using John Ratcliff's algorithm from 2006 for convex decomposition. More...