17 #ifndef AGXCOLLIDE_CAPSULE_H 18 #define AGXCOLLIDE_CAPSULE_H 70 virtual Shape *clone()
const override;
72 virtual agx::Real getVolume()
const override;
73 virtual bool hasSupportFunction()
const override;
80 virtual const BoundingAABB& updateBoundingVolume()
override;
81 virtual BoundingAABB calculateLocalBound()
const override;
virtual bool hasSupportFunction() const override
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
Implements a Capsule shape for geometric intersection tests.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
#define AGXPHYSICS_EXPORT
Pointer to a entity instance of type Physics.Geometry.Shape.
agx::Real getRadius() const
agx::Real getHeight() const
Specialized type of matrices for holding symmetric positive definite matrices.
agx::Physics::Geometry::ShapePtr getEntity() const
Pointer to a entity instance of type Physics.Geometry.Capsule.
static Vec3T componentMax(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the maximum of this and the other vector.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Type
Define the type of a Shape.
Axis aligned bounding box implementation.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
AGX_DECLARE_POINTER_TYPES(SpaceListener)
AGXCORE_EXPORT EntityModel * getEntity(const agx::Path &path)
Get a entity with a specified path.
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, const agx::Real radius, const agx::Real height)
static Vec3T componentMin(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the minimum of this and the other vector.