Method GetSplitCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetSplitCurves(IReadOnlyList<double>)
Gets the pieces the line is cut into at parameters, as AutoCAD's GetSplitCurves: lines of the same look in no
file, from the start to the first parameter, on to the next, and to the end, the parameters taken in increasing
order, those at an end or within the point tolerance of another cutting nothing.
public override IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<double> parameters)
Parameters
parametersIReadOnlyList<double>The distances from the start to cut at.
Returns
- IReadOnlyList<DxfCurve>
The pieces, in the order of the line.
Exceptions
- ArgumentNullException
Thrown when the parameters are null.
- ArgumentOutOfRangeException
Thrown when a parameter is past either end.