Skip to content

T_Rhino_Geometry_Torus

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Torus Structure

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

Syntax

C#

[SerializableAttribute]
public struct Torus

VB

<SerializableAttribute>
Public Structure Torus

The Torus type exposes the following members.

Constructors

 

Name Description
Public methodCode example Torus Initializes a new Torus from base pane and two radii.
  Back to Top

Properties

 

Name Description
Public property IsValid Gets a value indicating whether this torus is valid.
Public property MajorRadius Gets or sets the radius of the circle that lies at the heart of the torus.
Public property MinorRadius Gets or sets the radius of the torus section.
Public property Plane Gets or sets the plane for the torus large circle.
Public propertyStatic member Unset Gets an invalid Torus.
  Back to Top

Methods

 

Name Description
Public method EpsilonEquals Check that all values in other are within epsilon of the values in this
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToNurbsSurface Converts this torus to its nurbs surface representation. This is synonymous with calling NurbsSurface.CreateFromTorus().
Public methodCode example ToRevSurface Convert this torus to a surface of revolution representation. This is synonymous with calling RevSurface.CreateFromTorus().
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry Namespace

Clone this wiki locally