17 #ifndef AGXCOLLIDE_SPHERE_H 18 #define AGXCOLLIDE_SPHERE_H 52 virtual Shape *clone()
const override;
54 virtual agx::Real getVolume()
const override;
55 virtual bool hasSupportFunction()
const override;
62 virtual const BoundingAABB& updateBoundingVolume()
override;
63 virtual BoundingAABB calculateLocalBound()
const override;
static agx::Real calculateVolume(agx::Real radius)
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, agx::Real radius)
This namespace consists of a set of classes for handling geometric intersection tests including boole...
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.Sphere.
Real calculateBoundingRadius(Real)
Specialized type of matrices for holding symmetric positive definite matrices.
agx::Physics::Geometry::ShapePtr getEntity() const
Vec3T< T > getTranslate() const
A sphere class for geometric intersection tests.
#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.
#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.