SurfaceCreatePeriodicSurface Method (Surface, Int32, Boolean)
Constructs a periodic surface from a base surface and a direction.
RhinoCommon (in RhinoCommon.dll)
public static Surface CreatePeriodicSurface(
Public Shared Function CreatePeriodicSurface (
surface As Surface,
direction As Integer,
bSmooth As Boolean
) As Surface
- Type: Rhino.GeometrySurface
The surface to make periodic.
- Type: SystemInt32
The direction to make periodic, either 0 = U, or 1 = V.
- Type: SystemBoolean
Controls kink removal. If true, smooths any kinks in the surface and moves control points
to make a smooth surface. If false, control point locations are not changed or changed minimally
(only one point may move) and only the knot vector is altered.
A periodic surface if successful, null on failure.