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
Returns
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
Returns
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
Returns
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
Returns
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
boundaryGeoPolyline2endLineEndresultGeoLine2
Returns
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
boundaryGeoPolyline2endLineEndresultGeoLine2toleranceTolerance
Returns
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
boundaryGeoPolygon2endLineEndresultGeoLine2
Returns
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
boundaryGeoPolygon2endLineEndresultGeoLine2toleranceTolerance
Returns
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
boundaryGeoCircle2endLineEndresultGeoLine2
Returns
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
boundaryGeoCircle2endLineEndresultGeoLine2toleranceTolerance
Returns
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
boundaryGeoRectangle2endLineEndresultGeoLine2
Returns
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
boundaryGeoRectangle2endLineEndresultGeoLine2toleranceTolerance
Returns
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
boundaryGeoTriangle2endLineEndresultGeoLine2
Returns
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
boundaryGeoTriangle2endLineEndresultGeoLine2toleranceTolerance