Table of Contents

Method RemoveControlPointAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

RemoveControlPointAt(int)

Takes a control point out, as AutoCAD's RemoveControlPointAt: the point and its weight, and the knot inside the spline its putting in would have added, that of the span the point works most in, so that the spline stays one; the curve changes, and the fit data are taken out.

public void RemoveControlPointAt(int index)

Parameters

index int

The index of the point, from nought.

Exceptions

ArgumentOutOfRangeException

Thrown when there is no point of the index.

InvalidOperationException

Thrown when the spline has as few points as its degree and one, which it keeps, has no data that make a spline, or is erased.