Description:

Computes a discrete spline curve on the surface. In other words, computes a sequence of points on the surface, each with a corresponding parameter value.

Syntax:
public static Point2d[] CreateCurveOnSurfacePoints(
Surface surface,
IEnumerable<Point2d> fixedPoints,
double tolerance,
bool periodic,
int initCount,
int levels
)
Parameters:
  • surface
  • Type: Surface
  • The surface on which the curve is constructed. The surface should be G1 continuous. If the surface is closed in the u or v direction and is G1 at the seam, the function will construct point sequences that cross over the seam.
  • fixedPoints
  • Type: IEnumerable<Point2d>
  • Surface points to interpolate given by parameters. These must be distinct.
  • tolerance
  • Type: double
  • Relative tolerance used by the solver. When in doubt, use a tolerance of 0.0.
  • periodic
  • Type: bool
  • When True constructs a smoothly closed curve.
  • initCount
  • Type: int
  • Maximum number of points to insert between fixed points on the first level.
  • levels
  • Type: int
  • The number of levels (between 1 and 3) to be used in multi-level solver. Use 1 for single level solve.
Returns:
Type: Point2d[]
A sequence of surface points, given by surface parameters, if successful. The number of output points is approximately: 2 ^ (level-1) * initCount * fixedPoints.Count.
Remarks:
To create a curve from the output points, use Surface.CreateCurveOnSurface.
Available since:
6.3

/
/
/
CreateCurveOnSurfacePoints

CreateCurveOnSurfacePoints method

Class:  Rhino.Geometry.NurbsSurface

Nothing found