Table of Contents

Method GetShortestLineTo

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetShortestLineTo(GeoFace2, GeoPoint2)

Gets the shortest segment leaving the boundary of a face and landing on a point.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPoint2 point)

Parameters

face GeoFace2
point GeoPoint2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPoint2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a point, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPoint2 point, Tolerance tolerance)

Parameters

face GeoFace2
point GeoPoint2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoLine2)

Gets the shortest segment leaving the boundary of a face and landing on a segment.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoLine2 line)

Parameters

face GeoFace2
line GeoLine2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoLine2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a segment, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoLine2 line, Tolerance tolerance)

Parameters

face GeoFace2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoArc2)

Gets the shortest segment leaving the boundary of a face and landing on a arc.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoArc2 arc)

Parameters

face GeoFace2
arc GeoArc2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoArc2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a arc, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoArc2 arc, Tolerance tolerance)

Parameters

face GeoFace2
arc GeoArc2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoCircle2)

Gets the shortest segment leaving the boundary of a face and landing on a circle.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoCircle2 circle)

Parameters

face GeoFace2
circle GeoCircle2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoCircle2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a circle, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoCircle2 circle, Tolerance tolerance)

Parameters

face GeoFace2
circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoRectangle2)

Gets the shortest segment leaving the boundary of a face and landing on a rectangle.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoRectangle2 rect)

Parameters

face GeoFace2
rect GeoRectangle2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoRectangle2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a rectangle, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoRectangle2 rect, Tolerance tolerance)

Parameters

face GeoFace2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolyline2)

Gets the shortest segment leaving the boundary of a face and landing on a polyline.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolyline2 polyline)

Parameters

face GeoFace2
polyline GeoPolyline2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolyline2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a polyline, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolyline2 polyline, Tolerance tolerance)

Parameters

face GeoFace2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolygon2)

Gets the shortest segment leaving the boundary of a face and landing on a polygon.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolygon2 polygon)

Parameters

face GeoFace2
polygon GeoPolygon2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolygon2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a polygon, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolygon2 polygon, Tolerance tolerance)

Parameters

face GeoFace2
polygon GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolygonArc2)

Gets the shortest segment leaving the boundary of a face and landing on a curved loop.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolygonArc2 loop)

Parameters

face GeoFace2
loop GeoPolygonArc2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolygonArc2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a curved loop, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

face GeoFace2
loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolylineArc2)

Gets the shortest segment leaving the boundary of a face and landing on a curved chain.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolylineArc2 chain)

Parameters

face GeoFace2
chain GeoPolylineArc2

Returns

GeoLine2

GetShortestLineTo(GeoFace2, GeoPolylineArc2, Tolerance)

Gets the shortest segment leaving the boundary of a face and landing on a curved chain, within a tolerance.

public static GeoLine2 GetShortestLineTo(GeoFace2 face, GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

face GeoFace2
chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoLine2