.. role:: ts-api-decorator

########################
QueryPartResultsDataItem
########################

.. js:module:: cee.ug
   :noindex:

.. container:: ts-api-section

   .. js:class:: QueryPartResultsDataItem

      The result data item of ``QueryPartResultsData.itemDataArr``.



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-interface

   * :js:attr:`~cee.ug.QueryPartResultsDataItem.itemId`
   * :js:attr:`~cee.ug.QueryPartResultsDataItem.itemPosition`
   * :js:attr:`~cee.ug.QueryPartResultsDataItem.itemResult`





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

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: QueryPartResultsDataItem.itemId

      :type: number

      The id of the item. This is the node ID for ``ResultMapping.PER_NODE`` and ``ResultMapping.PER_ELEMENT_NODE`` mapping 
      and element ID for ``ResultMapping.PER_ELEMENT`` mapping.



.. container:: ts-api-section

   .. js:attribute:: QueryPartResultsDataItem.itemPosition

      :type: Vec3

      The position of the item. Node position or the element centroid in case of ``ResultMapping.PER_ELEMENT``.



.. container:: ts-api-section

   .. js:attribute:: QueryPartResultsDataItem.itemResult

      :type: [number]

      Per item result. One value for scalar results and a triplet (x,y,z) for vector results (``QueryPartResultsData.resultType``).



