Skip to content

GetTorus

Public Class

Class provides user interface to define a torus.

Inheritance Hierarchy

System.Object
Rhino.Input.Custom.GetTorus

Namespace: Rhino.Input.Custom

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class GetTorus : IDisposable

The GetTorus type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the GetTorus class


Properties

Name

Description


Public Property

The number of faces in the around direction.


Public Property

The minimum number of faces in the around direction.


Public Property

Default radius or diameter (based on InDiameterMode)


Public Property

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.


Public Property

Determines if the “size” value is representing a radius or diameter


Public Property

Second radius option. Determines if the second “size” value is representing a radius or diameter


Public Property

Set true if you are prompting for a mesh or subd torus.


Public Property

Second radius or diameter (based on InSecondDiameterMode)


Public Property

The number of faces in the vertical direction.


Public Property

The minimum number of faces in the vertical direction.


Methods

Name

Description


Public Method

Actively reclaims unmanaged resources that this instance uses.


Protected Method

For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

(Overrides Object.Finalize..)


Public Method

Prompt for the getting of a torus.


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Prompt for the getting of a mesh torus.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)