Class Zpn

java.lang.Object
All Implemented Interfaces:
java.io.Serializable, Component

public class Zpn
extends Projecter
See Also:
Serialized Form
  • Constructor Details

    • Zpn

      public Zpn()
  • Method Details

    • getName

      public java.lang.String getName()
      Get a name for the component
    • getParams

      protected double[] getParams()
    • setParams

      protected void setParams​(double[] newParams)
    • getDescription

      public java.lang.String getDescription()
      Get a description for the component
    • inverse

      public Deprojecter inverse()
      Get the inverse of the 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)
      Project a point from the sphere to the plane.
      Specified by:
      transform in class Transformer
      Parameters:
      sphere - a double[3] unit vector
      plane - a double[2] preallocated vector.
    • validPosition

      public boolean validPosition​(double[] plane)
      Description copied from class: Projecter
      Is this a valid position in the projection plane for this image. This default is appropriate for all projections where the projection plane is infinite.
      Overrides:
      validPosition in class Projecter