equals2D method

  1. @override
bool equals2D(
  1. covariant Box other, {
  2. double toleranceHoriz = defaultEpsilon,
})
override

True if this box equals with other by testing 2D coordinates only.

Differences on 2D coordinate values (ie. x and y, or lon and lat) between this and other must be within toleranceHoriz.

Tolerance values must be positive (>= 0.0).

Implementation

@override
bool equals2D(Box other, {double toleranceHoriz = defaultEpsilon}) =>
    Box.testEquals2D(this, other, toleranceHoriz: toleranceHoriz);