Jeospace API

org.jeospace.navigation
Class Globe

java.lang.Object
  extended byorg.jeospace.navigation.Globe
All Implemented Interfaces:
Horizon

public class Globe
extends java.lang.Object
implements Horizon

An orientation for the plane of the horizon about a world. This orientation directs the gravitation vector (Y axis) towards the center of the world and aligns the X and Z axes along the lines of latitude and longitude respectively of a conventional spherical coordinate system.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
Cartesian, Quaternion

Constructor Summary
Globe()
          Constructor
 
Method Summary
 void get(Cartesian cart, Quaternion quat)
          Calculate the plane of the horizon orientation for the argument cartesian coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Globe

public Globe()
Constructor

Method Detail

get

public void get(Cartesian cart,
                Quaternion quat)
Calculate the plane of the horizon orientation for the argument cartesian coordinate.

Specified by:
get in interface Horizon
Parameters:
cart - the position coordinate for which to calculate the plane of the horizon.
quat - the quaternion object to initialize with the plane of the horizon orientation.

Jeospace API

Copyright © 2006 - jeospace.org