public class GridCell
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y,
double z)
Returns true if this GridCell contains the specified world location
where containment is in the range of min inclusive, max exclusive.
|
boolean |
contains(Vec3d world) |
boolean |
equals(java.lang.Object o)
Returns true if the cell location and the parent grid are the same.
|
Vec3i |
getCell() |
Grid |
getGrid() |
long |
getId() |
Vec3i |
getWorldOrigin() |
int |
hashCode() |
Vec3d |
localToWorld(Vec3d local) |
Vec3d |
localToWorld(Vec3d local,
Vec3d store) |
Vec3i |
localToWorld(Vec3i local) |
Vec3i |
localToWorld(Vec3i local,
Vec3i store) |
java.lang.String |
toString() |
Vec3d |
worldToLocal(double x,
double y,
double z) |
Vec3d |
worldToLocal(double x,
double y,
double z,
Vec3d store) |
Vec3d |
worldToLocal(Vec3d world) |
Vec3d |
worldToLocal(Vec3d world,
Vec3d store) |
public final long getId()
public final Grid getGrid()
public final Vec3i getCell()
public final Vec3i getWorldOrigin()
public final boolean contains(Vec3d world)
public final boolean contains(double x,
double y,
double z)
public final Vec3d worldToLocal(double x, double y, double z)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object