
###################
get3dBaseFromVector
###################

.. js:function:: get3dBaseFromVector

   .. rst-class:: sig-pretty-signature
   
      | get3dBaseFromVector(**normal**\ : :js:class:`~IPoint3`\ ): :js:class:`~IPoint3`\ []
   
   Generates a 3D orthonormal basis from a given normal vector.
   
   This function takes a normal vector, normalizes it, and then computes an orthogonal vector to it. Finally, it returns an array containing the normalized normal vector, the orthogonal vector, and their cross product, which forms an orthonormal basis.
   
   **Parameters**
   
      **normal**\ : :js:class:`~IPoint3`
   
         The input normal vector from which to generate the 3D basis.
   
   
   
   **Returns**\ : :js:class:`~IPoint3`\ []
   
      An array of three IPoint3 vectors representing the orthonormal basis.
   
   




