public class Cell
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Cell(double x,
double y,
double hw,
double hh) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(org.nd4j.linalg.api.ndarray.INDArray point)
Whether the given point is contained
within this cell
|
boolean |
equals(java.lang.Object o) |
double |
getHh() |
double |
getHw() |
double |
getX() |
double |
getY() |
int |
hashCode() |
void |
setHh(double hh) |
void |
setHw(double hw) |
void |
setX(double x) |
void |
setY(double y) |
public boolean containsPoint(org.nd4j.linalg.api.ndarray.INDArray point)
point
- the point to checkpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getHw()
public void setHw(double hw)
public double getHh()
public void setHh(double hh)