160 return getOuterRadius() - getThickness();
#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
Axis aligned bounding box implementation.
The geometry representation used by the collision detection engine.
A hollow cylinder shape for geometric intersection tests.
void setThickness(agx::Real t)
Sets the thickness for the hollow cylinder.
agx::Real getInnerRadius() const
virtual agx::Vec3 getSupportPoint(const agx::Vec3 &supportDirection) const override
Returns the support point on face of the shape.
virtual const BoundingAABB & updateBoundingVolume() override
Calculate the bounding volume based on the current Shape parameters including transformation.
void set(agx::Real radius, agx::Real height, agx::Real thickness)
Sets all parameters for the hollow cylinder.
agx::Real getThickness() const
agx::SPDMatrix3x3 calculateInertia(agx::Real mass) const override
Calculate the inertia of the HollowCylinder.
agx::Real getHeight() const
void setHeight(agx::Real h)
Sets the height for the hollow cylinder.
virtual Shape * clone() const override
Create a clone.
void setInnerRadius(agx::Real r)
Sets the inner radius for the hollow cylinder.
virtual bool hasSupportFunction() const override
agx::Real getOuterRadius() const
void setOuterRadius(agx::Real r)
Sets the outer radius for the hollow cylinder.
virtual agx::Real getVolume() const override
Calculate the volume of this cylinder.
virtual BoundingAABB calculateLocalBound() const override
Calculate the bounding volume in the local coordinate system.
HollowCylinder(agx::Real innerRadius, agx::Real height, agx::Real thickness)
Creates a hollow cylinder.
Specialized type of matrices for holding symmetric positive definite matrices.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
AGX_DECLARE_POINTER_TYPES(SpaceListener)
AGXCORE_EXPORT EntityModel * getEntity(const agx::Path &path)
Get a entity with a specified path.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Vec3T< T > min(const Vec3T< T > &lhs, const Vec3T< T > &rhs)