Method GetSplitCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetSplitCurves(IReadOnlyList<double>)
Gets the pieces the ellipse is cut into at parameters, as AutoCAD's GetSplitCurves: parts of it of the same
look in no file. A part is cut from its start to the first parameter, on to the next and to its end; a whole one
from each parameter to the next round it and from the last round to the first, given whole where it is cut at fewer
than two places. A parameter at an end or within the point tolerance along it of another cuts nothing.
public override IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<double> parameters)
Parameters
parametersIReadOnlyList<double>The parameters to cut at, from StartParam to EndParam.
Returns
- IReadOnlyList<DxfCurve>
The pieces, in the order of the ellipse.
Exceptions
- ArgumentNullException
Thrown when the parameters are null.
- ArgumentOutOfRangeException
Thrown when a parameter is past either end.