healpix.core
Class NorthNestFace

java.lang.Object
  extended byhealpix.core.NestedFace
      extended byhealpix.core.PolarNF
          extended byhealpix.core.NorthNestFace

public class NorthNestFace
extends PolarNF

A Norther Face of a nest jhealpix map.


Field Summary
 
Fields inherited from class healpix.core.NestedFace
adjacent, face, npface, nside, offset
 
Constructor Summary
NorthNestFace(int facenum, NestedMap map)
          Constructor - can not be called directly use getFace
 
Method Summary
protected  void fillBoxNCorner(int[][] theBox, int xd, int yd)
          Take a chunk of pixel numebrs from a face on North corner.
protected  void fillBoxNE(int[][] theBox, int ymin, int ymax, int bx, int by)
          Skew the easttip neighbour
protected  void fillBoxNW(int[][] theBox, int xmin, int xmax, int bx, int by)
          Skew west tip neighbour
protected  void findAdjacentFaces()
          actually find the faces if - will be called from adjacentfaces as required, this should populate adjacent.
 int[] pixEcorner()
          Neighbours of the pixel in the east corner
 int[] pixNcorner()
          Neighbours of the pixel in the north corner
 int[] pixNside(int y)
          Pixels borderinng the pixel on the nortth(east )face.
 int[] pixWcorner()
          Neighbours of the pixel in the west corner
 int[] pixWside(int x)
          Pixels borderinng the pixel on the (north)west face.
 
Methods inherited from class healpix.core.PolarNF
eCornerNeigh, eFaceNeigh, eTipNeigh, fillBoxECorner, fillBoxWCorner, nCornerNeigh, nFaceNeigh, nTipNeigh, sCornerNeigh, sFaceNeigh, sTipNeigh, wCornerNeigh, wFaceNeigh, wTipNeigh
 
Methods inherited from class healpix.core.NestedFace
adjacentFaces, adjacentFaces, assemble, assemble, box, faceNum, fillBoxSCorner, fillBoxSE, fillBoxSW, fillBoxVal, getFace, internalNeigh, neighbours, neighbours, pix2xy, pixEside, pixScorner, pixSside, xy2pix, xy2pix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NorthNestFace

public NorthNestFace(int facenum,
                     NestedMap map)
Constructor - can not be called directly use getFace

Method Detail

findAdjacentFaces

protected void findAdjacentFaces()
                          throws java.lang.Exception
Description copied from class: NestedFace
actually find the faces if - will be called from adjacentfaces as required, this should populate adjacent.

Specified by:
findAdjacentFaces in class NestedFace
Throws:
java.lang.Exception

pixNcorner

public int[] pixNcorner()
                 throws java.lang.Exception
Neighbours of the pixel in the north corner

Overrides:
pixNcorner in class NestedFace
Throws:
java.lang.Exception

pixWcorner

public int[] pixWcorner()
                 throws java.lang.Exception
Description copied from class: NestedFace
Neighbours of the pixel in the west corner

Specified by:
pixWcorner in class NestedFace
Throws:
java.lang.Exception

pixEcorner

public int[] pixEcorner()
                 throws java.lang.Exception
Description copied from class: NestedFace
Neighbours of the pixel in the east corner

Specified by:
pixEcorner in class NestedFace
Throws:
java.lang.Exception

pixNside

public int[] pixNside(int y)
               throws java.lang.Exception
Pixels borderinng the pixel on the nortth(east )face.

Overrides:
pixNside in class NestedFace
Throws:
java.lang.Exception

pixWside

public int[] pixWside(int x)
               throws java.lang.Exception
Pixels borderinng the pixel on the (north)west face.

Overrides:
pixWside in class NestedFace
Throws:
java.lang.Exception

fillBoxNE

protected void fillBoxNE(int[][] theBox,
                         int ymin,
                         int ymax,
                         int bx,
                         int by)
                  throws java.lang.Exception
Skew the easttip neighbour

Overrides:
fillBoxNE in class NestedFace
Throws:
java.lang.Exception

fillBoxNW

protected void fillBoxNW(int[][] theBox,
                         int xmin,
                         int xmax,
                         int bx,
                         int by)
                  throws java.lang.Exception
Skew west tip neighbour

Overrides:
fillBoxNW in class NestedFace
Throws:
java.lang.Exception

fillBoxNCorner

protected void fillBoxNCorner(int[][] theBox,
                              int xd,
                              int yd)
                       throws java.lang.Exception
Take a chunk of pixel numebrs from a face on North corner. xd and yd are the Healpix X an Y number of pixels to go into the corner Face. The rest can be worked out from theBox dimensions . The north neighbour here is turned around.

Overrides:
fillBoxNCorner in class NestedFace
Throws:
java.lang.Exception