Table of Contents

Method GetClosestEdge

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetClosestEdge(GeoPolygon2, GeoPoint2)

Gets the edge of a polygon nearest a point.

public static GeoLine2 GetClosestEdge(GeoPolygon2 poly, GeoPoint2 point)

Parameters

poly GeoPolygon2

The polygon.

point GeoPoint2

The point to measure against.

Returns

GeoLine2

The edge of poly lying nearest point.

GetClosestEdge(GeoPolygon2, GeoLine2)

Gets the edge of a polygon nearest a segment.

public static GeoLine2 GetClosestEdge(GeoPolygon2 poly, GeoLine2 line)

Parameters

poly GeoPolygon2

The polygon.

line GeoLine2

The segment to measure against.

Returns

GeoLine2

The edge of poly lying nearest line.

GetClosestEdge(GeoPolygon2, GeoCircle2)

Gets the edge of a polygon nearest a circle.

public static GeoLine2 GetClosestEdge(GeoPolygon2 poly, GeoCircle2 circle)

Parameters

poly GeoPolygon2

The polygon.

circle GeoCircle2

The circle to measure against.

Returns

GeoLine2

The edge of poly lying nearest circle.

GetClosestEdge(GeoPolyline2, GeoPoint2)

Gets the edge of a polyline nearest a point.

public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoPoint2 point)

Parameters

polyline GeoPolyline2

The polyline.

point GeoPoint2

The point to measure against.

Returns

GeoLine2

The edge of polyline lying nearest point.

GetClosestEdge(GeoPolyline2, GeoLine2)

Gets the edge of a polyline nearest a segment.

public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoLine2 line)

Parameters

polyline GeoPolyline2

The polyline.

line GeoLine2

The segment to measure against.

Returns

GeoLine2

The edge of polyline lying nearest line.

GetClosestEdge(GeoPolyline2, GeoCircle2)

Gets the edge of a polyline nearest a circle.

public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoCircle2 circle)

Parameters

polyline GeoPolyline2

The polyline.

circle GeoCircle2

The circle to measure against.

Returns

GeoLine2

The edge of polyline lying nearest circle.

GetClosestEdge(GeoRectangle2, GeoPoint2)

Gets the edge of a rectangle nearest a point.

public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoPoint2 point)

Parameters

rect GeoRectangle2

The rectangle.

point GeoPoint2

The point to measure against.

Returns

GeoLine2

The edge of rect lying nearest point.

GetClosestEdge(GeoRectangle2, GeoLine2)

Gets the edge of a rectangle nearest a segment.

public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoLine2 line)

Parameters

rect GeoRectangle2

The rectangle.

line GeoLine2

The segment to measure against.

Returns

GeoLine2

The edge of rect lying nearest line.

GetClosestEdge(GeoRectangle2, GeoCircle2)

Gets the edge of a rectangle nearest a circle.

public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoCircle2 circle)

Parameters

rect GeoRectangle2

The rectangle.

circle GeoCircle2

The circle to measure against.

Returns

GeoLine2

The edge of rect lying nearest circle.

GetClosestEdge(GeoPolygonArc2, GeoPoint2)

Gets the edge of a curved loop nearest a point.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoPoint2 point)

Parameters

loop GeoPolygonArc2

The loop.

point GeoPoint2

The point to measure against.

Returns

GeoEdge2

The edge of loop lying nearest point.

GetClosestEdge(GeoPolygonArc2, GeoPoint2, Tolerance)

Gets the edge of a curved loop nearest a point, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoPoint2 point, Tolerance tolerance)

Parameters

loop GeoPolygonArc2

The loop.

point GeoPoint2

The point to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of loop lying nearest point.

GetClosestEdge(GeoPolygonArc2, GeoLine2)

Gets the edge of a curved loop nearest a segment.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoLine2 line)

Parameters

loop GeoPolygonArc2

The loop.

line GeoLine2

The segment to measure against.

Returns

GeoEdge2

The edge of loop lying nearest line.

GetClosestEdge(GeoPolygonArc2, GeoLine2, Tolerance)

Gets the edge of a curved loop nearest a segment, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoLine2 line, Tolerance tolerance)

Parameters

loop GeoPolygonArc2

The loop.

line GeoLine2

The segment to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of loop lying nearest line.

GetClosestEdge(GeoPolygonArc2, GeoCircle2)

Gets the edge of a curved loop nearest a circle.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoCircle2 circle)

Parameters

loop GeoPolygonArc2

The loop.

circle GeoCircle2

The circle to measure against.

Returns

GeoEdge2

The edge of loop lying nearest circle.

GetClosestEdge(GeoPolygonArc2, GeoCircle2, Tolerance)

Gets the edge of a curved loop nearest a circle, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoCircle2 circle, Tolerance tolerance)

Parameters

loop GeoPolygonArc2

The loop.

circle GeoCircle2

The circle to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of loop lying nearest circle.

GetClosestEdge(GeoPolygonArc2, GeoArc2)

Gets the edge of a curved loop nearest an arc.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoArc2 arc)

Parameters

loop GeoPolygonArc2

The loop.

arc GeoArc2

The arc to measure against.

Returns

GeoEdge2

The edge of loop lying nearest arc.

GetClosestEdge(GeoPolygonArc2, GeoArc2, Tolerance)

Gets the edge of a curved loop nearest an arc, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoArc2 arc, Tolerance tolerance)

Parameters

loop GeoPolygonArc2

The loop.

arc GeoArc2

The arc to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of loop lying nearest arc.

GetClosestEdge(GeoPolylineArc2, GeoPoint2)

Gets the edge of a curved chain nearest a point.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoPoint2 point)

Parameters

chain GeoPolylineArc2

The chain.

point GeoPoint2

The point to measure against.

Returns

GeoEdge2

The edge of chain lying nearest point.

GetClosestEdge(GeoPolylineArc2, GeoPoint2, Tolerance)

Gets the edge of a curved chain nearest a point, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoPoint2 point, Tolerance tolerance)

Parameters

chain GeoPolylineArc2

The chain.

point GeoPoint2

The point to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of chain lying nearest point.

GetClosestEdge(GeoPolylineArc2, GeoLine2)

Gets the edge of a curved chain nearest a segment.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoLine2 line)

Parameters

chain GeoPolylineArc2

The chain.

line GeoLine2

The segment to measure against.

Returns

GeoEdge2

The edge of chain lying nearest line.

GetClosestEdge(GeoPolylineArc2, GeoLine2, Tolerance)

Gets the edge of a curved chain nearest a segment, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoLine2 line, Tolerance tolerance)

Parameters

chain GeoPolylineArc2

The chain.

line GeoLine2

The segment to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of chain lying nearest line.

GetClosestEdge(GeoPolylineArc2, GeoCircle2)

Gets the edge of a curved chain nearest a circle.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoCircle2 circle)

Parameters

chain GeoPolylineArc2

The chain.

circle GeoCircle2

The circle to measure against.

Returns

GeoEdge2

The edge of chain lying nearest circle.

GetClosestEdge(GeoPolylineArc2, GeoCircle2, Tolerance)

Gets the edge of a curved chain nearest a circle, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoCircle2 circle, Tolerance tolerance)

Parameters

chain GeoPolylineArc2

The chain.

circle GeoCircle2

The circle to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of chain lying nearest circle.

GetClosestEdge(GeoPolylineArc2, GeoArc2)

Gets the edge of a curved chain nearest an arc.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoArc2 arc)

Parameters

chain GeoPolylineArc2

The chain.

arc GeoArc2

The arc to measure against.

Returns

GeoEdge2

The edge of chain lying nearest arc.

GetClosestEdge(GeoPolylineArc2, GeoArc2, Tolerance)

Gets the edge of a curved chain nearest an arc, within a tolerance.

public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoArc2 arc, Tolerance tolerance)

Parameters

chain GeoPolylineArc2

The chain.

arc GeoArc2

The arc to measure against.

tolerance Tolerance

The tolerance.

Returns

GeoEdge2

The edge of chain lying nearest arc.