GeoFenceDistanceFromNearestPolyLine Method

Gets distance from nearest polyline in shape

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public Distance DistanceFromNearestPolyLine(
	Coordinate point
)

Parameters

point  Coordinate
Coordinate

Return Value

Distance
Distance

Remarks

This method utilizes 2D ray casting techniques and does not inherently account for the curvature of the Earth. To mitigate the impact of Earth shape distortion on polygons or polylines that span long distances, users should employ densification.

See Also