69 mutable size_t m_currentPointIndex;
#define AGX_DECLARE_POINTER_TYPES(type)
agx::Vec3 getCachedPoint(agx::UInt pointIndex) const
~ShovelAggregateFrictionModel()
ShovelAggregateFrictionModel(agx::Frame *frame, agx::FrictionModel::SolveType solveType=agx::FrictionModel::DIRECT, agx::UInt numPoints=4)
agx::Vec3f getCachedNormal(agx::UInt pointIndex) const
agx::Real getCachedNormalForce(agx::UInt pointIndex) const
virtual void initialize(const agx::Physics::GeometryContactPtr geometryContact, size_t pointIndex, agx::Real dt, agx::RangeReal &ret_boundU, agx::RangeReal &ret_boundV) const override
Initializes the bounds, i.e., max force for the tangential equations.
void setCachedNormalForce(agx::UInt pointIndex, agx::Real normalForce, const agx::Vec3f &normal, const agx::Vec3 &point)
agx::UInt getNumPoints() const
The object defining a frame of reference and providing transformations operations.
@ DIRECT
Normal and friction equation calculated only in the DIRECT solver.
Box friction model with oriented friction box.
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
agx::Real getAverageContactForce(agxCollide::GeometryContactPtrVector matches, bool print=false)