RhinoCommon API
RevSurfaceCreate Method (Curve, Line, Double, Double) |
Constructs a new surface of revolution from a generatrix curve and an axis.
This overload accepts a slice start and end angles.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static RevSurface Create( Curve revoluteCurve, Line axisOfRevolution, double startAngleRadians, double endAngleRadians )
Public Shared Function Create ( revoluteCurve As Curve, axisOfRevolution As Line, startAngleRadians As Double, endAngleRadians As Double ) As RevSurface
Parameters
- revoluteCurve
- Type: Rhino.GeometryCurve
A generatrix. - axisOfRevolution
- Type: Rhino.GeometryLine
An axis. - startAngleRadians
- Type: SystemDouble
An angle in radias for the start. - endAngleRadians
- Type: SystemDouble
An angle in radias for the end.
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.8