Table of Contents

Method InsertKnot

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

InsertKnot(double)

Inserts a knot, as AutoCAD's InsertKnot, by Boehm's rule: one control point more, the curve the same. A spline with weights has them carried too. A spline of fit points has them taken out and its fit points read at its knots from then on (the flag 1024), as AutoCAD 2021 saved its cubic through five points given the knot 72.27: 70 1288, 8 control points and the 6 points at its knots as fit points, where the 5 fit points left in it would fit anew of 7.

public void InsertKnot(double param)

Parameters

param double

The knot, inside the spline's domain, from StartParam to EndParam.

Exceptions

ArgumentOutOfRangeException

Thrown when the knot is outside the domain, or not finite.

InvalidOperationException

Thrown when the spline has no control points, its data do not make a spline, or it is erased.