Class Zphi

java.lang.Object
healpix.essentials.Zphi

public final class Zphi extends Object
Class for storing a position on the unit sphere as a (z,phi)-tuple.
Author:
Martin Reinecke
Copyright:
(C) 2011 Max-Planck-Society
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Longitude in radians; Range [0; 2Pi].
    double
    Cosine of the colatitude, or z component of unit vector; Range [-1;1].
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Zphi(double z_, double phi_)
    Creation from individual components
    Conversion from Pointing
    Conversion from Vec3
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • z

      public double z
      Cosine of the colatitude, or z component of unit vector; Range [-1;1].
    • phi

      public double phi
      Longitude in radians; Range [0; 2Pi].
  • Constructor Details

    • Zphi

      public Zphi()
      Default constructor
    • Zphi

      public Zphi(double z_, double phi_)
      Creation from individual components
    • Zphi

      public Zphi(Vec3 v)
      Conversion from Vec3
    • Zphi

      public Zphi(Pointing ptg)
      Conversion from Pointing
  • Method Details