M_Rhino_Geometry_RevSurface_CreateFromCylinder - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new surface of revolution from the values of a cylinder.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static RevSurface CreateFromCylinder(
Cylinder cylinder
)
VB
Public Shared Function CreateFromCylinder (
cylinder As Cylinder
) As RevSurface
- cylinder
- Type: Rhino.Geometry.Cylinder
A cylinder.
Type: RevSurface
A new surface of revolution, or null if any of the inputs is invalid or on error.
Supported in: 6.0.16224.21491, 5D58w