public abstract class AbstractRayResult<T extends AbstractRay<?>> extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
ray |
protected RayResult |
rayResult |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRayResult(T ray,
RayResult rayResult) |
Modifier and Type | Method and Description |
---|---|
HashMap<Vector,Material> |
getAllTestedLoc()
Get ALL tested locations as vector with the material founded.
|
double |
getLastDistance()
Get the last distance between begin and end.
|
T |
getRay()
Get the ray object which does ray action
|
RayResult |
getRayResult()
Get the Ray result
|
Vector |
getVector()
Get the vector used to make the ray
|
String |
toString() |
protected final T extends AbstractRay<?> ray
protected final RayResult rayResult
public T getRay()
public RayResult getRayResult()
public Vector getVector()
public HashMap<Vector,Material> getAllTestedLoc()
public double getLastDistance()