uk.me.parabola.imgfmt.app.trergn
Class Zoom

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.trergn.Zoom

public class Zoom
extends java.lang.Object

A zoom level (or map level) determines the amount of detail that is shown as you zoom in and out. Level 0 is the the most detailed level. A zoom level has a number of bits per co-ordinate and the number of subdivisions at that level. The highest level must have one subdivision and have no elements I believe.

Author:
Steve Ratcliffe

Method Summary
 int getLevel()
           
 int getResolution()
           
 int getShiftValue()
           
 void setInherited(boolean inherited)
           
 java.util.Iterator<Subdivision> subdivIterator()
           
 java.lang.String toString()
           
 void write(ImgFileWriter file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

subdivIterator

public java.util.Iterator<Subdivision> subdivIterator()

setInherited

public void setInherited(boolean inherited)

getLevel

public int getLevel()

getResolution

public int getResolution()

getShiftValue

public int getShiftValue()

write

public void write(ImgFileWriter file)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object