.. role:: ts-api-decorator

####
Part
####

.. js:module:: cee.mrk
   :noindex:

.. container:: ts-api-section

   .. js:class:: Part

      Base class for parts that can be added to a ``MarkupModel``.



.. container:: api-index-section

   .. rubric:: Accessors

   .. rst-class:: api-index-list-item api-kind-accessor api-parent-kind-class

   * :js:attr:`~cee.mrk.Part.customData`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~cee.mrk.Part.rayIntersect`





------------

Accessors
=========

.. container:: ts-api-section

   .. js:function:: Part.customData()



      Custom data for the part. This field is not used by EnvisionWeb.


      :rtype: any

   .. js:function:: Part.customData( data)

      :param data: None
      :type data: any


      :rtype: void



Methods
=======

.. rst-class:: ts-api-section

rayIntersect
------------

.. js:method:: Part.rayIntersect( ray, hitItem)

   :param ray: None
   :type ray: Ray
   :param hitItem: None
   :type hitItem: PartHitItem


   Picking on the part


   :rtype: boolean

