# GetSphere class

Namespace: [Rhino.Input.Custom](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.input.custom.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class GetSphere : IDisposable
```

Class provides user interface to define a sphere.

## Constructors

- [GetSphere](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/ctor.md)

## Finalizer

- [~GetSphere](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [DefaultSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/defaultsize.md): Default radius or diameter (based on InDiameterMode)
- [InDiameterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/indiametermode.md): Determines if the "size" value is representing a radius or diameter

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Get](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/get.md): Prompt for the getting of a sphere.
- [GetMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.getsphere/getmesh.md): Prompt for the getting of a mesh sphere.
