Cone
====

.. py:module:: rhino3dm

.. py:class:: Cone

   .. py:attribute:: Height

      float: Gets or sets the height of the circular right cone.

   .. py:attribute:: Radius

      float: Gets or sets the radius of the cone.

   .. py:attribute:: IsValid

      bool: True if plane is valid, height is not zero and radius is not zero.

   .. py:attribute:: BasePoint

      rhino3dm.Point3d: Center of base circle.

   .. py:attribute:: ApexPoint

      rhino3dm.Point3d: Point at tip of the cone.

   .. py:attribute:: Axis

      rhino3dm.Vector3d: Unit vector axis of cone.

   .. py:attribute:: AngleInRadians


   .. py:attribute:: AngleInDegrees


   .. py:method:: ToNurbsSurface()

      Constructs a Nurbs surface representation of this Cone.
      This is synonymous with calling NurbsSurface.CreateFromCone().

      :return: A Nurbs surface representation of the cone or null.

      :rtype: NurbsSurface

   .. py:method:: ToBrep(capBottom)

      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.

      :param bool capBottom: True if the bottom should be filled with a surface. False otherwise.

      :return: A brep (polysurface) representation of this cone values.

      :rtype: rhino3dm.Brep
