Skip to content

LineString.IsClosed() does not use DoubleComparer for Position #137

Open
@jnyrup

Description

@jnyrup

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions