Table of Contents

Method GetSplitCurves

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetSplitCurves(IReadOnlyList<double>)

Gets the pieces the xline is cut into at parameters, as AutoCAD's GetSplitCurves: a ray from the first parameter running back, lines from each parameter to the next, and a ray from the last running on, all of the same look in no file; the parameters taken in increasing order, one within the point tolerance of another cutting nothing, and an xline cut nowhere given whole, as a copy.

public override IReadOnlyList<DxfCurve> GetSplitCurves(IReadOnlyList<double> parameters)

Parameters

parameters IReadOnlyList<double>

The distances from the base point to cut at, below nought behind it.

Returns

IReadOnlyList<DxfCurve>

The pieces, in the order of the xline.

Exceptions

ArgumentNullException

Thrown when the parameters are null.

ArgumentOutOfRangeException

Thrown when a parameter is not a finite number.