Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Salvaggio  >  ROTATE3D

ROTATE3D

ROTATE3D

Name


    ROTATE3D

Purpose


    This function will perform a rotation of the provided homogenous point
    in 3-space. The result represents the orthogonal matrix corresponding
    to a clockwise/left-handed rotation with Euler angles angleX, angleY,
    and angleZ with x-y-z convention.

Category


    GENERAL.

Calling Sequence


    result = ROTATE3D( point, angleX, angleY, angleZ, /DEGREES )

Inputs


    point
      A vector containing the three-dimensional point to be rotated in
      homogenous coordinates [x,y,z,1].
    angleX
      The Euler angle through which to rotate the point around the x axis.
    angleY
      The Euler angle through which to rotate the point around the y axis.
    angleZ
      The Euler angle through which to rotate the point around the z axis.

Keyword Parametrs


      DEGREES
        Set this keyword to interpret the provided Euler angles of rotation
        in degrees. If this keyword is omitted, the angles are assumed to be
        specified in radians.
  :ERROR CHECKING:
    None.

Side Effects


    None.

Requires


    None.

Modification History


    Written by: Carl Salvaggio
    January, 2012 Original code
   

Disclaimer


    This source code is provided "as is" and without warranties as to performance
    or merchantability. The author and/or distributors of this source code may
    have made statements about this source code. Any such statements do not
    constitute warranties and shall not be relied on by the user in deciding
    whether to use this source code.
    This source code is provided without any express or implied warranties
    whatsoever. Because of the diversity of conditions and hardware under which
    this source code may be used, no warranty of fitness for a particular purpose
    is offered. The user is advised to test the source code thoroughly before
    relying on it. The user must assume the entire risk of using the source code.



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us