Main Page | Packages | Class Hierarchy | Alphabetical List | Compound List | Namespace Members | Compound Members | Related Pages

SRM.OrientationQuaternion Class Reference

The concrete class for the orientation in quaternion representation. More...

Inheritance diagram for SRM.OrientationQuaternion:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OrientationQuaternion ()
 Default constructor.

 OrientationQuaternion (SRM_Quaternion_Params params) throws SrmException
 Constructor using quaternion pamameter.

 OrientationQuaternion (double e0, double e1, double e2, double e3) throws SrmException
 Constructor using quaternion (e0, e1, e2, e3) pamameters.

SRM_Quaternion_Params getQuaternion ()
 Gets the quaternion orientation representation.

void setQuaternion (SRM_Quaternion_Params params) throws SrmException
 Sets the quaternion orientation representation.

String toString ()
 Returns the string for the quaternion orientation representation.

SRM_Ori_Rep getOriRep ()
 Returns the native orientation representation type.


Static Public Member Functions

OrientationQuaternion compose (Orientation left, Orientation right) throws SrmException
 Composes the right orientation with the left orientation and returns the result in the output orientation, i.e., composed_ori = left*right.


Protected Member Functions

void _updateIntData ()
void _updateRepData ()

Detailed Description

The concrete class for the orientation in quaternion representation.

See also:
Orientation


Constructor & Destructor Documentation

SRM.OrientationQuaternion.OrientationQuaternion  ) 
 

Default constructor.

The default value is identity (0, 1, 0, 0).

SRM.OrientationQuaternion.OrientationQuaternion SRM_Quaternion_Params  params  )  throws SrmException
 

Constructor using quaternion pamameter.

Note:
q = e0 + e1*i + e2*j + e3*k

e0^2 + e1^2 + e2^2 + e3^2 = 1

Exceptions:
This method throws srm::Exception

SRM.OrientationQuaternion.OrientationQuaternion double  e0,
double  e1,
double  e2,
double  e3
throws SrmException
 

Constructor using quaternion (e0, e1, e2, e3) pamameters.

Note:
q = e0 + e1*i + e2*j + e3*k

e0^2 + e1^2 + e2^2 + e3^2 = 1

Parameters:
e0 in: the scale (real) parameter
e1 in: the vector multiplier in (i) direction
e2 in: the vector multiplier in (j) direction
e3 in: the vector multiplier in (k) direction
Exceptions:
This method throws srm::Exception


Member Function Documentation

void SRM.OrientationQuaternion.setQuaternion SRM_Quaternion_Params  params  )  throws SrmException
 

Sets the quaternion orientation representation.

Note:
q = e0 + e1*i + e2*j + e3*k

e0^2 + e1^2 + e2^2 + e3^2 = 1

Exceptions:
This method throws srm::Exception

Reimplemented from SRM.Orientation.


The documentation for this class was generated from the following file:
Spatial Reference Model Java API Version 4.4.0 - January 21, 2010
Copyright © 2010 SEDRIS Docs by Doxygen 1.3.2