57 const char* sourceName,
58 uint32_t optionsMask = Trimesh::REMOVE_DUPLICATE_VERTICES );
64 virtual bool hasSupportFunction()
const override;
126 if (dist > maxDist) {
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
A convex class for geometric intersection tests.
virtual ~Convex()
Hiding destructor.
Convex(const agx::Vec3Vector *vertices, const agx::UInt32Vector *indices, const char *sourceName, uint32_t optionsMask=Trimesh::REMOVE_DUPLICATE_VERTICES)
Constructs a new Convex object from a vector of vertices and indices each.
virtual agx::Vec3 getSupportPoint(const agx::Vec3 &supportDirection) const override
Convex * shallowCopy() const
Creates a new Convex which shares data with this one.
Convex * deepCopy() const
Creates a new Convex which copies data from this one.
virtual bool hasSupportFunction() const override
Inherited from Shape.
virtual Shape * clone() const override
Create a clone.
CollisionMeshDataRef m_collisionMeshData
Triangle mesh for geometric intersection tests.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
AGXCORE_EXPORT const Real RealMax