# GetTorus 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 GetTorus : IDisposable
```

Class provides user interface to define a torus.

## Constructors

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

## Finalizer

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

## Properties

- [AroundDirectionCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/arounddirectioncount.md): The number of faces in the around direction.
- [AroundDirectionMinimumCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/arounddirectionminimumcount.md): The minimum number of faces in the around direction.
- [DefaultSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/defaultsize.md): Default radius or diameter (based on InDiameterMode)
- [FixInnerRadius](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/fixinnerradius.md): Second radius option. The first radius chosen sets the inner dimension of the torus and the second radius is constrained to be outside of the first radius.
- [InDiameterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/indiametermode.md): Determines if the "size" value is representing a radius or diameter
- [InSecondDiameterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/inseconddiametermode.md): Second radius option. Determines if the second "size" value is representing a radius or diameter
- [PromptForMeshDensity](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/promptformeshdensity.md): Set true if you are prompting for a mesh or subd torus.
- [SecondSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/secondsize.md): Second radius or diameter (based on InSecondDiameterMode)
- [VerticalDirectionCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/verticaldirectioncount.md): The number of faces in the vertical direction.
- [VerticalDirectionMinimumCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.gettorus/verticaldirectionminimumcount.md): The minimum number of faces in the vertical direction.

## Methods

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