28 class TerrainToolCollection;
107 const SoilParticlePtrVector& getInnerBodyParticles()
const;
112 const SoilParticlePtrVector& getWedgeBodyParticles()
const;
118 void setLockTranslationalCompliance(
agx::Real compliance);
124 void setLockRotationalCompliance(
agx::Real compliance);
172 void onEnableChange(
bool enable );
199 void updateDynamicProperties(
const SoilParticlePtrVector& soilParticles,
209 void sortParticlesBySeparatingPlane(
Terrain* terrain,
211 SoilParticlePtrVector& innerParticles,
212 SoilParticlePtrVector& wedgeParticles);
214 void computeParticlesInInnerShape(
PrimaryActiveZone* activeZone, SoilParticlePtrVector& innerParticles);
216 SoilParticlePtrVector computeParticlesInWedgeShape(
ActiveZone* activeZone, SoilParticlePtrVector& wedgeParticleCandidates);
231 SoilParticlePtrVector m_innerParticles;
232 SoilParticlePtrVector m_wedgeParticles;
239 inline bool SoilParticleAggregate::isPointAbovePlane(
const agx::Plane& plane,
const agx::Vec3& point)
const
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
Pointer to a entity instance of type Physics.GranularBody.
agx::Physics::GranularBodyPtrVector SoilParticlePtrVector
#define AGX_DECLARE_POINTER_TYPES(type)
Class representing the mathematical concept of a plane, also called a half- space.
This class is used to describe the general material properties of the Terrain.
agx::Physics::GranularBodyPtr SoilParticlePtr
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Vector containing 'raw' data.
#define AGXTERRAIN_EXPORT
The rigid body class, combining a geometric model and a frame of reference.
Main material class which acts as a holder of a Surface Material and a Bulk material.
The object defining a frame of reference and providing transformations operations.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
AGX_DECLARE_VECTOR_TYPES(ActiveZone)
T signedDistanceToPoint(const agx::Vec3T< T > &point) const
Calculates the distance from the plane to a point.