Table of Contents

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

point GeoPoint3
pieces GeoLine3[]

Returns

bool

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

point GeoPoint3
pieces GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoPlane3
pieces GeoLine3[]

Returns

bool

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

cutter GeoPlane3
pieces GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoSolid3
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutter GeoSolid3
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutters GeoSolid3[]
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutters GeoSolid3[]
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoObb3
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutter GeoObb3
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoAabb3
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutter GeoAabb3
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutters GeoObb3[]
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutters GeoObb3[]
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutters GeoAabb3[]
inside GeoLine3[]
outside GeoLine3[]

Returns

bool

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

cutters GeoAabb3[]
inside GeoLine3[]
outside GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoPlane3
above GeoLine3[]
below GeoLine3[]

Returns

bool

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

cutter GeoPlane3
above GeoLine3[]
below GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoPolygon3
pieces GeoLine3[]

Returns

bool

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

cutter GeoPolygon3
pieces GeoLine3[]
tolerance Tolerance

Returns

bool

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

cutter GeoFace3
pieces GeoLine3[]

Returns

bool

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)

Parameters

cutter GeoFace3
pieces GeoLine3[]
tolerance Tolerance

Returns

bool