M_Rhino_Geometry_Surface_CreatePeriodicSurface_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a periodic surface from a base surface and a direction.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Surface CreatePeriodicSurface(
Surface surface,
int direction,
bool bSmooth
)
VB
Public Shared Function CreatePeriodicSurface (
surface As Surface,
direction As Integer,
bSmooth As Boolean
) As Surface
- surface
- Type: Rhino.Geometry.Surface
The surface to make periodic. - direction
- Type: System.Int32
The direction to make periodic, either 0 = U, or 1 = V. - bSmooth
- Type: System.Boolean
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.
Type: Surface
A periodic surface if successful, null on failure.
Supported in: 6.0.16224.21491
Surface Class
CreatePeriodicSurface Overload
Rhino.Geometry Namespace