Click or drag to resize

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
public static Surface CreatePeriodicSurface(
	Surface surface,
	int direction,
	bool bSmooth


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.

Return Value

Type: Surface
A periodic surface if successful, null on failure.
See Also