Tolerance constructor

const Tolerance({double distance: _epsilonDefault, double time: _epsilonDefault, double velocity: _epsilonDefault })

Creates a Tolerance object. By default, the distance, time, and velocity tolerances are all ±0.001; the constructor arguments override this.

The arguments should all be positive values.

Implementation

const Tolerance({
  this.distance = _epsilonDefault,
  this.time = _epsilonDefault,
  this.velocity = _epsilonDefault
});