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

SRM.OrientationAxisAngle Class Reference

The Orientation subclass in (axis, angle) representation. More...

Inheritance diagram for SRM.OrientationAxisAngle:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OrientationAxisAngle ()
 Default constructor.

 OrientationAxisAngle (SRM_Axis_Angle_Params params) throws SrmException
 Constructor using (axis, angle) pamameter.

 OrientationAxisAngle (double[] axis, double angle_in_rad) throws SrmException
 Constructor using (axis, angle) pamameter.

SRM_Axis_Angle_Params getAxisAngle ()
 Gets the (axis, angle) orientation representation.

void setAxisAngle (SRM_Axis_Angle_Params params) throws SrmException
 Sets the (axis, angle) orientation representation.

String toString ()
 Returns the string for the (axis, angle) orientation representation.

SRM_Ori_Rep getOriRep ()
 Returns the native orientation representation type.


Static Public Member Functions

OrientationAxisAngle 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 Orientation subclass in (axis, angle) representation.

See also:
Orientation


Constructor & Destructor Documentation

SRM.OrientationAxisAngle.OrientationAxisAngle  ) 
 

Default constructor.

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

SRM.OrientationAxisAngle.OrientationAxisAngle SRM_Axis_Angle_Params  params  )  throws SrmException
 

Constructor using (axis, angle) pamameter.

Note:
the input axis is a unit vector of size 3

the input angle is in radians in the range of [-2PI, 2PI]

Parameters:
params in: the (axis, angle) parameter

SRM.OrientationAxisAngle.OrientationAxisAngle double  axis[],
double  angle_in_rad
throws SrmException
 

Constructor using (axis, angle) pamameter.

Note:
the input axis is a unit vector

the input angle is in radians in the range of [-2PI, 2PI]

Parameters:
axis in: the axis of rotation
angle_in_rad in: the angle of rotation


Member Function Documentation

void SRM.OrientationAxisAngle.setAxisAngle SRM_Axis_Angle_Params  params  )  throws SrmException
 

Sets the (axis, angle) orientation representation.

Note:
the input axis is a unit vector

the input angle is in radians in the range of [-2PI, 2PI]

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