Uses of Class
healpix.tools.SpatialVector

Packages that use SpatialVector
healpix.core This package contains the Healpix core classes. 
healpix.plot3d.progs.testing   
healpix.tools This package contains several tools for use within the HEALPix code. 
 

Uses of SpatialVector in healpix.core
 

Methods in healpix.core that return SpatialVector
static SpatialVector HealpixIndex.ang2Vec(double theta, double phi)
          calculates vector corresponding to angles theta (co-latitude measured from North pole, in [0,pi] radians) phi (longitude measured eastward in [0,2pi] radians) North pole is (x,y,z) = (0, 0, 1)
 SpatialVector[] HealpixIndex.corners_nest(long pix, int step)
          Returns set of points along the boundary of the given pixel in NEST scheme.
 SpatialVector[] HealpixIndex.corners_ring(long pix, int step)
          Returns set of points along the boundary of the given pixel in RING scheme.
 SpatialVector AngularPosition.getAsVector()
          convenience conversion.
 SpatialVector HealpixIndex.pix2vec_nest(long pix)
          Converts pix number in NEST scheme to the unit vector
 SpatialVector HealpixIndex.pix2vec_ring(long pix)
          Converts pix number in RING scheme to the unit vector
static SpatialVector HealpixIndex.vector(double theta, double phi)
          Construct a SpatialVector from the angle (theta,phi)
 

Methods in healpix.core with parameters of type SpatialVector
static double HealpixIndex.angDist(SpatialVector v1, SpatialVector v2)
          calculates angular distance (in radians) between 2 Vectors v1 and v2.
 int[] Healpix.query_disc(int nside, SpatialVector vector0, double radius, boolean nest, boolean inclusive)
          Deprecated. query_disc (Nside, Vector0, Radius, Listpix, Nlist[, Nest, Inclusive]).
 LongRangeSet HealpixIndex.query_triangle(int nside, SpatialVector v1, SpatialVector v2, SpatialVector v3, long nest, long inclusive)
          generates a list of pixels that lie inside a triangle defined by the three vertex vectors
 LongRangeSet HealpixIndex.queryDisc(SpatialVector vec, double radius, boolean inclusive)
          now using the C++ one this is here for convenience to consruct the LongRangeSet.
 LongRangeSet HealpixIndex.queryDisc(SpatialVector vec, double radius, int nest, int inclusive)
          Deprecated. use oen without nest - scheme now in map
static double HealpixIndex.surfaceTriangle(SpatialVector v1, SpatialVector v2, SpatialVector v3)
          calculates the surface of spherical triangle defined by vertices v1,v2,v3 Algorithm: finds triangle sides and uses l'Huilier formula to compute "spherical excess" = surface area of triangle on a sphere of radius one see, eg Bronshtein, Semendyayev Eq 2.86 half perimeter hp = 0.5*(side1+side2+side3) l'Huilier formula x0 = tan( hp/2.) x1 = tan((hp - side1)/2.) x2 = tan((hp - side2)/2.) x3 = tan((hp - side3)/2.)
static double[] HealpixIndex.vec2Ang(SpatialVector v)
          converts a SpatialVector in a tuple of angles tup[0] = theta co-latitude measured from North pole, in [0,PI] radians, tup[1] = phi longitude measured eastward, in [0,2PI] radians
static AngularPosition HealpixIndex.vec2AngularPosition(SpatialVector v)
           
 long HealpixIndex.vec2pix_nest(SpatialVector vec)
          Converts the unit vector to pix number in NEST scheme
 long HealpixIndex.vec2pix_ring(SpatialVector vec)
          Converts the unit vector to pix number in RING scheme
 

Method parameters in healpix.core with type arguments of type SpatialVector
 LongRangeSet HealpixIndex.query_polygon(int nside, ArrayList<SpatialVector> vlist1, long nest, long inclusive)
          finds pixels that lie within a CONVEX polygon defined by its vertex on sphere
 

Uses of SpatialVector in healpix.plot3d.progs.testing
 

Methods in healpix.plot3d.progs.testing with parameters of type SpatialVector
static void TestingQueryPolygon.addVec(int nside, SpatialVector vec, HealpixMap map, double v)
           
static void TestingQueryPolygon.addVec(SpatialVector vec, HealpixMap map, double v)
          Adds the vec.
 

Uses of SpatialVector in healpix.tools
 

Methods in healpix.tools that return SpatialVector
 SpatialVector SpatialVector.add(SpatialVector v)
          vector addition
 SpatialVector SpatialVector.cross(SpatialVector v)
          vector cross product
 SpatialVector SpatialVector.mul(double n)
          multiply with a number
 SpatialVector SpatialVector.sub(SpatialVector v)
          vector subtraction
 

Methods in healpix.tools with parameters of type SpatialVector
 SpatialVector SpatialVector.add(SpatialVector v)
          vector addition
 double SpatialVector.angle(SpatialVector v1)
          Returns the angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].
 SpatialVector SpatialVector.cross(SpatialVector v)
          vector cross product
 double SpatialVector.dot(SpatialVector v1)
          Computes the dot product of the this vector and vector v1.
 boolean SpatialVector.equal(SpatialVector v)
          Compare vectors if coordinates are equals
 SpatialVector SpatialVector.sub(SpatialVector v)
          vector subtraction
 

Constructors in healpix.tools with parameters of type SpatialVector
SpatialVector(SpatialVector copy)
          Copy constructor - be aware this only copies x,y,z
 


"Built from revision exported"