Table of Contents

Method GetSplitCurves

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetSplitCurves(IReadOnlyList<double>)

Gets the pieces the ray is cut into at parameters, as AutoCAD's GetSplitCurves: lines from the base point to the first parameter and on to the next, then a ray from the last, all of the same look in no file; the parameters taken in increasing order, one at the base point or within the point tolerance of another cutting nothing.

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

Parameters

parameters IReadOnlyList<double>

The distances from the base point to cut at.

Returns

IReadOnlyList<DxfCurve>

The pieces, in the order of the ray.

Exceptions

ArgumentNullException

Thrown when the parameters are null.

ArgumentOutOfRangeException

Thrown when a parameter is below nought, or not a finite number.