PointPosition

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Coordinate's position relative to a closed entity, in the XY plane. Returned by ICloseable.AnalyzePointPosition.

public enum PointPosition

Values

Value Number Meaning
Exterior 0 The coordinate is outside the enclosed area. In a polygon, also when inside one of its holes.
Interior 1 The coordinate is inside the enclosed area and, in a polygon, outside all its holes.
Tangent 2 The coordinate lies on the enclosed area's boundary or, in a polygon, a hole's boundary.

Example

The ICloseable example queries three coordinates' positions relative to a polygon with a hole: one inside, one inside the hole and one on the boundary.