RhinoCommon API
BrepCreateFromSphere Method |
Constructs a Brep definition of a sphere.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static Brep CreateFromSphere( Sphere sphere )
Public Shared Function CreateFromSphere ( sphere As Sphere ) As Brep
Parameters
- sphere
- Type: Rhino.GeometrySphere
The input sphere provides the orienting plane and radius.
Return Value
Type: BrepA Brep if successful, null on error.
