CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Constructs a BSpline2D (NURBS) from its main data
Namespace: CADability.Curve2DAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public BSpline2D( GeoPoint2D[] poles, double[] weights, double[] knots, int[] multiplicities, int degree, bool periodic, double startParam, double endParam ) |
Visual Basic |
---|
Public Sub New ( _ poles As GeoPoint2D(), _ weights As Double(), _ knots As Double(), _ multiplicities As Integer(), _ degree As Integer, _ periodic As Boolean, _ startParam As Double, _ endParam As Double _ ) |
Visual C++ |
---|
public: BSpline2D( array<GeoPoint2D>^ poles, array<double>^ weights, array<double>^ knots, array<int>^ multiplicities, int degree, bool periodic, double startParam, double endParam ) |
Parameters
- poles
- Type: array<CADability..::..GeoPoint2D>[]()[][]
the poles
- weights
- Type: array<System..::..Double>[]()[][]
the weigts or null if not rational
- knots
- Type: array<System..::..Double>[]()[][]
the knot vector
- multiplicities
- Type: array<System..::..Int32>[]()[][]
the multiplicities vector for the knot vector (same size)
- degree
- Type: System..::..Int32
the degree
- periodic
- Type: System..::..Boolean
true for periodic (closed) false otherwise
- startParam
- Type: System..::..Double
startparameter
- endParam
- Type: System..::..Double
endparameter