CADability dotNET
Constructs a BSpline2D (NURBS) by a set of points, that will be interpolated.

Namespace: CADability.Curve2D
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public BSpline2D(
	GeoPoint2D[] throughpoints,
	int degree,
	bool periodic
)
Visual Basic
Public Sub New ( _
	throughpoints As GeoPoint2D(), _
	degree As Integer, _
	periodic As Boolean _
)
Visual C++
public:
BSpline2D(
	array<GeoPoint2D>^ throughpoints, 
	int degree, 
	bool periodic
)

Parameters

throughpoints
Type: array<CADability..::..GeoPoint2D>[]()[][]
the points to be interpolated
degree
Type: System..::..Int32
the degree of the BSpline2D
periodic
Type: System..::..Boolean
true for periodic (closed) false otherwise

See Also