NurbsCurveFitParametersMaximumPointCountForDegree Method |
Given a point count and periodic setting, determine the maximum degree.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static int MaximumPointCountForDegree(
int degree,
bool bClosed,
bool bSubDFriendly
)
Public Shared Function MaximumPointCountForDegree (
degree As Integer,
bClosed As Boolean,
bSubDFriendly As Boolean
) As Integer
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