RevSurfaceCreateFromTorus Method |
Constructs a new surface of revolution from the values of a torus.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static RevSurface CreateFromTorus(
Torus torus
)
Public Shared Function CreateFromTorus (
torus As Torus
) As RevSurface
Parameters
- torus
- Type: Rhino.GeometryTorus
A torus.
Return Value
Type:
RevSurfaceA new surface of revolution, or null if any of the inputs is invalid or on error.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also