Esempio n. 1
0
 public bool Equals(PolyLineM other) => other != null &&
 BoundingBox.Equals(other.BoundingBox) &&
 NumberOfParts.Equals(other.NumberOfParts) &&
 NumberOfPoints.Equals(other.NumberOfPoints) &&
 Parts.SequenceEqual(other.Parts) &&
 Points.SequenceEqual(other.Points) &&
 MeasureRange.Equals(other.MeasureRange) &&
 Measures.SequenceEqual(other.Measures);
Esempio n. 2
0
 public bool Equals(PolyLineM other, Tolerance tolerance) => other != null &&
 BoundingBox.Equals(other.BoundingBox, tolerance) &&
 NumberOfParts.Equals(other.NumberOfParts) &&
 NumberOfPoints.Equals(other.NumberOfPoints) &&
 Parts.SequenceEqual(other.Parts) &&
 Points.SequenceEqual(other.Points, new TolerantPointEqualityComparer(tolerance)) &&
 MeasureRange.Equals(other.MeasureRange, tolerance) &&
 Measures.SequenceEqual(other.Measures, new TolerantDoubleEqualityComparer(tolerance));
Esempio n. 3
0
 public bool Equals(Polygon other) => other != null &&
 BoundingBox.Equals(other.BoundingBox) &&
 NumberOfParts.Equals(other.NumberOfParts) &&
 NumberOfPoints.Equals(other.NumberOfPoints) &&
 Parts.SequenceEqual(other.Parts) &&
 Points.SequenceEqual(other.Points);
Esempio n. 4
0
 public bool Equals(Polygon other, Tolerance tolerance) => other != null &&
 BoundingBox.Equals(other.BoundingBox, tolerance) &&
 NumberOfParts.Equals(other.NumberOfParts) &&
 NumberOfPoints.Equals(other.NumberOfPoints) &&
 Parts.SequenceEqual(other.Parts) &&
 Points.SequenceEqual(other.Points, new TolerantPointEqualityComparer(tolerance));