igeo
Class IAddMap

java.lang.Object
  extended by igeo.IMap
      extended by igeo.IAddMap

public class IAddMap
extends IMap

A subclass of IMap defined by addition of two maps. Output value is crampped with 0.0 - 1.0.


Field Summary
 IMap map1
           
 IMap map2
           
 
Fields inherited from class igeo.IMap
defaultDensityHeight, defaultDensityWidth, densityMinDelta, uIntegration, vIntegration
 
Constructor Summary
IAddMap(IMap m1, IMap m2)
           
 
Method Summary
 void flipU()
          to be defined in sub class
 void flipV()
          to be defined in sub class
 double get(double u, double v)
          A main method to get a value of the map.
 
Methods inherited from class igeo.IMap
createImage, get, initDensityMapU, initDensityMapU, initDensityMapV, initDensityMapV, matchUDensityWithMap, matchUDensityWithMap, matchVDensityWithMap, matchVDensityWithMap, project, projectU, projectV, scaleDensityMapU, scaleDensityMapV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map1

public IMap map1

map2

public IMap map2
Constructor Detail

IAddMap

public IAddMap(IMap m1,
               IMap m2)
Method Detail

get

public double get(double u,
                  double v)
Description copied from class: IMap
A main method to get a value of the map. This method should be overwritten by child classes to have preferable behavior returning value of the map ranging 0.0 - 1.0.

Overrides:
get in class IMap
Parameters:
u - u coordinates ranges 0.0 - 1.0
v - v coordinates ranges 0.0 - 1.0
Returns:
value of the map.

flipU

public void flipU()
Description copied from class: IMap
to be defined in sub class

Overrides:
flipU in class IMap

flipV

public void flipV()
Description copied from class: IMap
to be defined in sub class

Overrides:
flipV in class IMap