Click or drag to resize

RevSurfaceCreateFromTorus Method

Constructs a new surface of revolution from the values of a torus.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static RevSurface CreateFromTorus(
	Torus torus
)

Parameters

torus
Type: Rhino.GeometryTorus
A torus.

Return Value

Type: RevSurface
A new surface of revolution, or null if any of the inputs is invalid or on error.
See Also