Package com.io7m.jspatial.api.octtrees
Interface OctTreeRaycastResultIType<T>
-
- Type Parameters:
T- The precise type of objects
- All Superinterfaces:
java.lang.Comparable<OctTreeRaycastResultIType<T>>
- All Known Implementing Classes:
OctTreeRaycastResultI
@Immutable public interface OctTreeRaycastResultIType<T> extends java.lang.Comparable<OctTreeRaycastResultIType<T>>
The type of octtree raycast results.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(OctTreeRaycastResultIType<T> o)doubledistance()Titem()com.io7m.jregions.core.unparameterized.volumes.VolumeIvolume()
-
-
-
Method Detail
-
compareTo
default int compareTo(OctTreeRaycastResultIType<T> o)
- Specified by:
compareToin interfacejava.lang.Comparable<T>
-
distance
@Parameter(order=0) double distance()
- Returns:
- The distance to the object
-
volume
@Parameter(order=1) com.io7m.jregions.core.unparameterized.volumes.VolumeI volume()
- Returns:
- The object volume
-
item
@Parameter(order=2) T item()
- Returns:
- The object
-
-