CurveCreatePeriodicCurve Method (Curve, Boolean)
Removes kinks from a curve. Periodic curves deform smoothly without kinks.
RhinoCommon (in RhinoCommon.dll)
public static Curve CreatePeriodicCurve(
Public Shared Function CreatePeriodicCurve (
curve As Curve,
smooth As Boolean
) As Curve
- Type: Rhino.GeometryCurve
The curve to make periodic. Curve must have degree >= 2.
- Type: SystemBoolean
If true, smooths any kinks in the curve and moves control points to make a smooth curve.
If false, control point locations are not changed or changed minimally (only one point may move) and only the knot vector is altered.
The resulting curve if successful, null otherwise.