Table of Contents

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

loop GeoPolygonArc2
line GeoLine2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

line GeoLine2

The segment the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on line.

GetShortestLineTo(GeoPolygonArc2, GeoArc2)

Gets the shortest segment joining a curved loop to an arc.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoArc2 arc)

Parameters

loop GeoPolygonArc2
arc GeoArc2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on arc.

GetShortestLineTo(GeoPolygonArc2, GeoCircle2)

Gets the shortest segment joining a curved loop to a circle.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoCircle2 circle)

Parameters

loop GeoPolygonArc2
circle GeoCircle2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

circle GeoCircle2

The circle the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on circle.

GetShortestLineTo(GeoPolygonArc2, GeoPolygon2)

Gets the shortest segment joining a curved loop to a polygon.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygon2 polygon)

Parameters

loop GeoPolygonArc2
polygon GeoPolygon2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

polygon GeoPolygon2

The polygon the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on polygon.

GetShortestLineTo(GeoPolygonArc2, GeoPolyline2)

Gets the shortest segment joining a curved loop to a polyline.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolyline2 polyline)

Parameters

loop GeoPolygonArc2
polyline GeoPolyline2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

polyline GeoPolyline2

The polyline the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on polyline.

GetShortestLineTo(GeoPolygonArc2, GeoPolygonArc2)

Gets the shortest segment joining a curved loop to another curved loop.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolygonArc2 other)

Parameters

loop GeoPolygonArc2
other GeoPolygonArc2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

other GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on other.

GetShortestLineTo(GeoPolygonArc2, GeoPolylineArc2)

Gets the shortest segment joining a curved loop to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, GeoPolylineArc2 chain)

Parameters

loop GeoPolygonArc2
chain GeoPolylineArc2

Returns

GeoLine2

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

loop GeoPolygonArc2

The curved loop the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving loop and landing on chain.

GetShortestLineTo(GeoPolylineArc2, GeoLine2)

Gets the shortest segment joining a curved chain to a segment.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoLine2 line)

Parameters

chain GeoPolylineArc2
line GeoLine2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

line GeoLine2

The segment the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on line.

GetShortestLineTo(GeoPolylineArc2, GeoArc2)

Gets the shortest segment joining a curved chain to an arc.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoArc2 arc)

Parameters

chain GeoPolylineArc2
arc GeoArc2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on arc.

GetShortestLineTo(GeoPolylineArc2, GeoCircle2)

Gets the shortest segment joining a curved chain to a circle.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoCircle2 circle)

Parameters

chain GeoPolylineArc2
circle GeoCircle2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

circle GeoCircle2

The circle the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on circle.

GetShortestLineTo(GeoPolylineArc2, GeoPolygon2)

Gets the shortest segment joining a curved chain to a polygon.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygon2 polygon)

Parameters

chain GeoPolylineArc2
polygon GeoPolygon2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

polygon GeoPolygon2

The polygon the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on polygon.

GetShortestLineTo(GeoPolylineArc2, GeoPolyline2)

Gets the shortest segment joining a curved chain to a polyline.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolyline2 polyline)

Parameters

chain GeoPolylineArc2
polyline GeoPolyline2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

polyline GeoPolyline2

The polyline the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on polyline.

GetShortestLineTo(GeoPolylineArc2, GeoPolygonArc2)

Gets the shortest segment joining a curved chain to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolygonArc2 loop)

Parameters

chain GeoPolylineArc2
loop GeoPolygonArc2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on loop.

GetShortestLineTo(GeoPolylineArc2, GeoPolylineArc2)

Gets the shortest segment joining a curved chain to another curved chain.

public static GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, GeoPolylineArc2 other)

Parameters

chain GeoPolylineArc2
other GeoPolylineArc2

Returns

GeoLine2

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

chain GeoPolylineArc2

The curved chain the segment leaves.

other GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving chain and landing on other.

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

line1 GeoLine2

The first line segment.

line2 GeoLine2

The second line segment.

Returns

GeoLine2

A GeoLine2 whose start point is on line1 and end point is on line2.

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

line1 GeoLine2

The first line segment.

line2 GeoLine2

The second line segment.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A GeoLine2 whose start point is on line1 and end point is on line2.

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

line GeoLine2

The line segment.

circle GeoCircle2

The circle.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the circumference of circle.

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

line GeoLine2

The line segment.

circle GeoCircle2

The circle.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the circumference of circle.

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

line GeoLine2

The line segment.

rect GeoRectangle2

The rectangle.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the boundary of rect.

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

line GeoLine2

The line segment.

rect GeoRectangle2

The rectangle.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the boundary of rect.

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

line GeoLine2

The line segment.

polyline GeoPolyline2

The polyline.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on polyline.

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

line GeoLine2

The line segment.

polyline GeoPolyline2

The polyline.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on polyline.

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

line GeoLine2

The line segment.

poly GeoPolygon2

The polygon.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the boundary of poly.

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

line GeoLine2

The line segment.

poly GeoPolygon2

The polygon.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A GeoLine2 whose start point is on line and end point is on the boundary of poly.

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

circle GeoCircle2
line GeoLine2

Returns

GeoLine2

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

circle GeoCircle2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

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

c1 GeoCircle2
c2 GeoCircle2

Returns

GeoLine2

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

c1 GeoCircle2
c2 GeoCircle2
tolerance Tolerance

Returns

GeoLine2

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

circle GeoCircle2
rect GeoRectangle2

Returns

GeoLine2

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

circle GeoCircle2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

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

circle GeoCircle2
polyline GeoPolyline2

Returns

GeoLine2

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

circle GeoCircle2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

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

circle GeoCircle2
poly GeoPolygon2

Returns

GeoLine2

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

circle GeoCircle2
poly GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

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

rect GeoRectangle2
line GeoLine2

Returns

GeoLine2

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

rect GeoRectangle2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

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

rect GeoRectangle2
circle GeoCircle2

Returns

GeoLine2

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

rect GeoRectangle2
circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

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

r1 GeoRectangle2
r2 GeoRectangle2

Returns

GeoLine2

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

r1 GeoRectangle2
r2 GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

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

rect GeoRectangle2
polyline GeoPolyline2

Returns

GeoLine2

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

rect GeoRectangle2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

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

rect GeoRectangle2
poly GeoPolygon2

Returns

GeoLine2

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

rect GeoRectangle2
poly GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

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

polyline GeoPolyline2
line GeoLine2

Returns

GeoLine2

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

polyline GeoPolyline2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

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

polyline GeoPolyline2
circle GeoCircle2

Returns

GeoLine2

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

polyline GeoPolyline2
circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

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

polyline GeoPolyline2
rect GeoRectangle2

Returns

GeoLine2

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

polyline GeoPolyline2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

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

p1 GeoPolyline2
p2 GeoPolyline2

Returns

GeoLine2

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

p1 GeoPolyline2
p2 GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

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

polyline GeoPolyline2
poly GeoPolygon2

Returns

GeoLine2

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

polyline GeoPolyline2
poly GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

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

poly GeoPolygon2
line GeoLine2

Returns

GeoLine2

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

poly GeoPolygon2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

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

poly GeoPolygon2
circle GeoCircle2

Returns

GeoLine2

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

poly GeoPolygon2
circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

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

poly GeoPolygon2
rect GeoRectangle2

Returns

GeoLine2

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

poly GeoPolygon2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

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

poly GeoPolygon2
polyline GeoPolyline2

Returns

GeoLine2

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

poly GeoPolygon2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

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

p1 GeoPolygon2
p2 GeoPolygon2

Returns

GeoLine2

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

p1 GeoPolygon2
p2 GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoLine2, GeoArc2)

Gets the shortest segment joining a segment to an arc.

public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoArc2 arc)

Parameters

line GeoLine2
arc GeoArc2

Returns

GeoLine2

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

line GeoLine2

The segment the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving line and landing on arc.

GetShortestLineTo(GeoLine2, GeoPolygonArc2)

Gets the shortest segment joining a segment to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolygonArc2 loop)

Parameters

line GeoLine2
loop GeoPolygonArc2

Returns

GeoLine2

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

line GeoLine2

The segment the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving line and landing on loop.

GetShortestLineTo(GeoLine2, GeoPolylineArc2)

Gets the shortest segment joining a segment to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoLine2 line, GeoPolylineArc2 chain)

Parameters

line GeoLine2
chain GeoPolylineArc2

Returns

GeoLine2

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

line GeoLine2

The segment the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving line and landing on chain.

GetShortestLineTo(GeoCircle2, GeoArc2)

Gets the shortest segment joining a circle to an arc.

public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoArc2 arc)

Parameters

circle GeoCircle2
arc GeoArc2

Returns

GeoLine2

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

circle GeoCircle2

The circle the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving circle and landing on arc.

GetShortestLineTo(GeoCircle2, GeoPolygonArc2)

Gets the shortest segment joining a circle to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolygonArc2 loop)

Parameters

circle GeoCircle2
loop GeoPolygonArc2

Returns

GeoLine2

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

circle GeoCircle2

The circle the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving circle and landing on loop.

GetShortestLineTo(GeoCircle2, GeoPolylineArc2)

Gets the shortest segment joining a circle to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoCircle2 circle, GeoPolylineArc2 chain)

Parameters

circle GeoCircle2
chain GeoPolylineArc2

Returns

GeoLine2

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

circle GeoCircle2

The circle the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving circle and landing on chain.

GetShortestLineTo(GeoRectangle2, GeoArc2)

Gets the shortest segment joining a rectangle to an arc.

public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoArc2 arc)

Parameters

rect GeoRectangle2
arc GeoArc2

Returns

GeoLine2

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

rect GeoRectangle2

The rectangle the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving rect and landing on arc.

GetShortestLineTo(GeoRectangle2, GeoPolygonArc2)

Gets the shortest segment joining a rectangle to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolygonArc2 loop)

Parameters

rect GeoRectangle2
loop GeoPolygonArc2

Returns

GeoLine2

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

rect GeoRectangle2

The rectangle the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving rect and landing on loop.

GetShortestLineTo(GeoRectangle2, GeoPolylineArc2)

Gets the shortest segment joining a rectangle to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoRectangle2 rect, GeoPolylineArc2 chain)

Parameters

rect GeoRectangle2
chain GeoPolylineArc2

Returns

GeoLine2

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

rect GeoRectangle2

The rectangle the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving rect and landing on chain.

GetShortestLineTo(GeoPolygon2, GeoArc2)

Gets the shortest segment joining a polygon to an arc.

public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoArc2 arc)

Parameters

poly GeoPolygon2
arc GeoArc2

Returns

GeoLine2

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

poly GeoPolygon2

The polygon the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving poly and landing on arc.

GetShortestLineTo(GeoPolygon2, GeoPolygonArc2)

Gets the shortest segment joining a polygon to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolygonArc2 loop)

Parameters

poly GeoPolygon2
loop GeoPolygonArc2

Returns

GeoLine2

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

poly GeoPolygon2

The polygon the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving poly and landing on loop.

GetShortestLineTo(GeoPolygon2, GeoPolylineArc2)

Gets the shortest segment joining a polygon to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoPolygon2 poly, GeoPolylineArc2 chain)

Parameters

poly GeoPolygon2
chain GeoPolylineArc2

Returns

GeoLine2

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

poly GeoPolygon2

The polygon the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving poly and landing on chain.

GetShortestLineTo(GeoPolyline2, GeoArc2)

Gets the shortest segment joining a polyline to an arc.

public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoArc2 arc)

Parameters

polyline GeoPolyline2
arc GeoArc2

Returns

GeoLine2

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

polyline GeoPolyline2

The polyline the segment leaves.

arc GeoArc2

The arc the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving polyline and landing on arc.

GetShortestLineTo(GeoPolyline2, GeoPolygonArc2)

Gets the shortest segment joining a polyline to a curved loop.

public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolygonArc2 loop)

Parameters

polyline GeoPolyline2
loop GeoPolygonArc2

Returns

GeoLine2

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

polyline GeoPolyline2

The polyline the segment leaves.

loop GeoPolygonArc2

The curved loop the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving polyline and landing on loop.

GetShortestLineTo(GeoPolyline2, GeoPolylineArc2)

Gets the shortest segment joining a polyline to a curved chain.

public static GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, GeoPolylineArc2 chain)

Parameters

polyline GeoPolyline2
chain GeoPolylineArc2

Returns

GeoLine2

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

polyline GeoPolyline2

The polyline the segment leaves.

chain GeoPolylineArc2

The curved chain the segment lands on.

tolerance Tolerance

The tolerance.

Returns

GeoLine2

A segment leaving polyline and landing on chain.