Click or drag to resize

NurbsCurveCreateFromFitPoints Method (IEnumerablePoint3d, Double, Boolean)

Fits a NURBS curve to a dense, ordered set of points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static NurbsCurve CreateFromFitPoints(
	IEnumerable<Point3d> points,
	double tolerance,
	bool periodic
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
An enumeration of 3D points.
tolerance
Type: SystemDouble
The fitting tolerance. When in doubt, use the document's model absolute tolerance.
periodic
Type: SystemBoolean
Set true to create a periodic curve.

Return Value

Type: NurbsCurve
A NURBS curve if successful, or null on failure.
See Also