Description:

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

Syntax:
public bool TryGetSphere(
out Sphere sphere
)
Parameters:
  • sphere
  • Type: Sphere
  • Gets set to the primitive sphere for this object on success.
Returns:
Type: bool
Returns True if <b>PrimitiveType</b> is <b>Rhino.Render.RenderPrimitiveType.Sphere</b> and the sphere parameter was initialized otherwise returns false.
Available since:
5.7

TryGetSphere method

Class:  Rhino.Render.RenderPrimitive

Nothing found