| Package | Description |
|---|---|
| com.io7m.jspatial.api.octtrees |
Octtree API specification.
|
| com.io7m.jspatial.implementation |
Main implementation.
|
| Modifier and Type | Method and Description |
|---|---|
OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.Builder.build()
Builds a new
OctTreeRaycastResultI. |
static <T> OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.copyOf(OctTreeRaycastResultIType<T> instance)
Creates an immutable copy of a
OctTreeRaycastResultIType value. |
static <T> OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.of(double distance,
com.io7m.jregions.core.unparameterized.volumes.VolumeI volume,
T item)
Construct a new immutable
OctTreeRaycastResultI instance. |
OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.withDistance(double value)
Copy the current immutable object by setting a value for the
distance attribute. |
OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.withItem(T value)
Copy the current immutable object by setting a value for the
item attribute. |
OctTreeRaycastResultI<T> |
OctTreeRaycastResultI.withVolume(com.io7m.jregions.core.unparameterized.volumes.VolumeI value)
Copy the current immutable object by setting a value for the
volume attribute. |
| Modifier and Type | Method and Description |
|---|---|
void |
OctTreeReadableIType.raycast(Ray3D ray,
SortedSet<OctTreeRaycastResultI<A>> items)
Returns all objects that are intersected by the given ray.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OctTreeI.raycast(Ray3D ray,
SortedSet<OctTreeRaycastResultI<T>> items) |
Copyright © 2017 <code@io7m.com> http://io7m.com