public class BresenhamYUpGridTracer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BresenhamYUpGridTracer.Direction |
Modifier and Type | Field and Description |
---|---|
protected Vector2f |
gridLocation |
protected Vector3f |
gridOrigin |
protected Vector3f |
gridSpacing |
protected float |
rayLength |
protected Vector3f |
rayLocation |
protected BresenhamYUpGridTracer.Direction |
stepDirection |
protected static float |
TOLERANCE |
protected Ray |
walkRay |
Constructor and Description |
---|
BresenhamYUpGridTracer() |
Modifier and Type | Method and Description |
---|---|
Vector2f |
getGridLocation() |
Vector3f |
getGridOrigin() |
Vector3f |
getGridSpacing() |
BresenhamYUpGridTracer.Direction |
getLastStepDirection() |
boolean |
isRayPerpendicularToGrid() |
void |
next() |
void |
setGridLocation(Vector2f gridLocation) |
void |
setGridOrigin(Vector3f gridOrigin) |
void |
setGridSpacing(Vector3f gridSpacing) |
void |
startWalk(Ray walkRay) |
protected Vector3f gridOrigin
protected Vector3f gridSpacing
protected Vector2f gridLocation
protected Vector3f rayLocation
protected Ray walkRay
protected BresenhamYUpGridTracer.Direction stepDirection
protected float rayLength
protected static float TOLERANCE
public void startWalk(Ray walkRay)
public void next()
public BresenhamYUpGridTracer.Direction getLastStepDirection()
public boolean isRayPerpendicularToGrid()
public Vector2f getGridLocation()
public Vector3f getGridOrigin()
public Vector3f getGridSpacing()
public void setGridLocation(Vector2f gridLocation)
public void setGridOrigin(Vector3f gridOrigin)
public void setGridSpacing(Vector3f gridSpacing)