CADability dotNET
Makes this BSpline go through the given points. Previous data of this BSpline (if any) is discarded. The BSpline remembers both this points and the calculated poles, multiplicities, knots and weights values. If all points lie in a single plane it is better to use the appropriate ThroughPoints method.

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

Syntax

C#
public bool ThroughPoints(
	GeoPoint[] points,
	int maxDegree,
	bool closed
)
Visual Basic
Public Function ThroughPoints ( _
	points As GeoPoint(), _
	maxDegree As Integer, _
	closed As Boolean _
) As Boolean
Visual C++
public:
bool ThroughPoints(
	array<GeoPoint>^ points, 
	int maxDegree, 
	bool closed
)

Parameters

points
Type: array<CADability..::..GeoPoint>[]()[][]
List of points to pass through
maxDegree
Type: System..::..Int32
maximum degree for the BSpline. Must be between 3 an 25
closed
Type: System..::..Boolean
true if the resulting BSpline should be closed

Return Value

success

See Also