17 #ifndef AGXCOLLIDE_BOX_H 18 #define AGXCOLLIDE_BOX_H 54 void setHalfExtents(
const agx::Vec3& halfExtents );
61 virtual Shape *clone()
const override;
62 virtual agx::Real getVolume()
const override;
64 virtual bool hasSupportFunction()
const override;
66 virtual const BoundingAABB& updateBoundingVolume()
override;
67 virtual BoundingAABB calculateLocalBound()
const override;
const agx::Vec3 & getHalfExtents() const
Pointer to a entity instance of type Physics.Geometry.Box.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
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
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, const agx::Vec3 &halfExtents)
Method for calculating the bound of a transformed box.
Specialized type of matrices for holding symmetric positive definite matrices.
agx::Physics::Geometry::ShapePtr getEntity() const
A box shape 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.