예제 #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);
예제 #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));
예제 #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);
예제 #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));