public final class ReceptiveField
extends java.lang.Object
Constructor and Description |
---|
ReceptiveField(int x,
int y,
int width,
int height)
Create a new receptive field.
|
Modifier and Type | Method and Description |
---|---|
double |
getCenterX()
Return the center x coordinate for this receptive field.
|
double |
getCenterY()
Return the center y coordinate for this receptive field.
|
int |
getHeight()
Return the height of this receptive field.
|
int |
getWidth()
Return the width of this receptive field.
|
int |
getX()
Return the x offset for this receptive field.
|
int |
getY()
Return the y offset for this receptive field.
|
public ReceptiveField(int x, int y, int width, int height)
x
- x offset for this receptive field, relative to a pixel matrixy
- y offset for this receptive field, relative to a pixel matrixwidth
- width of this receptive fieldheight
- height of this receptive fieldpublic int getX()
public int getY()
public int getWidth()
public int getHeight()
public double getCenterX()
public double getCenterY()