Click or drag to resize

BrepCreateBaseballSphere Method

Creates a brep representation of the sphere with two similar trimmed NURBS surfaces, and no singularities.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Brep CreateBaseballSphere(
	Point3d center,
	double radius,
	double tolerance
)

Parameters

center
Type: Rhino.GeometryPoint3d
The center of the sphere.
radius
Type: SystemDouble
The radius of the sphere.
tolerance
Type: SystemDouble
Used in computing 2d trimming curves. If >= 0.0, then the max of ON_0.0001 * radius and RhinoMath.ZeroTolerance will be used.

Return Value

Type: Brep
A new brep, or null on error.
See Also