Method TrySplitAtParameter
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TrySplitAtParameter(double, out GeoEdge2, out GeoEdge2, Tolerance)
Splits the edge at a normalized parameter along it.
public bool TrySplitAtParameter(double parameter, out GeoEdge2 first, out GeoEdge2 second, Tolerance tolerance)
Parameters
parameterdoubleWhere to cut, between 0 and 1.
firstGeoEdge2The piece from the start of the edge to the cut.
secondGeoEdge2The piece from the cut to the end of the edge.
toleranceToleranceThe tolerance: a cut at either end leaves nothing to cut off and is refused.
Returns
- bool
true when the edge was cut in two; otherwise, false.