212 return getBottomOuterRadius() - 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 right circular hollow cone shape for geometric intersection tests.
void set(agx::Real topOutsideRadius, agx::Real bottomOutsideRadius, agx::Real height, agx::Real thickness)
Sets all parameters for the hollow cone.
agx::Real getHeight() const
HollowCone(agx::Real topInnerRadius, agx::Real bottomInnerRadius, agx::Real innerHeight, agx::Real outerHeight, agx::Real thickness)
Creates a Hollow Cone based upon inner radiuses (hole size) and thickness.
void setThickness(agx::Real thickness)
Sets the thickness for the hollow cone.
agx::Real getThickness() const
void setHeight(agx::Real height)
Sets the height for the hollow cone.
virtual agx::Vec3 getSupportPoint(const agx::Vec3 &supportDirection) const override
Returns the support point on face of the shape.
void setTopOuterRadius(agx::Real r)
Sets the top radius for the hollow cone.
agx::Real getBottomInnerRadius() const
HollowCone(agx::Real topOuterRadius, agx::Real bottomOuterRadius, agx::Real outerHeight, agx::Real thickness)
Creates a Hollow Cone based upon outside cone measurements and thickness to get a hollow inside.
agx::SPDMatrix3x3 calculateInertia(agx::Real mass) const override
Calculate the inertia of the HollowCone.
virtual bool hasSupportFunction() const override
virtual agx::Real getVolume() const override
Calculate the volume of this cylinder.
agx::Real getTruncatedHeight() const
Returns the height of the truncated part.
virtual const BoundingAABB & updateBoundingVolume() override
Calculate the bounding volume based on the current Shape parameters including transformation.
agx::Real getAngle() const
Returns the angle between the cone axis and side.
virtual BoundingAABB calculateLocalBound() const override
Calculate the bounding volume in the local coordinate system.
void setBottomOuterRadius(agx::Real r)
Sets the bottom radius for the hollow cone.
virtual Shape * clone() const override
Create a clone.
agx::Real getBottomOuterRadius() const
virtual agx::Vec3 getCenter() const override
agx::Real getTopOuterRadius() const
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)