Example #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);
Example #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));