GetTorus
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
GetTorus
Initializes a new instance of the GetTorus class
Properties
Name
Description
Public Property
AroundDirectionCount
The number of faces in the around direction.
Public Property
AroundDirectionMinimumCount
The minimum number of faces in the around direction.
Public Property
DefaultSize
Default radius or diameter (based on InDiameterMode)
Public Property
FixInnerRadius
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
InDiameterMode
Determines if the “size” value is representing a radius or diameter
Public Property
InSecondDiameterMode
Second radius option. Determines if the second “size” value is representing a radius or diameter
Public Property
PromptForMeshDensity
Set true if you are prompting for a mesh or subd torus.
Public Property
SecondSize
Second radius or diameter (based on InSecondDiameterMode)
Public Property
VerticalDirectionCount
The number of faces in the vertical direction.
Public Property
VerticalDirectionMinimumCount
The minimum number of faces in the vertical direction.
Methods
Name
Description
Public Method
Dispose.
Actively reclaims unmanaged resources that this instance uses.
Protected Method
Dispose(Boolean)
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
Finalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides Object.Finalize..)
Public Method
Get
Prompt for the getting of a torus.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetMesh
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.)