Maven module :un.api : api-geometry :
Class :
un.api.geometry.index.quadtrees.QuadTreeRaycastResult
Extends/Implements :
un.api.geometry.index.quadtrees.Comparable>
Subclasses : -
Variables : -
Functions :
QuadTreeRaycastResult,
compareTo,
equals,
getDistance,
getObject,
hashCode,
toString
public void
QuadTreeRaycastResult (T in_object, double in_distance)
public int
compareTo (QuadTreeRaycastResult other)
public boolean
equals (Object obj)
public double
getDistance ()
public T
getObject ()
public int
hashCode ()
public String
toString ()
An object returned by a successful raycast operation. Objects are ordered
by their scalar distance from the origin of the ray.
Note that although the
QuadTreeRaycastResultclass isimmutable, whether or not the object of type
Treturned by{@link #getObject()} is mutable depends entirely on the user and therefore
thread-safety is also the responsibility of the user.
@param
@author Mark Raynsford