
#############
QuerySetItems
#############

.. js:class:: cee.ug.QuerySetItems

   Query to get all the items in a given set
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ug.QuerySetItems.constructor`
   
   .. rubric:: Accessors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~cee.ug.QuerySetItems.getTesselationForFrameIndex`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~cee.ug.QuerySetItems.executeQuery`
   
   



.. rst-class:: kind-group kind-constructors

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


.. js:method:: cee.ug.QuerySetItems.constructor

      .. rst-class:: sig-pretty-signature
      
         | QuerySetItems(**model**\ : :js:class:`RemoteModel <cee.ug.RemoteModel>`\ ): :js:class:`QuerySetItems <cee.ug.QuerySetItems>`
      
      **Parameters**
      
      
         **model**\ : :js:class:`RemoteModel <cee.ug.RemoteModel>`
      
      
      **Returns**\ : :js:class:`QuerySetItems <cee.ug.QuerySetItems>`
      



.. rst-class:: kind-group kind-accessors

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


.. js:method:: cee.ug.QuerySetItems.getTesselationForFrameIndex

      .. rst-class:: sig-pretty-signature
      
         | *get* getTesselationForFrameIndex(): *number*
      
      Specify if a tessellation of the specified set should be returned for a given frame index.
      
      Default is -1, which means no tesselation of the set will be provided.
      
      For ELEMENT_FACE sets, it will return a triangulation of the combined element faces in the set in the QuerySetItemsItem.faceTriangleVertices array
      
      For ELEMENT_EDGE sets, it will return the lines of the combined element edges in the set in the QuerySetItemsItem.edgeLineVertices array
      
      For ELEMENT_NODE sets, it will return the lines of the combined element edges in the set in the QuerySetItemsItem.edgeLineVertices array
      
      **Returns**\ : *number*
      
      .. rst-class:: sig-pretty-signature
      
         | *set* getTesselationForFrameIndex(**includeTriangles**\ : *number*\ ): *void*
      
      **Parameters**
      
      
         **includeTriangles**\ : *number*
      
      
      **Returns**\ : *void*
      



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

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


.. js:method:: cee.ug.QuerySetItems.executeQuery

      .. rst-class:: sig-pretty-signature
      
         | executeQuery(**setId**\ : *number*\ , **callback**\ : :js:class:`QuerySetItemsCallback <cee.ug.QuerySetItemsCallback>`\ ): *void*
      
      Gets the global position of the given node in the given frame(s).
      
      **Parameters**
      
      
         **setId**\ : *number*
      
      
            Id of the set to query items from
      
      
         **callback**\ : :js:class:`QuerySetItemsCallback <cee.ug.QuerySetItemsCallback>`
      
      
      **Returns**\ : *void*
      




