igeo
Class IULinearMap

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

public class IULinearMap
extends IMap

A subclass of IMap defined by two value to generate gradient map in u direction.


Field Summary
 double uval1
           
 double uval2
           
 
Fields inherited from class igeo.IMap
defaultDensityHeight, defaultDensityWidth, densityMinDelta, uIntegration, vIntegration
 
Constructor Summary
IULinearMap(double u1, double u2)
           
 
Method Summary
 void flipU()
          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, flipV, 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

uval1

public double uval1

uval2

public double uval2
Constructor Detail

IULinearMap

public IULinearMap(double u1,
                   double u2)
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