Method GetSplitCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetSplitCurves(IReadOnlyList<double>)
Gets the pieces the circle is cut into at parameters, as AutoCAD's GetSplitCurves: arcs of the same look in
no file, from each angle to the next counter-clockwise and from the last round to the first. The angles are taken
round the circle from nought; one within the point tolerance along the circle of another cuts nothing, and a circle
cut at fewer than two places is given whole, as a copy.
public override IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<double> parameters)
Parameters
parametersIReadOnlyList<double>The angles to cut at, from nought to 2 pi.
Returns
- IReadOnlyList<DxfCurve>
The pieces, in the order of the circle from its first cut.
Exceptions
- ArgumentNullException
Thrown when the parameters are null.
- ArgumentOutOfRangeException
Thrown when a parameter is past either end.