public class MapPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.extension.envsupport.math.IVector2 |
location
The location.
|
protected int |
quantity
The visit quantity.
|
protected double |
seen
The seen value (1=just seen -> 0=never seen).
|
Constructor and Description |
---|
MapPoint()
Bean constructor required for remote cleaner GUI.
|
MapPoint(jadex.extension.envsupport.math.IVector2 location,
int quantity,
double seen)
Create a new map point.
|
Modifier and Type | Method and Description |
---|---|
jadex.extension.envsupport.math.IVector2 |
getLocation()
Get the location.
|
static MapPoint[] |
getMapPointRaster(int numx,
int numy,
double width,
double height)
Create a map point raster.
|
int |
getQuantity()
Get the quantity.
|
double |
getSeen()
Get the seen.
|
void |
setLocation(jadex.extension.envsupport.math.IVector2 location)
Set the location.
|
void |
setQuantity(int quantity)
Set the quantity.
|
void |
setSeen(double seen)
Set the seen.
|
java.lang.String |
toString()
Get the string representation.
|
protected jadex.extension.envsupport.math.IVector2 location
protected int quantity
protected double seen
public MapPoint()
public MapPoint(jadex.extension.envsupport.math.IVector2 location, int quantity, double seen)
public int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity.public double getSeen()
public void setSeen(double seen)
seen
- The seen.public jadex.extension.envsupport.math.IVector2 getLocation()
public void setLocation(jadex.extension.envsupport.math.IVector2 location)
location
- The location to set.public java.lang.String toString()
toString
in class java.lang.Object
public static MapPoint[] getMapPointRaster(int numx, int numy, double width, double height)
numx
- The number of x points.numy
- The number of y points.