.. oe:namespace:: OEChem

.. meta::
   :keywords: OEEuler, Euler


.. _OEChem_OEEuler:

.. oe:class:: OEEuler

   .. oe:api::

      class OEEuler : public OETransBase

   This class represents `OEEuler`.

   The following methods are publicly inherited from :ref:`OETransBase <OEChem_OETransBase>`:

   ====================================================== ====================================================== =====================================================
   :oe:meth:`CreateCopy<OEChem::OETransBase::CreateCopy>` :oe:meth:`GetInverse<OEChem::OETransBase::GetInverse>`                                                      
   :oe:meth:`Extract<OEChem::OETransBase::Extract>`       :oe:meth:`Transform<OEChem::OETransBase::Transform>`                                                        
   ====================================================== ====================================================== =====================================================

   .. oe:method:: Constructors

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEEuler()
            OEEuler(const float* angles)
            OEEuler(const double* angles)
            OEEuler(float phi, float theta, float psi)
            OEEuler(double phi, double theta, double psi)

      .. oe:language:: python

         .. oe:api:: python

            OEEuler() -> OEEuler
            OEEuler(angles: OEDoubleArray) -> OEEuler
            OEEuler(angles: OEFloatArray) -> OEEuler
            OEEuler(phi: float, theta: float, psi: float) -> OEEuler

      Default and copy constructors.

   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OEEuler &operator=(const float *rhs)
         OEEuler &operator=(const double *rhs)

      Assignment operator.


   .. oe:method:: CreateCopy

      .. oe:language:: c++ java csharp

         .. oe:api::

            OETransBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OETransBase

   .. oe:method:: Extract

      .. oe:language:: c++ java csharp

         .. oe:api::

            void Extract(float* r, float* t) const
            void Extract(float* r, double* t) const
            void Extract(double* r, float* t) const
            void Extract(double* r, double* t) const

      .. oe:language:: python

         .. oe:api:: python

            Extract(r: OEFloatArray, t: OEFloatArray) -> None
            Extract(r: OEFloatArray, t: OEDoubleArray) -> None
            Extract(r: OEDoubleArray, t: OEFloatArray) -> None
            Extract(r: OEDoubleArray, t: OEDoubleArray) -> None

   .. oe:method:: GetAngles

      .. oe:language:: c++ java csharp

         .. oe:api::

            void GetAngles(float* angles) const
            void GetAngles(double* angles) const

      .. oe:language:: python

         .. oe:api:: python

            GetAngles(angles: OEFloatArray) -> None
            GetAngles(angles: OEDoubleArray) -> None

   .. oe:method:: GetInverse

      .. oe:language:: c++ java csharp

         .. oe:api::

            OETransBase* GetInverse() const

      .. oe:language:: python

         .. oe:api:: python

            GetInverse() -> OETransBase

   .. oe:method:: GetPhi

      .. oe:language:: c++ java csharp

         .. oe:api::

            double GetPhi() const

      .. oe:language:: python

         .. oe:api:: python

            GetPhi() -> float

   .. oe:method:: GetPsi

      .. oe:language:: c++ java csharp

         .. oe:api::

            double GetPsi() const

      .. oe:language:: python

         .. oe:api:: python

            GetPsi() -> float

   .. oe:method:: GetTheta

      .. oe:language:: c++ java csharp

         .. oe:api::

            double GetTheta() const

      .. oe:language:: python

         .. oe:api:: python

            GetTheta() -> float

   .. oe:method:: SetPhi

      .. oe:language:: c++ java csharp

         .. oe:api::

            void SetPhi(double radians)

      .. oe:language:: python

         .. oe:api:: python

            SetPhi(radians: float) -> None

   .. oe:method:: SetPsi

      .. oe:language:: c++ java csharp

         .. oe:api::

            void SetPsi(double radians)

      .. oe:language:: python

         .. oe:api:: python

            SetPsi(radians: float) -> None

   .. oe:method:: SetTheta

      .. oe:language:: c++ java csharp

         .. oe:api::

            void SetTheta(double radians)

      .. oe:language:: python

         .. oe:api:: python

            SetTheta(radians: float) -> None

   .. oe:method: _Extract DO NOT DOCUMENT

      .. oe:api::

         template<class T, class U>
         void _Extract(T *rmat, U *trans) const

