Jeospace API

org.jeospace.coordinate
Class DefaultConvention

java.lang.Object
  extended byorg.jeospace.coordinate.DefaultConvention
All Implemented Interfaces:
CartesianConvention

public class DefaultConvention
extends java.lang.Object
implements CartesianConvention

The default CartesianConvention. Provided primarily for documentation.

This convention, implemented as the default in the Cartesian object provides a simple mapping of a VRML97/X3D cartesian convention to the spherical and ellipsodial coordinate systems of this package.

The VRML convention (see: The Annotated VRML97 Reference Manual) for the alignment of the cartesian coordinate axis's are: the positive Y-axis up, the positive X-axis to the right and the positive Z-axis projects out.

The relationships of the cartesian axis's to the spherical coordinate system's references are:

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Constructor Summary
DefaultConvention()
          Constructor
 
Method Summary
 void fromDefault(double[] values)
          Rearrange in place the array of double values from the default convention to the required convention in the correct x, y, z order.
 void toDefault(double[] values)
          Rearrange in place the array of double values from the required convention to the default convention in the correct x, y, z order.
 java.lang.String toString()
          Return the String identifier of this CartesianConvention
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultConvention

public DefaultConvention()
Constructor

Method Detail

toDefault

public void toDefault(double[] values)
Rearrange in place the array of double values from the required convention to the default convention in the correct x, y, z order.

Specified by:
toDefault in interface CartesianConvention

fromDefault

public void fromDefault(double[] values)
Rearrange in place the array of double values from the default convention to the required convention in the correct x, y, z order.

Specified by:
fromDefault in interface CartesianConvention

toString

public java.lang.String toString()
Return the String identifier of this CartesianConvention

Specified by:
toString in interface CartesianConvention

Jeospace API

Copyright © 2006 - jeospace.org