Class CarProjecter

  extended by skyview.geometry.Transformer
      extended by skyview.geometry.Projecter
          extended by skyview.geometry.projecter.CarProjecter
All Implemented Interfaces:, 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
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


public CarProjecter()
Method Detail


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


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


public Deprojecter inverse()
Get the inverse transformation

Specified by:
inverse in class Projecter


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

Specified by:
isInverse in class Transformer


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

Specified by:
transform in class Transformer
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.