Torus
References[StructLayout(LayoutKind.Sequential, Pack = 8, Size = 144)]
[Serializable]
public struct Torus : IEpsilonComparable<Torus>
Represents the value of a plane and two radii in a torus that is oriented in three-dimensional space.
Constructors
Initializes a new Torus from base pane and two radii.
Properties
Gets or sets the radius of the circle that lies at the heart of the torus.
Gets or sets the radius of the torus section.
Methods
Check that all values in other are within epsilon of the values in this
Implements: EpsilonEquals
Converts this torus to a Brep. This is synonymous with calling Brep.CreateFromTorus(Torus).
Returns: A Brep representation of this torus, or null on error.
Converts this torus to its NURBS surface representation. This is synonymous with calling NurbsSurface.CreateFromTorus(Torus).
Returns: A NURBS surface representation of this torus, or null on error.
Converts this torus to a surface of revolution representation. This is synonymous with calling RevSurface.CreateFromTorus(Torus).
Returns: A surface of revolution representation of this torus, or null on error.