healpix.core
Class SouthNestFace

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

public class SouthNestFace
extends PolarNF


Field Summary
 
Fields inherited from class healpix.core.NestedFace
adjacent, face, npface, nside, offset
 
Constructor Summary
SouthNestFace(int facenum, NestedMap map)
          Constructor - can not be called directly use getFace
 
Method Summary
 NestedFace eTipNeigh()
           
protected  void fillBoxSCorner(int[][] theBox, int xd, int yd)
          Take a chunk of pixel numebrs from a face on South corner.
protected  void fillBoxSE(int[][] theBox, int xmin, int xmax, int bx, int by)
          Rotate the corner face and make it adjacent for box puposes
protected  void fillBoxSW(int[][] theBox, int ymin, int ymax, int bx, int by)
          Fill in with the corner face
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[] pixEside(int x)
          Pixels borderinng the pixel on the (south)east face.
 int[] pixScorner()
          Neighbours of the pixel in the south corner
 int[] pixSside(int y)
          Pixels borderinng the pixel on the south(west) face.
 int[] pixWcorner()
          Neighbours of the pixel in the west corner
 NestedFace wTipNeigh()
           
 
Methods inherited from class healpix.core.PolarNF
eCornerNeigh, eFaceNeigh, fillBoxECorner, fillBoxWCorner, nCornerNeigh, nFaceNeigh, nTipNeigh, sCornerNeigh, sFaceNeigh, sTipNeigh, wCornerNeigh, wFaceNeigh
 
Methods inherited from class healpix.core.NestedFace
adjacentFaces, adjacentFaces, assemble, assemble, box, faceNum, fillBoxNCorner, fillBoxNE, fillBoxNW, fillBoxVal, getFace, internalNeigh, neighbours, neighbours, pix2xy, pixNcorner, pixNside, pixWside, xy2pix, xy2pix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SouthNestFace

public SouthNestFace(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

pixScorner

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

Overrides:
pixScorner 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

pixSside

public int[] pixSside(int y)
               throws java.lang.Exception
Pixels borderinng the pixel on the south(west) face.

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

pixEside

public int[] pixEside(int x)
               throws java.lang.Exception
Pixels borderinng the pixel on the (south)east face.

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

fillBoxSE

protected void fillBoxSE(int[][] theBox,
                         int xmin,
                         int xmax,
                         int bx,
                         int by)
                  throws java.lang.Exception
Rotate the corner face and make it adjacent for box puposes

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

fillBoxSW

protected void fillBoxSW(int[][] theBox,
                         int ymin,
                         int ymax,
                         int bx,
                         int by)
                  throws java.lang.Exception
Fill in with the corner face

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

wTipNeigh

public NestedFace wTipNeigh()
                     throws java.lang.Exception
Overrides:
wTipNeigh in class PolarNF
Throws:
java.lang.Exception

eTipNeigh

public NestedFace eTipNeigh()
                     throws java.lang.Exception
Overrides:
eTipNeigh in class PolarNF
Throws:
java.lang.Exception

fillBoxSCorner

protected void fillBoxSCorner(int[][] theBox,
                              int xd,
                              int yd)
                       throws java.lang.Exception
Take a chunk of pixel numebrs from a face on South 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 south neighbour here is upside down.

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