Class 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()  
    • Constructor Detail

      • CahDeproj

        public CahDeproj()
    • Method Detail

      • 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.