equalsCoords method

  1. @override
bool equalsCoords(
  1. covariant Geometry other
)
override

True if this and other contain exactly same coordinate values (or both are empty) in the same order and with the same coordinate type.

Implementation

@override
bool equalsCoords(Geometry other) => testEquals2D<Polygon>(
      this,
      other,
      (polygon1, polygon2) => _testPolygons(
        polygon1,
        polygon2,
        (posArray1, posArray2) => posArray1.equalsCoords(posArray2),
      ),
    );