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
pointGeoPoint2
Returns
GetClosestEdge(GeoPoint2, Tolerance)
Gets the edge of this chain nearest a point, within a tolerance.
public GeoEdge2 GetClosestEdge(GeoPoint2 point, Tolerance tolerance)
Parameters
Returns
GetClosestEdge(GeoLine2)
Gets the edge of this chain nearest a segment.
public GeoEdge2 GetClosestEdge(GeoLine2 line)
Parameters
lineGeoLine2
Returns
GetClosestEdge(GeoLine2, Tolerance)
Gets the edge of this chain nearest a segment, within a tolerance.
public GeoEdge2 GetClosestEdge(GeoLine2 line, Tolerance tolerance)
Parameters
Returns
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
circleGeoCircle2
Returns
GetClosestEdge(GeoCircle2, Tolerance)
Gets the edge of this chain nearest a circle, within a tolerance.
public GeoEdge2 GetClosestEdge(GeoCircle2 circle, Tolerance tolerance)
Parameters
circleGeoCircle2toleranceTolerance
Returns
GetClosestEdge(GeoArc2)
Gets the edge of this chain nearest an arc.
public GeoEdge2 GetClosestEdge(GeoArc2 arc)
Parameters
arcGeoArc2
Returns
GetClosestEdge(GeoArc2, Tolerance)
Gets the edge of this chain nearest an arc, within a tolerance.
public GeoEdge2 GetClosestEdge(GeoArc2 arc, Tolerance tolerance)
Parameters
Returns
GetClosestEdge(GeoEdge2)
Gets the edge of this curved chain nearest an edge.
public GeoEdge2 GetClosestEdge(GeoEdge2 edge)
Parameters
edgeGeoEdge2
Returns
GetClosestEdge(GeoEdge2, Tolerance)
Gets the edge of this curved chain nearest an edge, within a tolerance.
public GeoEdge2 GetClosestEdge(GeoEdge2 edge, Tolerance tolerance)