Class Stg

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

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

    • Stg

      public Stg()
  • Method Details

    • getName

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

      public java.lang.String getDescription()
      Get a description of the component
    • 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.
    • allValid

      public boolean allValid()
      The entire projection plane is valid
      Overrides:
      allValid in class Projecter
    • 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