public class WatershedPixel extends Object implements Comparable<WatershedPixel>
| Constructor and Description |
|---|
WatershedPixel() |
WatershedPixel(int x,
int y,
byte height) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNeighbour(WatershedPixel neighbour) |
boolean |
allNeighboursAreWSHED() |
int |
compareTo(WatershedPixel o)
Method to be able to use the Collections.sort static method.
|
int |
getDistance() |
byte |
getHeight() |
int |
getIntHeight() |
int |
getLabel() |
List<WatershedPixel> |
getNeighbours() |
int |
getX() |
int |
getY() |
boolean |
isFICTITIOUS() |
boolean |
isLabelINIT() |
boolean |
isLabelMASK() |
boolean |
isLabelWSHED() |
void |
setDistance(int distance) |
void |
setLabel(int label) |
void |
setLabelToINIT() |
void |
setLabelToMASK() |
void |
setLabelToWSHED() |
String |
toString() |
public WatershedPixel(int x,
int y,
byte height)
public WatershedPixel()
public void addNeighbour(WatershedPixel neighbour)
public List<WatershedPixel> getNeighbours()
public final byte getHeight()
public final int getIntHeight()
public final int getX()
public final int getY()
public int compareTo(WatershedPixel o)
compareTo in interface Comparable<WatershedPixel>public void setLabel(int label)
public void setLabelToINIT()
public void setLabelToMASK()
public void setLabelToWSHED()
public boolean isLabelINIT()
public boolean isLabelMASK()
public boolean isLabelWSHED()
public int getLabel()
public void setDistance(int distance)
public int getDistance()
public boolean isFICTITIOUS()
public boolean allNeighboursAreWSHED()
Copyright © 2005-2017 HydroloGIS. All Rights Reserved.