 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
17 #ifndef AGXCOLLIDE_LINE_H
18 #define AGXCOLLIDE_LINE_H
69 virtual agx::Real getVolume()
const override;
81 void setSecondPoint(
const agx::Vec3& p );
100 virtual bool hasSupportFunction()
const override;
107 virtual agx::Vec3 getSupportPoint(
const agx::Vec3& supportDirection )
const override;
120 virtual const BoundingAABB& updateBoundingVolume()
override;
126 virtual BoundingAABB calculateLocalBound()
const override;
142 virtual ~
Line(
void );
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
agx::Physics::Geometry::LinePtr getEntity() 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
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXPHYSICS_EXPORT
static Vec3T componentMin(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the minimum of this and the other vector.
agx::Vec3 getFirstPoint() const
Returns the first point, in local coordinates.
A line shape for intersection tests, mostly for depth sensing and picking.
static Vec3T componentMax(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the maximum of this and the other vector.
The geometry representation used by the collision detection engine.
Specialized type of matrices for holding symmetric positive definite matrices.
AGXPHYSICS_EXPORT agx::Line & line()
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, const agx::Vec3 &firstPoint, const agx::Vec3 &secondPoint)
Calculate a bounding volume for line shape from parameters.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
agx::Vec3 getSecondPoint() const
Returns the second point, in local coordinates.
AGX_DECLARE_POINTER_TYPES(SpaceListener)
Pointer to a entity instance of type Physics.Geometry.Line.
AGXCORE_EXPORT EntityModel * getEntity(const agx::Path &path)
Get a entity with a specified path.