Structure that specifies maximum allowable magnitudes for distances, durations, and velocity differences to be considered equal.
Constants
- defaultTolerance → Tolerance
-
A default tolerance of 0.001 for all three values.
const Tolerance()
Constructors
Properties
- distance → double
-
The magnitude of the maximum distance between two points for them to be considered within tolerance.
read-only - time → double
-
The magnitude of the maximum duration between two times for them to be considered within tolerance.
read-only - velocity → double
-
The magnitude of the maximum difference between two velocities for them to be considered within tolerance.
read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited