M_Rhino_Geometry_RevSurface_Create_5 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new surface of revolution from a generatrix polyline and an axis. This overload accepts a slice start and end angles.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static RevSurface Create(
Polyline revolutePolyline,
Line axisOfRevolution,
double startAngleRadians,
double endAngleRadians
)
VB
Public Shared Function Create (
revolutePolyline As Polyline,
axisOfRevolution As Line,
startAngleRadians As Double,
endAngleRadians As Double
) As RevSurface
- revolutePolyline
- Type: Rhino.Geometry.Polyline
A generatrix. - axisOfRevolution
- Type: Rhino.Geometry.Line
An axis. - startAngleRadians
- Type: System.Double
An angle in radias for the start. - endAngleRadians
- Type: System.Double
An angle in radias for the end.
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