T_Rhino_Geometry_Torus - mcneel/rhinocommon-api-docs GitHub Wiki
Represents the value of a plane and two radii in a torus that is oriented in three-dimensional space.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
[SerializableAttribute]
public struct Torus
VB
<SerializableAttribute>
Public Structure Torus
The Torus type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
Torus | Initializes a new Torus from base pane and two radii. |
Name | Description | |
---|---|---|
![]() |
IsValid | Gets a value indicating whether this torus is valid. |
![]() |
MajorRadius | Gets or sets the radius of the circle that lies at the heart of the torus. |
![]() |
MinorRadius | Gets or sets the radius of the torus section. |
![]() |
Plane | Gets or sets the plane for the torus large circle. |
![]() ![]() |
Unset | Gets an invalid Torus. |
Name | Description | |
---|---|---|
![]() |
EpsilonEquals | Check that all values in other are within epsilon of the values in this |
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToNurbsSurface | Converts this torus to its nurbs surface representation. This is synonymous with calling NurbsSurface.CreateFromTorus(). |
![]() ![]() |
ToRevSurface | Convert this torus to a surface of revolution representation. This is synonymous with calling RevSurface.CreateFromTorus(). |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Supported in: 6.0.16224.21491, 5D58w