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
polyGeoPolygon2The polygon.
pointGeoPoint2The point to measure against.
Returns
- GeoLine2
The edge of
polylying nearestpoint.
GetClosestEdge(GeoPolygon2, GeoLine2)
Gets the edge of a polygon nearest a segment.
public static GeoLine2 GetClosestEdge(GeoPolygon2 poly, GeoLine2 line)
Parameters
polyGeoPolygon2The polygon.
lineGeoLine2The segment to measure against.
Returns
- GeoLine2
The edge of
polylying nearestline.
GetClosestEdge(GeoPolygon2, GeoCircle2)
Gets the edge of a polygon nearest a circle.
public static GeoLine2 GetClosestEdge(GeoPolygon2 poly, GeoCircle2 circle)
Parameters
polyGeoPolygon2The polygon.
circleGeoCircle2The circle to measure against.
Returns
- GeoLine2
The edge of
polylying nearestcircle.
GetClosestEdge(GeoPolyline2, GeoPoint2)
Gets the edge of a polyline nearest a point.
public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoPoint2 point)
Parameters
polylineGeoPolyline2The polyline.
pointGeoPoint2The point to measure against.
Returns
- GeoLine2
The edge of
polylinelying nearestpoint.
GetClosestEdge(GeoPolyline2, GeoLine2)
Gets the edge of a polyline nearest a segment.
public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoLine2 line)
Parameters
polylineGeoPolyline2The polyline.
lineGeoLine2The segment to measure against.
Returns
- GeoLine2
The edge of
polylinelying nearestline.
GetClosestEdge(GeoPolyline2, GeoCircle2)
Gets the edge of a polyline nearest a circle.
public static GeoLine2 GetClosestEdge(GeoPolyline2 polyline, GeoCircle2 circle)
Parameters
polylineGeoPolyline2The polyline.
circleGeoCircle2The circle to measure against.
Returns
- GeoLine2
The edge of
polylinelying nearestcircle.
GetClosestEdge(GeoRectangle2, GeoPoint2)
Gets the edge of a rectangle nearest a point.
public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoPoint2 point)
Parameters
rectGeoRectangle2The rectangle.
pointGeoPoint2The point to measure against.
Returns
- GeoLine2
The edge of
rectlying nearestpoint.
GetClosestEdge(GeoRectangle2, GeoLine2)
Gets the edge of a rectangle nearest a segment.
public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoLine2 line)
Parameters
rectGeoRectangle2The rectangle.
lineGeoLine2The segment to measure against.
Returns
- GeoLine2
The edge of
rectlying nearestline.
GetClosestEdge(GeoRectangle2, GeoCircle2)
Gets the edge of a rectangle nearest a circle.
public static GeoLine2 GetClosestEdge(GeoRectangle2 rect, GeoCircle2 circle)
Parameters
rectGeoRectangle2The rectangle.
circleGeoCircle2The circle to measure against.
Returns
- GeoLine2
The edge of
rectlying nearestcircle.
GetClosestEdge(GeoPolygonArc2, GeoPoint2)
Gets the edge of a curved loop nearest a point.
public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoPoint2 point)
Parameters
loopGeoPolygonArc2The loop.
pointGeoPoint2The point to measure against.
Returns
- GeoEdge2
The edge of
looplying nearestpoint.
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
loopGeoPolygonArc2The loop.
pointGeoPoint2The point to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
looplying nearestpoint.
GetClosestEdge(GeoPolygonArc2, GeoLine2)
Gets the edge of a curved loop nearest a segment.
public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoLine2 line)
Parameters
loopGeoPolygonArc2The loop.
lineGeoLine2The segment to measure against.
Returns
- GeoEdge2
The edge of
looplying nearestline.
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
loopGeoPolygonArc2The loop.
lineGeoLine2The segment to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
looplying nearestline.
GetClosestEdge(GeoPolygonArc2, GeoCircle2)
Gets the edge of a curved loop nearest a circle.
public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoCircle2 circle)
Parameters
loopGeoPolygonArc2The loop.
circleGeoCircle2The circle to measure against.
Returns
- GeoEdge2
The edge of
looplying nearestcircle.
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
loopGeoPolygonArc2The loop.
circleGeoCircle2The circle to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
looplying nearestcircle.
GetClosestEdge(GeoPolygonArc2, GeoArc2)
Gets the edge of a curved loop nearest an arc.
public static GeoEdge2 GetClosestEdge(GeoPolygonArc2 loop, GeoArc2 arc)
Parameters
loopGeoPolygonArc2The loop.
arcGeoArc2The arc to measure against.
Returns
- GeoEdge2
The edge of
looplying nearestarc.
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
loopGeoPolygonArc2The loop.
arcGeoArc2The arc to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
looplying nearestarc.
GetClosestEdge(GeoPolylineArc2, GeoPoint2)
Gets the edge of a curved chain nearest a point.
public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoPoint2 point)
Parameters
chainGeoPolylineArc2The chain.
pointGeoPoint2The point to measure against.
Returns
- GeoEdge2
The edge of
chainlying nearestpoint.
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
chainGeoPolylineArc2The chain.
pointGeoPoint2The point to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
chainlying nearestpoint.
GetClosestEdge(GeoPolylineArc2, GeoLine2)
Gets the edge of a curved chain nearest a segment.
public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoLine2 line)
Parameters
chainGeoPolylineArc2The chain.
lineGeoLine2The segment to measure against.
Returns
- GeoEdge2
The edge of
chainlying nearestline.
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
chainGeoPolylineArc2The chain.
lineGeoLine2The segment to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
chainlying nearestline.
GetClosestEdge(GeoPolylineArc2, GeoCircle2)
Gets the edge of a curved chain nearest a circle.
public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoCircle2 circle)
Parameters
chainGeoPolylineArc2The chain.
circleGeoCircle2The circle to measure against.
Returns
- GeoEdge2
The edge of
chainlying nearestcircle.
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
chainGeoPolylineArc2The chain.
circleGeoCircle2The circle to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
chainlying nearestcircle.
GetClosestEdge(GeoPolylineArc2, GeoArc2)
Gets the edge of a curved chain nearest an arc.
public static GeoEdge2 GetClosestEdge(GeoPolylineArc2 chain, GeoArc2 arc)
Parameters
chainGeoPolylineArc2The chain.
arcGeoArc2The arc to measure against.
Returns
- GeoEdge2
The edge of
chainlying nearestarc.
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
chainGeoPolylineArc2The chain.
arcGeoArc2The arc to measure against.
toleranceToleranceThe tolerance.
Returns
- GeoEdge2
The edge of
chainlying nearestarc.