equals3D method

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

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

Returns false if this or other is not a 3D box.

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

Differences on vertical coordinate values (ie. z or elev) between this and other must be within toleranceVert.

Tolerance values must be positive (>= 0.0).

Implementation

@override
bool equals3D(
  Box other, {
  double toleranceHoriz = defaultEpsilon,
  double toleranceVert = defaultEpsilon,
}) =>
    Box.testEquals3D(
      this,
      other,
      toleranceHoriz: toleranceHoriz,
      toleranceVert: toleranceVert,
    );