.. oe:namespace:: OEMath

.. meta::
   :keywords: OEGeom3DMatrixIdentity

.. oe:function:: OEGeom3DMatrixIdentity

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

      .. oe:api::

         template<class T>
         void OEGeom3DMatrixIdentity(T* rmat)

   .. oe:language:: python

      .. oe:api:: python

         OEGeom3DMatrixIdentity(rmat: OEDoubleArray) -> None

   Initializes the :math:`3x3` matrix ``rmat`` to be an identity
   matrix: diagonal terms are ``1.0``; off-diagonal terms are ``0.0``. 
