32 class TerrainToolCollection;
61 void updateContactDepth(
const agx::Vec3& referencePoint,
69 void resetContactHistory();
74 bool hasContactHistory()
const;
102 agx::Real getAggregateContactArea()
const;
108 void setCurrentDepth(
agx::Real currentDepth );
115 void setDepthDecayFactor(
agx::Real depthDecayFactor);
122 void setDepthIncreaseFactor(
agx::Real depthIncreaseFactor);
128 void setMaximumContactDepth(
agx::Real maximumDepth );
135 void setAggregateContactArea(
agx::Real area);
145 void DEBUG_DRAW_CONTACT_POINTS();
150 void DEBUG_DRAW_DEPTH_METER(
const agx::Vec3& meterDirection );
160 void trimPreviousContactPoints();
173 bool m_hasContactHistory;
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...
Namespace agx 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...