AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
ConvexReaderWriter.h File Reference

Go to the source code of this file.

Namespaces

namespace  agxUtil
 The agxUtil namespace contain classes and methods for utility functionality.
 
namespace  agxUtil::deprecated
 
namespace  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.
 
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.
 
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.