Brep.CreateSphere Method

Creates a Sphere primitive.
Public Shared Function CreateSphere( _ 
ByVal radius As Double, _ 
Optional ByVal tolerance As Double = REBUILD_FACTOR _ 
) As Brep
This language is not supported or no code example is available.
public static Brep CreateSphere( 
double radius
double tolerance = REBUILD_FACTOR 
)
This language is not supported or no code example is available.

Parameters

radius
double

Sphere's radius

tolerance
double

the regeneration tolerance

Return Value

Brep

The resulting Brep object.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition