28# pragma warning(disable: 6385)
29# pragma warning(disable: 6386)
35 class ContactMaterial;
72 , m_maxNormalForce(
agx::Infinity)
74 , m_elasticRestLengthShape1(1)
75 , m_elasticRestLengthShape2(1)
95 , m_maxNormalForce(
agx::Infinity)
97 , m_elasticRestLengthShape1(1)
98 , m_elasticRestLengthShape2(1)
101 , m_material(nullptr)
191 LocalContactPoint local( pointType.point(), pointType.normal(), pointType.depth() );
192 local.m_maxNormalForce = pointType.maxNormalForce();
193 local.m_velocity = pointType.velocity();
194 local.m_area = pointType.area();
195 local.m_elasticRestLengthShape1 = pointType.elasticRestLengthShape1();
196 local.m_elasticRestLengthShape2 = pointType.elasticRestLengthShape2();
197 local.m_shape1 = pointType.shape1();
198 local.m_shape2 = pointType.shape2();
199 local.m_faceIndex1 = pointType.faceIndex1();
200 local.m_faceIndex2 = pointType.faceIndex2();
201 local.m_faceFeature1 = pointType.faceFeature1();
202 local.m_faceFeature2 = pointType.faceFeature2();
203 local.m_state = pointType.state();
216 m_geometries[0] =
nullptr;
217 m_geometries[1] =
nullptr;
218 m_bodies[0] =
nullptr;
219 m_bodies[1] =
nullptr;
220 m_contactMaterial =
nullptr;
221 m_hasInternalMaterial =
false;
222 m_hasSurfaceVelocity =
false;
226 m_geometries[0] = g1;
227 m_geometries[1] = g2;
232 m_contactMaterial =
nullptr;
233 m_hasInternalMaterial =
false;
234 m_hasSurfaceVelocity =
false;
238 m_geometries[0] = g1;
239 m_geometries[1] = g2;
242 m_contactMaterial =
nullptr;
243 m_hasInternalMaterial =
false;
244 m_hasSurfaceVelocity =
false;
248 m_geometries[0] = g1;
249 m_geometries[1] = g2;
258 m_geometries[0] = g1;
259 m_geometries[1] = g2;
The geometry representation used by the collision detection engine.
agx::RigidBody * getRigidBody()
const agx::Physics::GeometryPtr & geometry() const
LocalParticleGeometryContact(agx::Physics::ParticlePtr particle, agx::Physics::GeometryPtr geometry)
agx::Physics::GeometryPtr & geometry()
LocalParticleGeometryContact()
agx::Physics::ParticlePtr & particle()
const agx::Physics::ParticlePtr & particle() const
const agx::Physics::ParticlePtr & particle2() const
const agx::Physics::ParticlePtr & particle1() const
agx::Physics::ParticlePtr & particle1()
agx::Physics::ParticlePtr & particle2()
LocalParticlePairContact()
LocalParticlePairContact(agx::Physics::ParticlePtr p1, agx::Physics::ParticlePtr p2)
Pointer to a entity instance of type Physics.Geometry.
Pointer to a entity instance of type Physics.Geometry.Shape.
Pointer to a entity instance of type Physics.Particle.
The rigid body class, combining a geometric model and a frame of reference.
Vector containing 'raw' data.
void push_back(const T &value)
void clear(ClearPolicy policy=SHRINK_BUFFER_AVERAGED)
Remove all elements, optionally with maintained buffer allocation.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
agx::Vector< LocalParticlePairContact > LocalParticlePairContactVector
agx::VectorPOD< LocalContactPoint > LocalContactPointVector
agx::Vector< LocalParticleGeometryContact > LocalParticleGeometryContactVector
agx::Vector< LocalGeometryContact > LocalGeometryContactVector
The agx namespace contains the dynamics/math part of the AGX Dynamics API.