
##################
A3DUnitGetFromEnum
##################

.. c:function:: A3DDouble A3DUnitGetFromEnum(A3DEUnits eUnit)

   .. rst-class:: sig-pretty-signature
   
      | :c:type:`~A3DDouble` A3DUnitGetFromEnum(:c:enum:`~A3DEUnits` **eUnit**\ )
   
   Converts a units representation from :c:enum:`~A3DEUnits`\ to its ``A3DDouble``\ representation.
   
   The returned value expresses the input unit in factor of millimeters, as stated in the documentation of :c:enum:`~A3DEUnits`\ .
   
   If ``eUnit``\ is :c:enumerator:`~kA3DUnitUnknown`\ or any value outside of :c:enum:`~A3DEUnits`\ enumerator, the function defaults to returning *1.0*\ (millimeters).
   
   **Parameters**
   
   
      **eUnit**\ : A unit enum
   
   
   **Returns**
   
   
      A unit enumeration value.
   
   




