Property Weights
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Weights
Gets or sets the weights (groups 41), a new list on each call: empty for a spline that is not rational, as the file has none.
public IReadOnlyList<double> Weights { get; set; }
Property Value
- IReadOnlyList<double>
Set, one to each control point, or none; flag 4 of group 70 said with them.
Exceptions
- ArgumentNullException
Thrown when the weights set are null.
- ArgumentOutOfRangeException
Thrown when a weight set is not above nought.
- ArgumentException
Thrown when the weights are neither none nor one to each control point.
- InvalidOperationException
Thrown when set on a spline that is erased.