Cone
References[StructLayout(LayoutKind.Sequential, Pack = 8, Size = 144)]
[Serializable]
public struct Cone : IEpsilonComparable<Cone>
Represents the center plane, radius and height values in a right circular cone.
Constructors
Properties
Gets or sets the height of the circular right cone.
true if plane is valid, height is not zero and radius is not zero.
Gets or sets the base plane of the cone. The apex of the cone is at the plane's origin.
Methods
Computes the angle (in degrees) between the axis and the side of the cone. The angle and the height have the same sign.
Returns: An angle in degrees.
Computes the angle (in radians) between the axis and the side of the cone. The angle and the height have the same sign.
Returns: Math.Atan(Radius / Height) if the height is not 0; 0 if the radius is 0; Math.PI otherwise.
Check that all values in other are within epsilon of the values in this
Implements: EpsilonEquals
Gets a Brep representation of the cone with a single face for the cone, an edge along the cone seam, and vertices at the base and apex ends of this seam edge. The optional cap is a single face with one circular edge starting and ending at the base vertex.
Parameters:
| capBottom (bool) | true if the bottom should be filled with a surface. false otherwise. |
Returns: A brep (polysurface) representation of this cone values.
Constructs a Nurbs surface representation of this Cone. This is synonymous with calling NurbsSurface.CreateFromCone().
Returns: A Nurbs surface representation of the cone or null.
Constructs a RevSurface representation of this Cone. This is synonymous with calling RevSurface.CreateFromCone().
Returns: A RevSurface representation of the cone or null.