Method GetSplitCurves
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetSplitCurves(IReadOnlyList<double>)
Gets the pieces the curve is cut into at parameters, as AutoCAD's GetSplitCurves: new entities in no file.
public virtual IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<double> parameters)
Parameters
parametersIReadOnlyList<double>The parameters to cut at.
Returns
- IReadOnlyList<DxfCurve>
The pieces, in the order of the curve.
Exceptions
- NotSupportedException
Thrown where the class does not split.
GetSplitCurves(IReadOnlyList<GeoPoint3>)
Gets the pieces the curve is cut into at points of it, as AutoCAD's GetSplitCurves: new entities in no file.
public IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<GeoPoint3> points)
Parameters
pointsIReadOnlyList<GeoPoint3>The points to cut at, on the curve.
Returns
- IReadOnlyList<DxfCurve>
The pieces, in the order of the curve.
Exceptions
- ArgumentNullException
Thrown when the points are null.
- ArgumentException
Thrown when a point is not on the curve.
- NotSupportedException
Thrown where the class does not split.