RhinoCommon API
RevSurfaceCreate Method (Line, Line) |
Constructs a new surface of revolution from a generatrix line and an axis.
If the operation succeeds, results can be (truncated) cones, cylinders and circular hyperboloids.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static RevSurface Create( Line revoluteLine, Line axisOfRevolution )
Public Shared Function Create ( revoluteLine As Line, axisOfRevolution As Line ) As RevSurface
Parameters
- revoluteLine
- Type: Rhino.GeometryLine
A generatrix. - axisOfRevolution
- Type: Rhino.GeometryLine
An axis.
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