Class Cah.CahDeproj

java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Deprojecter
skyview.geometry.projecter.Cah.CahDeproj
All Implemented Interfaces:
java.io.Serializable, Component
Enclosing class:
Cah

public class Cah.CahDeproj
extends Deprojecter
Deproject from the plane back to the unit sphere
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    CahDeproj()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDescription()
    Get the description of this component.
    java.lang.String getName()
    Get the name of this component.
    Transformer inverse()
    Get the inverse of the transformation.
    boolean isInverse​(Transformer obj)
    Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.
    void transform​(double[] plane, double[] sphere)
    Convert a single point where the output vector is supplied.
    boolean validPosition​(double[] pos)  

    Methods inherited from class skyview.geometry.Deprojecter

    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 Details

  • Method Details

    • getName

      public java.lang.String getName()
      Description copied from interface: Component
      Get the name of this component.
    • getDescription

      public java.lang.String getDescription()
      Description copied from interface: Component
      Get the description of this component.
    • isInverse

      public boolean isInverse​(Transformer obj)
      Description copied from class: Transformer
      Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.
      Specified by:
      isInverse in class Transformer
    • inverse

      public Transformer inverse()
      Description copied from class: Transformer
      Get the inverse of the transformation. If the order matters, then the inverse is to be applied after the original transformation. This is primarily an issue with Converters.
      Specified by:
      inverse in class Transformer
    • validPosition

      public boolean validPosition​(double[] pos)
    • transform

      public void transform​(double[] plane, double[] sphere)
      Description copied from class: Transformer
      Convert a single point where the output vector is supplied.
      Specified by:
      transform in class Transformer
      Parameters:
      plane - The input vector.
      sphere - 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.