Table of Contents

Method GetClosestEdge

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestEdge(GeoPoint2)

Gets the edge of this polyline nearest a point.

public GeoLine2 GetClosestEdge(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoLine2

GetClosestEdge(GeoLine2)

Gets the edge of this polyline nearest a segment.

public GeoLine2 GetClosestEdge(GeoLine2 line)

Parameters

line GeoLine2

Returns

GeoLine2

Remarks

The answer is one of this polyline's own edges, not a segment joining the two shapes. For that, see GetShortestLineTo(GeoLine2).

GetClosestEdge(GeoCircle2)

Gets the edge of this polyline nearest a circle.

public GeoLine2 GetClosestEdge(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoLine2