25 class WireDistanceCompositeConstraint;
34 : range( rangeRelWire ), resolutionPerUnitLength( resPerUnitLength ) {}
47 HighResData reversed()
const
49 HighResData ret = *
this;
52 std::swap( ret.range.lower(), ret.range.upper() );
65 WireNodeDensityController() {}
67 void update( agxWire::WireDistanceCompositeConstraint* wire );
76 const HighResDataContainer& getHighResolutionData()
const;
83 HighResDataList& getRangeExcessData();
87 void addResolutionRange( agxWire::HighResData hresData );
89 void addExternalHighResolutionRange( Node* node,
agx::Real distanceOnSegment );
104 HighResDataContainer m_highResolutionNodesDistanceOnWire;
105 HighResDataList m_rangeExcess;
void swap(agx::Name &lhs, agx::Name &rhs)
#define AGXPHYSICS_EXPORT
Class defining a node that is part of a wire.
Base class providing referencing counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
AGXTERRAIN_EXPORT void clear()
Implements a Wire model with adaptive resolution.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool geq(double a, double b, double eps=(double) AGX_EQUIVALENT_EPSILON)
bool leq(double a, double b, double eps=(double) AGX_EQUIVALENT_EPSILON)