private static NTSPolygon ToNTS(this IPolygon polygon) => new NTSPolygon( FromPoints(polygon.Shell), polygon.Holes.Select(FromPoints).ToArray());
/// <inheritdoc /> public bool Equals(IPolygon other) => _ntsPolygon.Value.EqualsExact(other.ToNTS());