Click or drag to resize

NurbsCurveFitParametersMaximumPointCountForDegree Method

Given a point count and periodic setting, determine the maximum degree.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static int MaximumPointCountForDegree(
	int degree,
	bool bClosed,
	bool bSubDFriendly
)

Parameters

degree
Type: SystemInt32
Degree of output NURBS curve.
bClosed
Type: SystemBoolean
True if the output NURBS curve will be closed.
bSubDFriendly
Type: SystemBoolean
True if the output NURBS curve will be SubDFriendly.

Return Value

Type: Int32
Maximum permitted degree.
See Also