igeo
Class IUStripeShiftMap
java.lang.Object
igeo.IMap
igeo.IUStripeShiftMap
public class IUStripeShiftMap
- extends IMap
A subclass of IMap defined by another map and parameter shift in u direction in a stripe way in v direction
- Author:
- Satoru Sugihara
Method Summary |
void |
addShift(double domain,
double shiftAmount)
|
double |
get(double u,
double v)
A main method to get a value of the map. |
double |
getShift(double x)
|
Methods inherited from class igeo.IMap |
createImage, createImage, flipU, flipV, get, initDensityMapU, initDensityMapU, initDensityMapV, initDensityMapV, matchUDensityWithMap, matchUDensityWithMap, matchVDensityWithMap, matchVDensityWithMap, project, projectU, projectV, saveAsJPEG, saveAsJPEG, saveAsPNG, saveAsPNG, scaleDensityMapU, scaleDensityMapV |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domains
public java.util.ArrayList<java.lang.Double> domains
shiftAmounts
public java.util.ArrayList<java.lang.Double> shiftAmounts
origMap
public IMap origMap
IUStripeShiftMap
public IUStripeShiftMap(IMap originalMap)
IUStripeShiftMap
public IUStripeShiftMap(IMap originalMap,
double shift)
addShift
public void addShift(double domain,
double shiftAmount)
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.0v
- v coordinates ranges 0.0 - 1.0
- Returns:
- value of the map.
getShift
public double getShift(double x)