Method TrySplitBy
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TrySplitBy(GeoPoint3, out GeoLine3[])
Splits this segment at a point on it, using the default tolerance.
public bool TrySplitBy(GeoPoint3 point, out GeoLine3[] pieces)
Parameters
Returns
TrySplitBy(GeoPoint3, out GeoLine3[], Tolerance)
Splits this segment at a point on it, within a tolerance.
public bool TrySplitBy(GeoPoint3 point, out GeoLine3[] pieces, Tolerance tolerance)
Parameters
Returns
Remarks
The place is measured along the segment as it is however much shorter than the global tolerance: at a billionth, the segment from (5, 5, 0.0004) to (5, 5, -0.0005) is cut at (5, 5, 0), where it came back whole. See TrySplitBy(GeoLine3, GeoPoint3, out GeoLine3[], Tolerance).
TrySplitBy(GeoPlane3, out GeoLine3[])
Splits this segment where a plane crosses it, using the default tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoLine3[] pieces)
Parameters
Returns
TrySplitBy(GeoPlane3, out GeoLine3[], Tolerance)
Splits this segment where a plane crosses it, within a tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoLine3[] pieces, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoSolid3, out GeoLine3[], out GeoLine3[])
Splits this segment by a solid, sorting the pieces into those inside it and those outside, using the default tolerance.
public bool TrySplitBy(GeoSolid3 cutter, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoSolid3, out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by a solid, within a tolerance.
public bool TrySplitBy(GeoSolid3 cutter, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
Remarks
The segment is measured as it is however much shorter than the global tolerance: at a billionth, the segment from (5, 5, 0.0004) to (5, 5, -0.0005) is cut by the top of the box 10 by 10 by 10 standing under the floor at (5, 5, 0), where the place was measured along it at the global thousandth, at its start, and it came back whole.
TrySplitBy(GeoSolid3[], out GeoLine3[], out GeoLine3[])
Splits this segment by several solids taken together as their union, using the default tolerance.
public bool TrySplitBy(GeoSolid3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoSolid3[], out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by several solids taken together as their union, within a tolerance.
public bool TrySplitBy(GeoSolid3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoObb3, out GeoLine3[], out GeoLine3[])
Splits this segment by an oriented box, using the default tolerance.
public bool TrySplitBy(GeoObb3 cutter, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoObb3, out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by an oriented box, within a tolerance.
public bool TrySplitBy(GeoObb3 cutter, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoAabb3, out GeoLine3[], out GeoLine3[])
Splits this segment by an axis-aligned box, using the default tolerance.
public bool TrySplitBy(GeoAabb3 cutter, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoAabb3, out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by an axis-aligned box, within a tolerance.
public bool TrySplitBy(GeoAabb3 cutter, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoObb3[], out GeoLine3[], out GeoLine3[])
Splits this segment by several oriented boxes taken together as their union, using the default tolerance.
public bool TrySplitBy(GeoObb3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoObb3[], out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by several oriented boxes taken together as their union, within a tolerance.
public bool TrySplitBy(GeoObb3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoAabb3[], out GeoLine3[], out GeoLine3[])
Splits this segment by several axis-aligned boxes taken together as their union, using the default tolerance.
public bool TrySplitBy(GeoAabb3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside)
Parameters
Returns
TrySplitBy(GeoAabb3[], out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by several axis-aligned boxes taken together as their union, within a tolerance.
public bool TrySplitBy(GeoAabb3[] cutters, out GeoLine3[] inside, out GeoLine3[] outside, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoPlane3, out GeoLine3[], out GeoLine3[])
Splits this segment by a plane and sorts the pieces by side, using the default tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoLine3[] above, out GeoLine3[] below)
Parameters
Returns
TrySplitBy(GeoPlane3, out GeoLine3[], out GeoLine3[], Tolerance)
Splits this segment by a plane and sorts the pieces by side, within a tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoLine3[] above, out GeoLine3[] below, Tolerance tolerance)
Parameters
Returns
TrySplitBy(GeoPolygon3, out GeoLine3[])
Splits this segment wherever it passes through a polygon, using the default tolerance.
public bool TrySplitBy(GeoPolygon3 cutter, out GeoLine3[] pieces)
Parameters
cutterGeoPolygon3piecesGeoLine3[]
Returns
TrySplitBy(GeoPolygon3, out GeoLine3[], Tolerance)
Splits this segment wherever it passes through a polygon, within a tolerance.
public bool TrySplitBy(GeoPolygon3 cutter, out GeoLine3[] pieces, Tolerance tolerance)
Parameters
cutterGeoPolygon3piecesGeoLine3[]toleranceTolerance
Returns
TrySplitBy(GeoFace3, out GeoLine3[])
Splits this segment wherever it passes through a face, using the default tolerance.
public bool TrySplitBy(GeoFace3 cutter, out GeoLine3[] pieces)
Parameters
Returns
TrySplitBy(GeoFace3, out GeoLine3[], Tolerance)
Splits this segment wherever it passes through a face, within a tolerance.
public bool TrySplitBy(GeoFace3 cutter, out GeoLine3[] pieces, Tolerance tolerance)