Description:
Fits a NURBS curve to a dense, ordered set of points.
Syntax:
public static NurbsCurve CreateFromFitPoints(
IEnumerable<Point3d> points,
double tolerance,
bool periodic
)
IEnumerable<Point3d> points,
double tolerance,
bool periodic
)
Parameters:
- points
- Type: IEnumerable<Point3d>
- An enumeration of 3D points.
- tolerance
- Type: double
- The fitting tolerance. When in doubt, use the document's model absolute tolerance.
- periodic
- Type: bool
- Set True to create a periodic curve.
Returns:
Type: NurbsCurve
A NURBS curve if successful, or None on failure.
Available since:
8.0
Description:
Fits a NURBS curve to a dense, ordered set of points.
Parameters:
- points
- Type: IEnumerable<Point3d>
- An enumeration of 3D points.
- tolerance
- Type: double
- The fitting tolerance. When in doubt, use the document's model absolute tolerance.
- degree
- Type: int
- The desired degree of the output curve.
- periodic
- Type: bool
- Set True to create a periodic curve.
- startTangent
- Type: Vector3d
- The tangent direction at the start of the curve. If unknown, set to Vector3d.Unset .
- endTangent
- Type: Vector3d
- The tangent direction at the end of the curve. If unknown, set to Vector3d.Unset .
Returns:
Type: NurbsCurve
A NURBS curve if successful, or None on failure.
Available since:
8.0