| Package | Description |
|---|---|
| com.io7m.jspatial.api.quadtrees |
Quadtree API specification.
|
| com.io7m.jspatial.implementation |
Main implementation.
|
| Modifier and Type | Method and Description |
|---|---|
QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.Builder.build()
Builds a new
QuadTreeRaycastResultI. |
static <T> QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.copyOf(QuadTreeRaycastResultIType<T> instance)
Creates an immutable copy of a
QuadTreeRaycastResultIType value. |
static <T> QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.of(double distance,
com.io7m.jregions.core.unparameterized.areas.AreaI area,
T item)
Construct a new immutable
QuadTreeRaycastResultI instance. |
QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.withArea(com.io7m.jregions.core.unparameterized.areas.AreaI value)
Copy the current immutable object by setting a value for the
area attribute. |
QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.withDistance(double value)
Copy the current immutable object by setting a value for the
distance attribute. |
QuadTreeRaycastResultI<T> |
QuadTreeRaycastResultI.withItem(T value)
Copy the current immutable object by setting a value for the
item attribute. |
| Modifier and Type | Method and Description |
|---|---|
void |
QuadTreeReadableIType.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultI<A>> items)
Returns all objects that are intersected by the given ray.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QuadTreeI.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultI<T>> items) |
Copyright © 2017 <code@io7m.com> http://io7m.com