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

SRM.SRM_Quaternion_Params Class Reference

SRM_Quaternion_Params class declaration. More...

List of all members.

Public Member Functions

 SRM_Quaternion_Params ()
 The default constructor.

 SRM_Quaternion_Params (double e0, double e1, double e2, double e3)
 Constructor using axis and angle pamameters.

 SRM_Quaternion_Params (SRM_Quaternion_Params params)
 the copy constructor

boolean valid ()
 Returns true if the orientation parameters are valid.

String toString ()

Static Public Member Functions

final boolean isEqual (SRM_Quaternion_Params a, SRM_Quaternion_Params b, double tolerance)
 Returns TRUE if a's member data are "equivalent" to those in b.


Public Attributes

double e0 = 1.0
double e1 = 0.0
double e2 = 0.0
double e3 = 0.0


Detailed Description

SRM_Quaternion_Params class declaration.

This class holds the specific parameters for the Quaternion orientation representation

Author:
David Shen


Constructor & Destructor Documentation

SRM.SRM_Quaternion_Params.SRM_Quaternion_Params double  e0,
double  e1,
double  e2,
double  e3
 

Constructor using axis and angle 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


Member Function Documentation

boolean SRM.SRM_Quaternion_Params.valid  ) 
 

Returns true if the orientation parameters are valid.

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

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


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