.. role:: ts-api-decorator

###########
PartVectors
###########

.. js:module:: cee.usg
   :noindex:

.. container:: ts-api-section

   .. js:class:: PartVectors

      Vector result for one part.

      The vector result is a 3d result (x,y,z) for each result position in part. Per node, per element and
      per element node mapping is supported.

      The PartVectors class is immutable.



.. container:: api-index-section

   .. rubric:: Constructors

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

   * :js:meth:`~cee.usg.PartVectors.constructor`



.. container:: api-index-section

   .. rubric:: Accessors

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

   * :js:attr:`~cee.usg.PartVectors.resultMapping`
   * :js:attr:`~cee.usg.PartVectors.vectorArray`



.. container:: api-index-section

   .. rubric:: Methods

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

   * :js:meth:`~cee.usg.PartVectors.getVectorLengthRange`





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

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

.. container:: ts-api-section

   .. js:function:: PartVectors.constructor( resultMapping, vectorsArr)

      :param resultMapping: None
      :type resultMapping: ResultMapping
      :param vectorsArr: None
      :type vectorsArr: ArrayLike <number>


      Create a vector result for one part/mesh

      The array must contain x,y,z values for each result.


      :rtype: PartVectors



Accessors
=========

.. container:: ts-api-section

   .. js:function:: PartVectors.resultMapping()



      The result mapping of this vector result


      :rtype: ResultMapping



.. container:: ts-api-section

   .. js:function:: PartVectors.vectorArray()



      The readonly array containing the vector result defined in this object


      :rtype: ArrayLike <number>



Methods
=======

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

getVectorLengthRange
--------------------

.. js:method:: PartVectors.getVectorLengthRange()



   The range (min/max) of the vector lengths in this result


   :rtype: Range

