Table of Contents

Method GetClosestEdge

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestEdge(GeoPoint3)

Gets the edge of this loop that comes nearest a point.

public GeoEdge3 GetClosestEdge(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

GeoEdge3

GetClosestEdge(GeoPoint3, Tolerance)

Gets the edge of this loop that comes nearest a point, within a tolerance.

public GeoEdge3 GetClosestEdge(GeoPoint3 point, Tolerance tolerance)

Parameters

point GeoPoint3

The point; it does not have to lie in the loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoEdge3

The edge, as a straight leg or a bend.

Remarks

A point off the plane stands at the same height above every edge, so the nearest edge to it is the nearest edge to its shadow.

GetClosestEdge(GeoLine3)

Gets the edge of this loop that comes nearest a segment in the same plane.

public GeoEdge3 GetClosestEdge(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoEdge3

GetClosestEdge(GeoLine3, Tolerance)

Gets the edge of this loop that comes nearest a segment in the same plane, within a tolerance.

public GeoEdge3 GetClosestEdge(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3

The segment; it has to lie in the loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoEdge3

Exceptions

ArgumentException

Thrown when the segment does not lie in the loop's plane.

GetClosestEdge(GeoArc3)

Gets the edge of this loop that comes nearest an arc in the same plane.

public GeoEdge3 GetClosestEdge(GeoArc3 arc)

Parameters

arc GeoArc3

Returns

GeoEdge3

GetClosestEdge(GeoArc3, Tolerance)

Gets the edge of this loop that comes nearest an arc in the same plane, within a tolerance.

public GeoEdge3 GetClosestEdge(GeoArc3 arc, Tolerance tolerance)

Parameters

arc GeoArc3

The arc; it has to lie in the loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoEdge3

Exceptions

ArgumentException

Thrown when the arc does not lie in the loop's plane.

GetClosestEdge(GeoCircle3)

Gets the edge of this loop that comes nearest a circle in the same plane.

public GeoEdge3 GetClosestEdge(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

GeoEdge3

GetClosestEdge(GeoCircle3, Tolerance)

Gets the edge of this loop that comes nearest a circle in the same plane, within a tolerance.

public GeoEdge3 GetClosestEdge(GeoCircle3 circle, Tolerance tolerance)

Parameters

circle GeoCircle3

The circle; it has to lie in the loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoEdge3

Exceptions

ArgumentException

Thrown when the circle does not lie in the loop's plane.

GetClosestEdge(GeoEdge3)

Gets the edge of this loop that comes nearest an edge in the same plane.

public GeoEdge3 GetClosestEdge(GeoEdge3 edge)

Parameters

edge GeoEdge3

Returns

GeoEdge3

GetClosestEdge(GeoEdge3, Tolerance)

Gets the edge of this loop that comes nearest an edge in the same plane, within a tolerance.

public GeoEdge3 GetClosestEdge(GeoEdge3 edge, Tolerance tolerance)

Parameters

edge GeoEdge3

The edge; it has to lie in the loop's plane.

tolerance Tolerance

The tolerance.

Returns

GeoEdge3

Exceptions

ArgumentException

Thrown when the edge does not lie in the loop's plane.