 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
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)
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
A sphere class for geometric intersection tests.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
agx::Real getRadius() const
Axis aligned bounding box implementation.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Physics::Geometry::ShapeRef m_entity
agx::Physics::Geometry::ShapePtr getEntity() const
#define AGXPHYSICS_EXPORT
Pointer to a entity instance of type Physics.Geometry.Sphere.
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
Specialized type of matrices for holding symmetric positive definite matrices.
Real calculateBoundingRadius(Real)
This namespace consists of a set of classes for handling geometric intersection tests including boole...
AGX_DECLARE_POINTER_TYPES(SpaceListener)
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, agx::Real radius)
AGXCORE_EXPORT EntityModel * getEntity(const agx::Path &path)
Get a entity with a specified path.