Method IsEqualTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
IsEqualTo(GeoLine2)
Determines whether another segment runs between the same points, within the default tolerance.
public bool IsEqualTo(GeoLine2 other)
Parameters
otherGeoLine2
Returns
IsEqualTo(GeoLine2, Tolerance)
Determines whether another segment runs between the same points, within a tolerance.
public bool IsEqualTo(GeoLine2 other, Tolerance tolerance)
Parameters
Returns
- bool
true if the segments are the same within tolerance; otherwise, false.
Remarks
A segment and the same segment reversed are not equal: which way it runs is part of it, as it is
for a chain and for an arc. Compare against other.Reverse() when either direction will do.