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;
agx::Physics::Geometry::ShapeRef m_entity
agx::Real getHeight() const
agx::Real getRadius() const
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.
agx::Physics::Geometry::ShapePtr getEntity() const
virtual agx::Real getVolume() const override
Calculate the volume of this cylinder.
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)
#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
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)