# Cone struct

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
[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

- [Cone](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/ctor.md): Initializes a new cone with a specified base plane, height and radius.

## Properties

- [ApexPoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/apexpoint.md): Point at tip of the cone.
- [Axis](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/axis.md): Unit vector axis of cone.
- [BasePoint](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/basepoint.md): Center of base circle.
- [Height](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/height.md): Gets or sets the height of the circular right cone.
- [IsValid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/isvalid.md): true if plane is valid, height is not zero and radius is not zero.
- [Plane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/plane.md): Gets or sets the base plane of the cone. The apex of the cone is at the plane's origin.
- [Radius](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/radius.md): Gets or sets the radius of the cone.
- [Unset](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/unset.md): (static) Gets an invalid Cone.

## Methods

- [AngleInDegrees](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/angleindegrees.md): Computes the angle (in degrees) between the axis and the side of the cone. The angle and the height have the same sign.
- [AngleInRadians](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/angleinradians.md): Computes the angle (in radians) between the axis and the side of the cone. The angle and the height have the same sign.
- [EpsilonEquals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/epsilonequals.md): Check that all values in other are within epsilon of the values in this
- [ToBrep](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/tobrep.md): 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.
- [ToNurbsSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/tonurbssurface.md): Constructs a Nurbs surface representation of this Cone. This is synonymous with calling NurbsSurface.CreateFromCone().
- [ToRevSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.cone/torevsurface.md): Constructs a RevSurface representation of this Cone. This is synonymous with calling RevSurface.CreateFromCone().
