.. role:: ts-api-decorator

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

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

.. container:: ts-api-section

   .. js:class:: QuerySetItems

      Query to get all the items in a given set



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~cee.ug.QuerySetItems.constructor`



.. container:: api-index-section

   .. rubric:: Accessors

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

   * :js:attr:`~cee.ug.QuerySetItems.getTesselationForFrameIndex`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :js:meth:`~cee.ug.QuerySetItems.executeQuery`





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

Constructors
============

.. container:: ts-api-section

   .. js:function:: QuerySetItems.constructor( model)

      :param model: None
      :type model: RemoteModel


      :rtype: QuerySetItems



Accessors
=========

.. container:: ts-api-section

   .. js:function:: QuerySetItems.getTesselationForFrameIndex()



      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


      :rtype: number

   .. js:function:: QuerySetItems.getTesselationForFrameIndex( includeTriangles)

      :param includeTriangles: None
      :type includeTriangles: number


      :rtype: void



Methods
=======

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

executeQuery
------------

.. js:method:: QuerySetItems.executeQuery( setId, callback)

   :param setId: Id of the set to query items from
   :type setId: number
   :param callback: None
   :type callback: QuerySetItemsCallback


   Gets the global position of the given node in the given frame(s).


   :rtype: void

