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