Method GetClosestEdge
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetClosestEdge(GeoPoint2)
Gets the edge of this polygon nearest a point.
public GeoLine2 GetClosestEdge(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
GetClosestEdge(GeoLine2)
Gets the edge of this polygon nearest a segment.
public GeoLine2 GetClosestEdge(GeoLine2 line)
Parameters
lineGeoLine2
Returns
Remarks
The answer is one of this polygon's own edges, not a segment joining the two shapes. For that, see GetShortestLineTo(GeoLine2).
GetClosestEdge(GeoCircle2)
Gets the edge of this polygon nearest a circle.
public GeoLine2 GetClosestEdge(GeoCircle2 circle)
Parameters
circleGeoCircle2