equals2D method
True if this box equals with other
by testing 2D coordinates only.
If toleranceHoriz
is given, then differences on 2D coordinate values
(ie. x and y, or lon and lat) between this and other
must be within
tolerance. Otherwise value must be exactly same.
Tolerance values must be null or positive (>= 0).
Implementation
bool equals2D(Box other, {num? toleranceHoriz}) =>
Box.testEquals2D(this, other, toleranceHoriz: toleranceHoriz);