17 #ifndef AGXCOLLIDE_CYLINDER_H 18 #define AGXCOLLIDE_CYLINDER_H 81 virtual agx::Real getVolume()
const override;
83 virtual bool hasSupportFunction()
const override;
84 virtual Shape *clone()
const override;
87 virtual const BoundingAABB& updateBoundingVolume()
override;
88 virtual BoundingAABB calculateLocalBound()
const override;
123 return getRadius() * getRadius() * getHeight() *
agx::PI;
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.Cylinder.
virtual agx::Real getVolume() const override
Calculate the volume of this cylinder.
agx::Real getRadius() const
Specialized type of matrices for holding symmetric positive definite matrices.
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, const agx::Real radius, const agx::Real height)
agx::Physics::Geometry::ShapePtr getEntity() const
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Axis aligned bounding box implementation.
virtual bool hasSupportFunction() const override
agx::Real getHeight() const
A cylinder shape for geometric intersection tests.
#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)