RhinoCommon API
RevSurfaceCreateFromCylinder Method |
Constructs a new surface of revolution from the values of a cylinder.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static RevSurface CreateFromCylinder( Cylinder cylinder )
Public Shared Function CreateFromCylinder ( cylinder As Cylinder ) As RevSurface
Parameters
- cylinder
- Type: Rhino.GeometryCylinder
A cylinder.
Return Value
Type: RevSurfaceA new surface of revolution, or null if any of the inputs is invalid or on error.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14