Two instances of Position are considered equal when their Latitude, Longitude and Altitude are approximately equal using a DoubleComparer.
LineString.IsClosed considers an instance to be closed if Latitude, Longitude and Altitude of its first and last IPosition coordinate are exactly equals.
This seems to be potential inconsistent when constructing a LineString with Position as IPosition.
Is that intended behavior?
Two instances of
Positionare considered equal when theirLatitude,LongitudeandAltitudeare approximately equal using aDoubleComparer.LineString.IsClosedconsiders an instance to be closed ifLatitude,LongitudeandAltitudeof its first and lastIPositioncoordinate are exactly equals.This seems to be potential inconsistent when constructing a
LineStringwithPositionasIPosition.Is that intended behavior?