| Package | Description |
|---|---|
| com.io7m.jspatial.api |
API specification.
|
| com.io7m.jspatial.api.quadtrees |
Quadtree API specification.
|
| com.io7m.jspatial.implementation |
Main implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Ray2D |
Ray2D.Builder.build()
Builds a new
Ray2D. |
static Ray2D |
Ray2D.copyOf(Ray2DType instance)
Creates an immutable copy of a
Ray2DType value. |
static Ray2D |
Ray2D.of(com.io7m.jtensors.core.unparameterized.vectors.Vector2D origin,
com.io7m.jtensors.core.unparameterized.vectors.Vector2D direction)
Construct a new immutable
Ray2D instance. |
Ray2D |
Ray2D.withDirection(com.io7m.jtensors.core.unparameterized.vectors.Vector2D value)
Copy the current immutable object by setting a value for the
direction attribute. |
Ray2D |
Ray2D.withOrigin(com.io7m.jtensors.core.unparameterized.vectors.Vector2D value)
Copy the current immutable object by setting a value for the
origin 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.
|
void |
QuadTreeReadableIType.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultI<A>> items)
Returns all objects that are intersected by the given ray.
|
void |
QuadTreeReadableLType.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultL<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) |
void |
QuadTreeI.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultI<T>> items) |
void |
QuadTreeL.raycast(Ray2D ray,
SortedSet<QuadTreeRaycastResultL<T>> items) |
Copyright © 2017 <code@io7m.com> http://io7m.com