Description:
Fit a sequence of 2d points on a surface to make a curve on the surface.
Syntax:
public static NurbsCurve CreateCurveOnSurface(
Surface surface,
IEnumerable<Point2d> points,
double tolerance,
bool periodic
)
Surface surface,
IEnumerable<Point2d> points,
double tolerance,
bool periodic
)
Parameters:
- surface
- Type: Surface
- Surface on which to construct curve.
- points
- Type: IEnumerable<Point2d>
- Parameter space coordinates of the points to interpolate.
- tolerance
- Type: double
- Curve should be within tolerance of surface and points.
- periodic
- Type: bool
- When True make a periodic curve.
Returns:
Type: NurbsCurve
A curve interpolating the points if successful, None on error.
Remarks:
To produce the input points, use Surface.CreateCurveOnSurfacePoints.
Available since:
6.3