M_Rhino_Geometry_RevSurface_Create_2 - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static RevSurface Create(
Line revoluteLine,
Line axisOfRevolution
)
VB
Public Shared Function Create (
revoluteLine As Line,
axisOfRevolution As Line
) As RevSurface
- revoluteLine
- Type: Rhino.Geometry.Line
A generatrix. - axisOfRevolution
- Type: Rhino.Geometry.Line
An axis.
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