Table of Contents

Method TryExtendTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryExtendTo(GeoPoint2, LineEnd, out GeoLine2)

Extends one end of this segment to the foot of the perpendicular from a point, using default tolerance.

public bool TryExtendTo(GeoPoint2 point, LineEnd end, out GeoLine2 result)

Parameters

point GeoPoint2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoPoint2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment to the foot of the perpendicular from a point, within tolerance.

public bool TryExtendTo(GeoPoint2 point, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

point GeoPoint2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoLine2, LineEnd, out GeoLine2)

Extends one end of this segment until it meets a boundary segment, using default tolerance.

public bool TryExtendTo(GeoLine2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoLine2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoLine2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment until it meets a boundary segment, within tolerance.

public bool TryExtendTo(GeoLine2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoLine2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoPolyline2, LineEnd, out GeoLine2)

Extends one end of this segment until it meets a polyline, using default tolerance.

public bool TryExtendTo(GeoPolyline2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoPolyline2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoPolyline2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment until it meets a polyline, within tolerance.

public bool TryExtendTo(GeoPolyline2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoPolyline2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoPolygon2, LineEnd, out GeoLine2)

Extends one end of this segment until it meets the boundary of a polygon, using default tolerance.

public bool TryExtendTo(GeoPolygon2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoPolygon2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoPolygon2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment until it meets the boundary of a polygon, within tolerance.

public bool TryExtendTo(GeoPolygon2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoPolygon2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoCircle2, LineEnd, out GeoLine2)

Extends one end of this segment until it meets a circle, using default tolerance.

public bool TryExtendTo(GeoCircle2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoCircle2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoCircle2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment until it meets a circle, within tolerance.

public bool TryExtendTo(GeoCircle2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoCircle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoRectangle2, LineEnd, out GeoLine2)

Extends one end of this segment until it meets the boundary of a rectangle, using default tolerance.

public bool TryExtendTo(GeoRectangle2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoRectangle2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoRectangle2, LineEnd, out GeoLine2, Tolerance)

Extends one end of this segment until it meets the boundary of a rectangle, within tolerance.

public bool TryExtendTo(GeoRectangle2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoRectangle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryExtendTo(GeoTriangle2, LineEnd, out GeoLine2)

Extends this segment at one end to where it meets the edges of a triangle, using the default tolerance.

public bool TryExtendTo(GeoTriangle2 boundary, LineEnd end, out GeoLine2 result)

Parameters

boundary GeoTriangle2
end LineEnd
result GeoLine2

Returns

bool

TryExtendTo(GeoTriangle2, LineEnd, out GeoLine2, Tolerance)

Extends this segment at one end to where it meets the edges of a triangle, within a tolerance.

public bool TryExtendTo(GeoTriangle2 boundary, LineEnd end, out GeoLine2 result, Tolerance tolerance)

Parameters

boundary GeoTriangle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool