
#################
MeshDataInterface
#################

.. js:class:: Sc.MeshDataInterface

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Sc.MeshDataInterface.create`
   * :js:meth:`~Sc.MeshDataInterface.destroy`
   * :js:meth:`~Sc.MeshDataInterface.getData`
   * :js:meth:`~Sc.MeshDataInterface.lineElementSegments`
   * :js:meth:`~Sc.MeshDataInterface.linesToIncidentFaces`
   * :js:meth:`~Sc.MeshDataInterface.replace`
   
   




Methods
=======

.. js:method:: Sc.MeshDataInterface.create

   .. rst-class:: sig-pretty-signature
   
      | create(**meshDataBuilder**\ : :js:class:`MeshDataBuilder <Sc.MeshDataBuilder>`\ ): *Promise*
   
   **Parameters**
   
      **meshDataBuilder**\ : :js:class:`MeshDataBuilder <Sc.MeshDataBuilder>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.MeshDataInterface.destroy

   .. rst-class:: sig-pretty-signature
   
      | destroy(**ids**\ : :js:data:`MeshIds <Sc.MeshIds>`\ ): *Promise*
   
   **Parameters**
   
      **ids**\ : :js:data:`MeshIds <Sc.MeshIds>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.MeshDataInterface.getData

   .. rst-class:: sig-pretty-signature
   
      | getData(**id**\ : :js:data:`MeshId <Sc.MeshId>`\ ): *Promise*
   
   **Parameters**
   
      **id**\ : :js:data:`MeshId <Sc.MeshId>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.MeshDataInterface.lineElementSegments

   .. rst-class:: sig-pretty-signature
   
      | lineElementSegments(**meshId**\ : :js:data:`MeshId <Sc.MeshId>`\ , **lineElementIndex**\ : *number*\ ): *Promise*
   
   **Parameters**
   
      **meshId**\ : :js:data:`MeshId <Sc.MeshId>`
   
      **lineElementIndex**\ : *number*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.MeshDataInterface.linesToIncidentFaces

   .. rst-class:: sig-pretty-signature
   
      | linesToIncidentFaces(**lineElementIndices**\ : *number*\ [], **meshId**\ : :js:data:`MeshId <Sc.MeshId>`\ ): *Promise*
   
   **Parameters**
   
      **lineElementIndices**\ : *number*\ []
   
      **meshId**\ : :js:data:`MeshId <Sc.MeshId>`
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.MeshDataInterface.replace

   .. rst-class:: sig-pretty-signature
   
      | replace(**id**\ : :js:data:`MeshId <Sc.MeshId>`\ , **meshDataBuilder**\ : :js:class:`MeshDataBuilder <Sc.MeshDataBuilder>`\ ): *Promise*
   
   **Parameters**
   
      **id**\ : :js:data:`MeshId <Sc.MeshId>`
   
      **meshDataBuilder**\ : :js:class:`MeshDataBuilder <Sc.MeshDataBuilder>`
   
   
   **Returns**\ : *Promise*
   





