skyview.geometry.projecter
Class CarProjecter

java.lang.Object
  extended by skyview.geometry.Transformer
      extended by skyview.geometry.Projecter
          extended by skyview.geometry.projecter.CarProjecter
All Implemented Interfaces:
java.io.Serializable, Component

public final class CarProjecter
extends Projecter

This class implements the Cartesian (rectangular) projection. Note that the tangent point is assumed to be at the north pole. This class assumes preallocated arrays for maximum efficiency.

See Also:
Serialized Form

Nested Class Summary
 class CarProjecter.CarDeprojecter
           
 
Constructor Summary
CarProjecter()
           
 
Method Summary
 java.lang.String getDescription()
          Return a description of the component
 java.lang.String getName()
          Get the name of the compontent
 Deprojecter inverse()
          Get the inverse transformation
 boolean isInverse(Transformer t)
          Is this an inverse of some other transformation?
 void transform(double[] sphere, double[] plane)
          Do the transfromation
 
Methods inherited from class skyview.geometry.Projecter
getInputDimension, getOutputDimension
 
Methods inherited from class skyview.geometry.Transformer
transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarProjecter

public CarProjecter()
Method Detail

getName

public java.lang.String getName()
Get the name of the compontent


getDescription

public java.lang.String getDescription()
Return a description of the component


inverse

public Deprojecter inverse()
Get the inverse transformation

Specified by:
inverse in class Projecter

isInverse

public boolean isInverse(Transformer t)
Is this an inverse of some other transformation?

Specified by:
isInverse in class Transformer

transform

public final void transform(double[] sphere,
                            double[] plane)
Do the transfromation

Specified by:
transform in class Transformer
Parameters:
sphere - The input vector.
plane - The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.