33 class TerrainToolCollection;
62 void updateContactDepth(
const agx::Vec3& referencePoint,
70 void resetContactHistory();
75 bool hasContactHistory()
const;
103 agx::Real getAggregateContactArea()
const;
109 void setCurrentDepth(
agx::Real currentDepth );
116 void setDepthDecayFactor(
agx::Real depthDecayFactor);
123 void setDepthIncreaseFactor(
agx::Real depthIncreaseFactor);
129 void setMaximumContactDepth(
agx::Real maximumDepth );
136 void setAggregateContactArea(
agx::Real area);
146 void DEBUG_DRAW_CONTACT_POINTS();
151 void DEBUG_DRAW_DEPTH_METER(
const agx::Vec3& meterDirection );
161 void trimPreviousContactPoints();
174 bool m_hasContactHistory;
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes...
Utility color class with "common colors".
Class representing the mathematical concept of a plane, also called a half- space.
agx::Vec3 AGXTERRAIN_EXPORT calculateContactReferencePoint(const agx::Vec3Vector &contactPoints)
Calculates the reference point that will be used in the contact model from specified contact points...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define AGXTERRAIN_EXPORT
agx::Real AGXTERRAIN_EXPORT estimateMaximumAggregateForce(const TerrainToolCollection *collection, agx::Real soilAggregateMass, agx::Real contactArea, agx::Real frictionAngle)
Estimate the maximum force that can be generated from a soil aggregate in the contact between the agg...