Click or drag to resize

NurbsSurfaceCreateCurveOnSurface Method

Fit a sequence of 2d points on a surface to make a curve on the surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.3
Syntax
public static NurbsCurve CreateCurveOnSurface(
	Surface surface,
	IEnumerable<Point2d> points,
	double tolerance,
	bool periodic
)

Parameters

surface
Type: Rhino.GeometrySurface
Surface on which to construct curve.
points
Type: System.Collections.GenericIEnumerablePoint2d
Parameter space coordinates of the points to interpolate.
tolerance
Type: SystemDouble
Curve should be within tolerance of surface and points.
periodic
Type: SystemBoolean
When true make a periodic curve.

Return Value

Type: NurbsCurve
A curve interpolating the points if successful, null on error.
Remarks
To produce the input points, use Surface.CreateCurveOnSurfacePoints.
See Also