Table of Contents

Method GetClosestEdge

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestEdge(GeoPoint2)

Gets the edge of this chain nearest a point.

public GeoEdge2 GetClosestEdge(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoEdge2

GetClosestEdge(GeoPoint2, Tolerance)

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

public GeoEdge2 GetClosestEdge(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

GeoEdge2

GetClosestEdge(GeoLine2)

Gets the edge of this chain nearest a segment.

public GeoEdge2 GetClosestEdge(GeoLine2 line)

Parameters

line GeoLine2

Returns

GeoEdge2

GetClosestEdge(GeoLine2, Tolerance)

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

public GeoEdge2 GetClosestEdge(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

GeoEdge2

Remarks

The answer is a GeoEdge2 rather than a segment, because the nearest piece of this chain may be an arc.

GetClosestEdge(GeoCircle2)

Gets the edge of this chain nearest a circle.

public GeoEdge2 GetClosestEdge(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoEdge2

GetClosestEdge(GeoCircle2, Tolerance)

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

public GeoEdge2 GetClosestEdge(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

GeoEdge2

GetClosestEdge(GeoArc2)

Gets the edge of this chain nearest an arc.

public GeoEdge2 GetClosestEdge(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoEdge2

GetClosestEdge(GeoArc2, Tolerance)

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

public GeoEdge2 GetClosestEdge(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

GeoEdge2

GetClosestEdge(GeoEdge2)

Gets the edge of this curved chain nearest an edge.

public GeoEdge2 GetClosestEdge(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoEdge2

GetClosestEdge(GeoEdge2, Tolerance)

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

public GeoEdge2 GetClosestEdge(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

GeoEdge2