T
- the final type of the implementation of this interface.public interface EpsilonComparable<T>
epsilon
.Modifier and Type | Method and Description |
---|---|
boolean |
epsilonEquals(T other,
double epsilon)
Tests if
this is equal to other to an epsilon . |
boolean epsilonEquals(T other, double epsilon)
this
is equal to other
to an epsilon
. The test is usually
achieved on a per component basis. Sometimes a failing test does not necessarily mean that the
two objects are different in a geometric way.other
- the other object to compare against this. Not modified.epsilon
- tolerance to use when comparing each component.true
if the two objects are equal component-wise, false
otherwise.