Table of Contents

Method TryTrimTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryTrimTo(GeoPoint2, LineEnd, out GeoLine2)

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

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

Parameters

point GeoPoint2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoPoint2, LineEnd, out GeoLine2, Tolerance)

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

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

Parameters

point GeoPoint2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoLine2, LineEnd, out GeoLine2)

Trims one end of this segment back to where a boundary segment crosses it, using default tolerance.

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

Parameters

boundary GeoLine2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoLine2, LineEnd, out GeoLine2, Tolerance)

Trims one end of this segment back to where a boundary segment crosses it, within tolerance.

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

Parameters

boundary GeoLine2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoPolyline2, LineEnd, out GeoLine2)

Trims one end of this segment back to the nearest place a polyline crosses it, using default tolerance.

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

Parameters

boundary GeoPolyline2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoPolyline2, LineEnd, out GeoLine2, Tolerance)

Trims one end of this segment back to the nearest place a polyline crosses it, within tolerance.

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

Parameters

boundary GeoPolyline2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoPolygon2, LineEnd, out GeoLine2)

Trims one end of this segment back to the nearest place a polygon boundary crosses it, using default tolerance.

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

Parameters

boundary GeoPolygon2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoPolygon2, LineEnd, out GeoLine2, Tolerance)

Trims one end of this segment back to the nearest place a polygon boundary crosses it, within tolerance.

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

Parameters

boundary GeoPolygon2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoCircle2, LineEnd, out GeoLine2)

Trims one end of this segment back to the nearest place a circle crosses it, using default tolerance.

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

Parameters

boundary GeoCircle2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoCircle2, LineEnd, out GeoLine2, Tolerance)

Trims one end of this segment back to the nearest place a circle crosses it, within tolerance.

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

Parameters

boundary GeoCircle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoRectangle2, LineEnd, out GeoLine2)

Trims one end of this segment back to the nearest place a rectangle boundary crosses it, using default tolerance.

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

Parameters

boundary GeoRectangle2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoRectangle2, LineEnd, out GeoLine2, Tolerance)

Trims one end of this segment back to the nearest place a rectangle boundary crosses it, within tolerance.

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

Parameters

boundary GeoRectangle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool

TryTrimTo(GeoTriangle2, LineEnd, out GeoLine2)

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

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

Parameters

boundary GeoTriangle2
end LineEnd
result GeoLine2

Returns

bool

TryTrimTo(GeoTriangle2, LineEnd, out GeoLine2, Tolerance)

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

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

Parameters

boundary GeoTriangle2
end LineEnd
result GeoLine2
tolerance Tolerance

Returns

bool