.. role:: clio-static
   :class: clio-flag clio-flag-static


###########
PointEntity
###########

.. js:class:: Selection.PointEntity

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Selection.PointEntity.getPointBits`
   * :js:meth:`~Selection.PointEntity.getPointId`
   * :js:meth:`~Selection.PointEntity.getPosition`
   * :js:meth:`~Selection.PointEntity.overlayIndex`
   * :js:meth:`~Selection.PointEntity.toJson`
   * :js:meth:`~static Selection.PointEntity.fromJson`
   
   




Methods
=======

.. js:method:: Selection.PointEntity.getPointBits

   .. rst-class:: sig-pretty-signature
   
      | getPointBits(): *number*
   
   Gets the cad bits for the selection Point.
   
   **Returns**\ : *number*
   
      The bits set on the point.
   
   



.. js:method:: Selection.PointEntity.getPointId

   .. rst-class:: sig-pretty-signature
   
      | getPointId(): *number*
   
   Gets the point identifier
   
   **Returns**\ : *number*
   
      the identifier of the point that was selected
   
   



.. js:method:: Selection.PointEntity.getPosition

   .. rst-class:: sig-pretty-signature
   
      | getPosition(): :js:class:`~Point3`
   
   Gets the world space position of the selection point.
   
   **Returns**\ : :js:class:`~Point3`
   
      World space position of the selection point if it can be determined.
   
   



.. js:method:: Selection.PointEntity.overlayIndex

   .. rst-class:: sig-pretty-signature
   
      | overlayIndex(): *number*
   
   **Returns**\ : *number*
   
      The index of the overlay the entity belongs to.
   
   



.. js:method:: Selection.PointEntity.toJson

   .. rst-class:: sig-pretty-signature
   
      | toJson(): *object*
   
   Creates an object ready for JSON serialization.
   
   **Returns**\ : *object*
   
      The prepared object.
   
   



.. js:method:: static Selection.PointEntity.fromJson

   .. rst-class:: clio-flags
   
      :clio-static:`static`
   
   .. rst-class:: sig-pretty-signature
   
      | fromJson(**objData**\ : *any*\ ): :js:class:`PointEntity <Selection.PointEntity>`
   
   Creates a new [[PointEntity]] from an object given by [[toJson]].
   
   **Parameters**
   
      **objData**\ : *any*
   
         An object given by [[toJson]].
   
   
   
   **Returns**\ : :js:class:`PointEntity <Selection.PointEntity>`
   
      The prepared object.
   
   





