SurfaceCreatePeriodicSurface Method (Surface, Int32, Boolean) |
Constructs a periodic surface from a base surface and a direction.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public static Surface CreatePeriodicSurface(
Surface surface,
int direction,
bool bSmooth
)
Public Shared Function CreatePeriodicSurface (
surface As Surface,
direction As Integer,
bSmooth As Boolean
) As Surface
Parameters
- surface
- Type: Rhino.GeometrySurface
The surface to make periodic. - direction
- Type: SystemInt32
The direction to make periodic, either 0 = U, or 1 = V. - bSmooth
- 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.
Return Value
Type:
SurfaceA periodic surface if successful, null on failure.
See Also