Method SetWeightAt
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetWeightAt(int, double)
Sets the weight of a control point, as AutoCAD's SetWeightAt: a spline that was not rational is made so, every
other point weighing 1.
public void SetWeightAt(int index, double weight)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no point of the index, or the weight is not above nought.
- InvalidOperationException
Thrown when the spline is erased.