Click or drag to resize

RenderPrimitiveTryGetSphere Method

Call this method to get a sphere primitive for this mesh. If this meshes PrimitiveType is not a Sphere then the sphere parameter is set to Unset.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool TryGetSphere(
	out Sphere sphere
)

Parameters

sphere
Type: Rhino.GeometrySphere
Gets set to the primitive sphere for this object on success.

Return Value

Type: Boolean
Returns true if PrimitiveType is Sphere and the sphere parameter was initialized otherwise returns false.
Version Information

Rhino for Windows

Supported in: 6.2
See Also