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


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

.. js:class:: wv.Selection.PointEntity

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



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


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

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



.. js:method:: wv.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:: wv.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:: wv.Selection.PointEntity.getPosition

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



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

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



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

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




