28 class TerrainToolCollection;
148 agx::Vec3 getInnerParticleMomentum()
const;
149 agx::Vec3 getInnerParticleAngularMomentum()
const;
152 agx::Vec3 getInnerAngularMomentum()
const;
195 void onEnableChange(
bool enable );
217 bool isConnectedAggregate()
const;
304 void onEnableChange(
bool enable);
344 void updatePartitionBodyMomentum(
353 void updateCachedWedgeMomentum();
358 void computeLockViolations();
365 void clearParticles(
size_t reserve );
367 void clearVoxelsAndParticles();
375 void setSinglePartitionMode();
381 void setDeformerWedgeMode();
393 const agx::Vec3& getCuttingVectorFlat()
const;
395 const agx::Vec3& getCutTopVector()
const;
397 const agx::Vec3& getForwardDiggingPlane()
const;
400 return m_wedgePartitions[ index ];
404 return m_wedgePartitions[ index ];
409 return m_wedgePartitions.size();
435 void sortParticlesBySeparatingPlane(
Terrain* terrain,
452 bool isPointAbovePlane(
const agx::Plane& plane,
456 bool isSphereIntersectingPlane(
const agx::Plane& plane,
473 agx::Vec3 m_innerParticleAngularMomentum;
487 inline bool SoilParticleAggregate::isPointAbovePlane(
const agx::Plane& plane,
496 inline bool SoilParticleAggregate::isSphereIntersectingPlane(
const agx::Plane& plane,