Method GetShortestLineTo
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetShortestLineTo(GeoPolygonArc2, GeoLine2)
Gets the shortest segment joining a curved loop to a segment.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoLine2 line)
Parameters
loopGeoPolygonArc2lineGeoLine2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoLine2, Tolerance)
Gets the shortest segment joining a curved loop to a segment, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoLine2 line, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
lineGeoLine2The segment the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing online.
GetShortestLineTo(GeoPolygonArc2, GeoArc2)
Gets the shortest segment joining a curved loop to an arc.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoArc2 arc)
Parameters
loopGeoPolygonArc2arcGeoArc2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoArc2, Tolerance)
Gets the shortest segment joining a curved loop to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoArc2 arc, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing onarc.
GetShortestLineTo(GeoPolygonArc2, GeoCircle2)
Gets the shortest segment joining a curved loop to a circle.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoCircle2 circle)
Parameters
loopGeoPolygonArc2circleGeoCircle2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoCircle2, Tolerance)
Gets the shortest segment joining a curved loop to a circle, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoCircle2 circle, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
circleGeoCircle2The circle the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing oncircle.
GetShortestLineTo(GeoPolygonArc2, GeoPolygon2)
Gets the shortest segment joining a curved loop to a polygon.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygon2 polygon)
Parameters
loopGeoPolygonArc2polygonGeoPolygon2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoPolygon2, Tolerance)
Gets the shortest segment joining a curved loop to a polygon, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygon2 polygon, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
polygonGeoPolygon2The polygon the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing onpolygon.
GetShortestLineTo(GeoPolygonArc2, GeoPolyline2)
Gets the shortest segment joining a curved loop to a polyline.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolyline2 polyline)
Parameters
loopGeoPolygonArc2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoPolyline2, Tolerance)
Gets the shortest segment joining a curved loop to a polyline, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
polylineGeoPolyline2The polyline the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing onpolyline.
GetShortestLineTo(GeoPolygonArc2, GeoPolygonArc2)
Gets the shortest segment joining a curved loop to another curved loop.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygonArc2 other)
Parameters
loopGeoPolygonArc2otherGeoPolygonArc2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a curved loop to another curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygonArc2 other, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
otherGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing onother.
GetShortestLineTo(GeoPolygonArc2, GeoPolylineArc2)
Gets the shortest segment joining a curved loop to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolylineArc2 chain)
Parameters
loopGeoPolygonArc2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoPolygonArc2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a curved loop to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
loopGeoPolygonArc2The curved loop the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
loopand landing onchain.
GetShortestLineTo(GeoPolylineArc2, GeoLine2)
Gets the shortest segment joining a curved chain to a segment.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoLine2 line)
Parameters
chainGeoPolylineArc2lineGeoLine2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoLine2, Tolerance)
Gets the shortest segment joining a curved chain to a segment, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoLine2 line, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
lineGeoLine2The segment the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing online.
GetShortestLineTo(GeoPolylineArc2, GeoArc2)
Gets the shortest segment joining a curved chain to an arc.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoArc2 arc)
Parameters
chainGeoPolylineArc2arcGeoArc2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoArc2, Tolerance)
Gets the shortest segment joining a curved chain to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoArc2 arc, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing onarc.
GetShortestLineTo(GeoPolylineArc2, GeoCircle2)
Gets the shortest segment joining a curved chain to a circle.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoCircle2 circle)
Parameters
chainGeoPolylineArc2circleGeoCircle2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoCircle2, Tolerance)
Gets the shortest segment joining a curved chain to a circle, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoCircle2 circle, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
circleGeoCircle2The circle the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing oncircle.
GetShortestLineTo(GeoPolylineArc2, GeoPolygon2)
Gets the shortest segment joining a curved chain to a polygon.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygon2 polygon)
Parameters
chainGeoPolylineArc2polygonGeoPolygon2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoPolygon2, Tolerance)
Gets the shortest segment joining a curved chain to a polygon, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygon2 polygon, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
polygonGeoPolygon2The polygon the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing onpolygon.
GetShortestLineTo(GeoPolylineArc2, GeoPolyline2)
Gets the shortest segment joining a curved chain to a polyline.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolyline2 polyline)
Parameters
chainGeoPolylineArc2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoPolyline2, Tolerance)
Gets the shortest segment joining a curved chain to a polyline, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
polylineGeoPolyline2The polyline the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing onpolyline.
GetShortestLineTo(GeoPolylineArc2, GeoPolygonArc2)
Gets the shortest segment joining a curved chain to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygonArc2 loop)
Parameters
chainGeoPolylineArc2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a curved chain to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing onloop.
GetShortestLineTo(GeoPolylineArc2, GeoPolylineArc2)
Gets the shortest segment joining a curved chain to another curved chain.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolylineArc2 other)
Parameters
chainGeoPolylineArc2otherGeoPolylineArc2
Returns
GetShortestLineTo(GeoPolylineArc2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a curved chain to another curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolylineArc2 other, Tolerance tolerance)
Parameters
chainGeoPolylineArc2The curved chain the segment leaves.
otherGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
chainand landing onother.
GetShortestLineTo(GeoLine2, GeoLine2)
Finds the shortest line segment connecting a point on line1 to a point on line2 using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line1, GeoLine2 line2)
Parameters
Returns
GetShortestLineTo(GeoLine2, GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on line1 to a point on line2 within tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line1, GeoLine2 line2, Tolerance tolerance)
Parameters
line1GeoLine2The first line segment.
line2GeoLine2The second line segment.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoLine2, GeoCircle2)
Finds the shortest line segment connecting a point on line to a point on the circumference of circle using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoCircle2 circle)
Parameters
lineGeoLine2The line segment.
circleGeoCircle2The circle.
Returns
GetShortestLineTo(GeoLine2, GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on line to a point on the circumference of circle within tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoCircle2 circle, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
circleGeoCircle2The circle.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoLine2, GeoRectangle2)
Finds the shortest line segment connecting a point on line to a point on the boundary of rect using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoRectangle2 rect)
Parameters
lineGeoLine2The line segment.
rectGeoRectangle2The rectangle.
Returns
GetShortestLineTo(GeoLine2, GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on line to a point on the boundary of rect within tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoRectangle2 rect, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
rectGeoRectangle2The rectangle.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoLine2, GeoPolyline2)
Finds the shortest line segment connecting a point on line to a point on the polyline path of polyline using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolyline2 polyline)
Parameters
lineGeoLine2The line segment.
polylineGeoPolyline2The polyline.
Returns
GetShortestLineTo(GeoLine2, GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on line to a point on the polyline path of polyline within tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
polylineGeoPolyline2The polyline.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoLine2, GeoPolygon2)
Finds the shortest line segment connecting a point on line to a point on the boundary of poly using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolygon2 poly)
Parameters
lineGeoLine2The line segment.
polyGeoPolygon2The polygon.
Returns
GetShortestLineTo(GeoLine2, GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on line to a point on the boundary of poly within tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolygon2 poly, Tolerance tolerance)
Parameters
lineGeoLine2The line segment.
polyGeoPolygon2The polygon.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoCircle2, GeoLine2)
Finds the shortest line segment connecting a point on the circumference of circle to a point on line using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoLine2 line)
Parameters
circleGeoCircle2lineGeoLine2
Returns
GetShortestLineTo(GeoCircle2, GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on the circumference of circle to a point on line within tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoLine2 line, Tolerance tolerance)
Parameters
circleGeoCircle2lineGeoLine2toleranceTolerance
Returns
GetShortestLineTo(GeoCircle2, GeoCircle2)
Finds the shortest line segment connecting a point on the circumference of c1 to a point on the circumference of c2 using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 c1, GeoCircle2 c2)
Parameters
c1GeoCircle2c2GeoCircle2
Returns
GetShortestLineTo(GeoCircle2, GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on the circumference of c1 to a point on the circumference of c2 within tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 c1, GeoCircle2 c2, Tolerance tolerance)
Parameters
c1GeoCircle2c2GeoCircle2toleranceTolerance
Returns
GetShortestLineTo(GeoCircle2, GeoRectangle2)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the boundary of rect using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoRectangle2 rect)
Parameters
circleGeoCircle2rectGeoRectangle2
Returns
GetShortestLineTo(GeoCircle2, GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the boundary of rect within tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoRectangle2 rect, Tolerance tolerance)
Parameters
circleGeoCircle2rectGeoRectangle2toleranceTolerance
Returns
GetShortestLineTo(GeoCircle2, GeoPolyline2)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the polyline path of polyline using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolyline2 polyline)
Parameters
circleGeoCircle2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoCircle2, GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the polyline path of polyline within tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
circleGeoCircle2polylineGeoPolyline2toleranceTolerance
Returns
GetShortestLineTo(GeoCircle2, GeoPolygon2)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the boundary of poly using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolygon2 poly)
Parameters
circleGeoCircle2polyGeoPolygon2
Returns
GetShortestLineTo(GeoCircle2, GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on the circumference of circle to a point on the boundary of poly within tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolygon2 poly, Tolerance tolerance)
Parameters
circleGeoCircle2polyGeoPolygon2toleranceTolerance
Returns
GetShortestLineTo(GeoRectangle2, GeoLine2)
Finds the shortest line segment connecting a point on the boundary of rect to a point on line using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoLine2 line)
Parameters
rectGeoRectangle2lineGeoLine2
Returns
GetShortestLineTo(GeoRectangle2, GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of rect to a point on line within tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoLine2 line, Tolerance tolerance)
Parameters
rectGeoRectangle2lineGeoLine2toleranceTolerance
Returns
GetShortestLineTo(GeoRectangle2, GeoCircle2)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the circumference of circle using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoCircle2 circle)
Parameters
rectGeoRectangle2circleGeoCircle2
Returns
GetShortestLineTo(GeoRectangle2, GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the circumference of circle within tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoCircle2 circle, Tolerance tolerance)
Parameters
rectGeoRectangle2circleGeoCircle2toleranceTolerance
Returns
GetShortestLineTo(GeoRectangle2, GeoRectangle2)
Finds the shortest line segment connecting a point on the boundary of r1 to a point on the boundary of r2 using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 r1, GeoRectangle2 r2)
Parameters
r1GeoRectangle2r2GeoRectangle2
Returns
GetShortestLineTo(GeoRectangle2, GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of r1 to a point on the boundary of r2 within tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 r1, GeoRectangle2 r2, Tolerance tolerance)
Parameters
r1GeoRectangle2r2GeoRectangle2toleranceTolerance
Returns
GetShortestLineTo(GeoRectangle2, GeoPolyline2)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the polyline path of polyline using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolyline2 polyline)
Parameters
rectGeoRectangle2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoRectangle2, GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the polyline path of polyline within tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
rectGeoRectangle2polylineGeoPolyline2toleranceTolerance
Returns
GetShortestLineTo(GeoRectangle2, GeoPolygon2)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the boundary of poly using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolygon2 poly)
Parameters
rectGeoRectangle2polyGeoPolygon2
Returns
GetShortestLineTo(GeoRectangle2, GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of rect to a point on the boundary of poly within tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolygon2 poly, Tolerance tolerance)
Parameters
rectGeoRectangle2polyGeoPolygon2toleranceTolerance
Returns
GetShortestLineTo(GeoPolyline2, GeoLine2)
Finds the shortest line segment connecting a point on polyline to a point on line using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoLine2 line)
Parameters
polylineGeoPolyline2lineGeoLine2
Returns
GetShortestLineTo(GeoPolyline2, GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on polyline to a point on line within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoLine2 line, Tolerance tolerance)
Parameters
polylineGeoPolyline2lineGeoLine2toleranceTolerance
Returns
GetShortestLineTo(GeoPolyline2, GeoCircle2)
Finds the shortest line segment connecting a point on polyline to a point on the circumference of circle using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoCircle2 circle)
Parameters
polylineGeoPolyline2circleGeoCircle2
Returns
GetShortestLineTo(GeoPolyline2, GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on polyline to a point on the circumference of circle within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoCircle2 circle, Tolerance tolerance)
Parameters
polylineGeoPolyline2circleGeoCircle2toleranceTolerance
Returns
GetShortestLineTo(GeoPolyline2, GeoRectangle2)
Finds the shortest line segment connecting a point on polyline to a point on the boundary of rect using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoRectangle2 rect)
Parameters
polylineGeoPolyline2rectGeoRectangle2
Returns
GetShortestLineTo(GeoPolyline2, GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on polyline to a point on the boundary of rect within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoRectangle2 rect, Tolerance tolerance)
Parameters
polylineGeoPolyline2rectGeoRectangle2toleranceTolerance
Returns
GetShortestLineTo(GeoPolyline2, GeoPolyline2)
Finds the shortest line segment connecting a point on p1 to a point on p2 using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 p1, GeoPolyline2 p2)
Parameters
p1GeoPolyline2p2GeoPolyline2
Returns
GetShortestLineTo(GeoPolyline2, GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on p1 to a point on p2 within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 p1, GeoPolyline2 p2, Tolerance tolerance)
Parameters
p1GeoPolyline2p2GeoPolyline2toleranceTolerance
Returns
GetShortestLineTo(GeoPolyline2, GeoPolygon2)
Finds the shortest line segment connecting a point on polyline to a point on the boundary of poly using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolygon2 poly)
Parameters
polylineGeoPolyline2polyGeoPolygon2
Returns
GetShortestLineTo(GeoPolyline2, GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on polyline to a point on the boundary of poly within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolygon2 poly, Tolerance tolerance)
Parameters
polylineGeoPolyline2polyGeoPolygon2toleranceTolerance
Returns
GetShortestLineTo(GeoPolygon2, GeoLine2)
Finds the shortest line segment connecting a point on the boundary of poly to a point on line using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoLine2 line)
Parameters
polyGeoPolygon2lineGeoLine2
Returns
GetShortestLineTo(GeoPolygon2, GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of poly to a point on line within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoLine2 line, Tolerance tolerance)
Parameters
polyGeoPolygon2lineGeoLine2toleranceTolerance
Returns
GetShortestLineTo(GeoPolygon2, GeoCircle2)
Finds the shortest line segment connecting a point on the boundary of poly to a point on the circumference of circle using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoCircle2 circle)
Parameters
polyGeoPolygon2circleGeoCircle2
Returns
GetShortestLineTo(GeoPolygon2, GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of poly to a point on the circumference of circle within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoCircle2 circle, Tolerance tolerance)
Parameters
polyGeoPolygon2circleGeoCircle2toleranceTolerance
Returns
GetShortestLineTo(GeoPolygon2, GeoRectangle2)
Finds the shortest line segment connecting a point on the boundary of poly to a point on the boundary of rect using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoRectangle2 rect)
Parameters
polyGeoPolygon2rectGeoRectangle2
Returns
GetShortestLineTo(GeoPolygon2, GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of poly to a point on the boundary of rect within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoRectangle2 rect, Tolerance tolerance)
Parameters
polyGeoPolygon2rectGeoRectangle2toleranceTolerance
Returns
GetShortestLineTo(GeoPolygon2, GeoPolyline2)
Finds the shortest line segment connecting a point on the boundary of poly to a point on polyline using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolyline2 polyline)
Parameters
polyGeoPolygon2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoPolygon2, GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of poly to a point on polyline within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
polyGeoPolygon2polylineGeoPolyline2toleranceTolerance
Returns
GetShortestLineTo(GeoPolygon2, GeoPolygon2)
Finds the shortest line segment connecting a point on the boundary of p1 to a point on the boundary of p2 using default tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 p1, GeoPolygon2 p2)
Parameters
p1GeoPolygon2p2GeoPolygon2
Returns
GetShortestLineTo(GeoPolygon2, GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on the boundary of p1 to a point on the boundary of p2 within tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 p1, GeoPolygon2 p2, Tolerance tolerance)
Parameters
p1GeoPolygon2p2GeoPolygon2toleranceTolerance
Returns
GetShortestLineTo(GeoLine2, GeoArc2)
Gets the shortest segment joining a segment to an arc.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoArc2 arc)
Parameters
Returns
GetShortestLineTo(GeoLine2, GeoArc2, Tolerance)
Gets the shortest segment joining a segment to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoArc2 arc, Tolerance tolerance)
Parameters
lineGeoLine2The segment the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
lineand landing onarc.
GetShortestLineTo(GeoLine2, GeoPolygonArc2)
Gets the shortest segment joining a segment to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolygonArc2 loop)
Parameters
lineGeoLine2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoLine2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a segment to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
lineGeoLine2The segment the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
lineand landing onloop.
GetShortestLineTo(GeoLine2, GeoPolylineArc2)
Gets the shortest segment joining a segment to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolylineArc2 chain)
Parameters
lineGeoLine2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoLine2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a segment to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
lineGeoLine2The segment the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
lineand landing onchain.
GetShortestLineTo(GeoCircle2, GeoArc2)
Gets the shortest segment joining a circle to an arc.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoArc2 arc)
Parameters
circleGeoCircle2arcGeoArc2
Returns
GetShortestLineTo(GeoCircle2, GeoArc2, Tolerance)
Gets the shortest segment joining a circle to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoArc2 arc, Tolerance tolerance)
Parameters
circleGeoCircle2The circle the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
circleand landing onarc.
GetShortestLineTo(GeoCircle2, GeoPolygonArc2)
Gets the shortest segment joining a circle to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolygonArc2 loop)
Parameters
circleGeoCircle2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoCircle2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a circle to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
circleGeoCircle2The circle the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
circleand landing onloop.
GetShortestLineTo(GeoCircle2, GeoPolylineArc2)
Gets the shortest segment joining a circle to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolylineArc2 chain)
Parameters
circleGeoCircle2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoCircle2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a circle to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
circleGeoCircle2The circle the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
circleand landing onchain.
GetShortestLineTo(GeoRectangle2, GeoArc2)
Gets the shortest segment joining a rectangle to an arc.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoArc2 arc)
Parameters
rectGeoRectangle2arcGeoArc2
Returns
GetShortestLineTo(GeoRectangle2, GeoArc2, Tolerance)
Gets the shortest segment joining a rectangle to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoArc2 arc, Tolerance tolerance)
Parameters
rectGeoRectangle2The rectangle the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
rectand landing onarc.
GetShortestLineTo(GeoRectangle2, GeoPolygonArc2)
Gets the shortest segment joining a rectangle to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolygonArc2 loop)
Parameters
rectGeoRectangle2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoRectangle2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a rectangle to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
rectGeoRectangle2The rectangle the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
rectand landing onloop.
GetShortestLineTo(GeoRectangle2, GeoPolylineArc2)
Gets the shortest segment joining a rectangle to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolylineArc2 chain)
Parameters
rectGeoRectangle2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoRectangle2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a rectangle to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
rectGeoRectangle2The rectangle the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
rectand landing onchain.
GetShortestLineTo(GeoPolygon2, GeoArc2)
Gets the shortest segment joining a polygon to an arc.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoArc2 arc)
Parameters
polyGeoPolygon2arcGeoArc2
Returns
GetShortestLineTo(GeoPolygon2, GeoArc2, Tolerance)
Gets the shortest segment joining a polygon to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoArc2 arc, Tolerance tolerance)
Parameters
polyGeoPolygon2The polygon the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polyand landing onarc.
GetShortestLineTo(GeoPolygon2, GeoPolygonArc2)
Gets the shortest segment joining a polygon to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolygonArc2 loop)
Parameters
polyGeoPolygon2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoPolygon2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a polygon to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
polyGeoPolygon2The polygon the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polyand landing onloop.
GetShortestLineTo(GeoPolygon2, GeoPolylineArc2)
Gets the shortest segment joining a polygon to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolylineArc2 chain)
Parameters
polyGeoPolygon2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoPolygon2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a polygon to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
polyGeoPolygon2The polygon the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polyand landing onchain.
GetShortestLineTo(GeoPolyline2, GeoArc2)
Gets the shortest segment joining a polyline to an arc.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoArc2 arc)
Parameters
polylineGeoPolyline2arcGeoArc2
Returns
GetShortestLineTo(GeoPolyline2, GeoArc2, Tolerance)
Gets the shortest segment joining a polyline to an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoArc2 arc, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline the segment leaves.
arcGeoArc2The arc the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polylineand landing onarc.
GetShortestLineTo(GeoPolyline2, GeoPolygonArc2)
Gets the shortest segment joining a polyline to a curved loop.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolygonArc2 loop)
Parameters
polylineGeoPolyline2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoPolyline2, GeoPolygonArc2, Tolerance)
Gets the shortest segment joining a polyline to a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline the segment leaves.
loopGeoPolygonArc2The curved loop the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polylineand landing onloop.
GetShortestLineTo(GeoPolyline2, GeoPolylineArc2)
Gets the shortest segment joining a polyline to a curved chain.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolylineArc2 chain)
Parameters
polylineGeoPolyline2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoPolyline2, GeoPolylineArc2, Tolerance)
Gets the shortest segment joining a polyline to a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
polylineGeoPolyline2The polyline the segment leaves.
chainGeoPolylineArc2The curved chain the segment lands on.
toleranceToleranceThe tolerance.
Returns
- GeoLine2
A segment leaving
polylineand landing onchain.