| Package | Description |
|---|---|
| com.io7m.jregions.core.parameterized.volumes |
Volume types.
|
| com.io7m.jregions.generators |
Quickcheck generators.
|
| Modifier and Type | Method | Description |
|---|---|---|
PVolumeI<S> |
PVolumeI.Builder.build() |
Builds a new
PVolumeI. |
static <S,T> PVolumeI<T> |
PVolumesI.cast(PVolumeI<S> volume) |
Brand a given volume as belonging to a different coordinate space.
|
static <S> PVolumeI<S> |
PVolumesI.containing(PVolumeI<S> a,
PVolumeI<S> b) |
Construct a volume that will contain both
a and b. |
static <S> PVolumeI<S> |
PVolumesI.create(int x,
int y,
int z,
int size_x,
int size_y,
int size_z) |
Create a volume of size (
size_x, size_y, size_z)
placing the minimum corner at (x, y, z). |
static <S> PVolumeI<S> |
PVolumesI.moveAbsolute(PVolumeI<S> volume,
int x,
int y,
int z) |
Move the given volume to
(x, y, z). |
static <S> PVolumeI<S> |
PVolumesI.moveRelative(PVolumeI<S> volume,
int x,
int y,
int z) |
Move the given volume by
(x, y, z). |
static <S> PVolumeI<S> |
PVolumesI.moveToOrigin(PVolumeI<S> volume) |
Move the given volume to
(0, 0, 0). |
static <S> PVolumeI<S> |
PVolumeI.of(int minimumX,
int maximumX,
int minimumY,
int maximumY,
int minimumZ,
int maximumZ) |
Construct a new immutable
PVolumeI instance. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PVolumeXYZSplitI<S,PVolumeI<S>> |
PVolumesI.splitAtXYZ(PVolumeI<S> v,
int x,
int y,
int z) |
Split the given volume at point
(x, y, z). |
| Modifier and Type | Method | Description |
|---|---|---|
static <S,T> PVolumeI<T> |
PVolumesI.cast(PVolumeI<S> volume) |
Brand a given volume as belonging to a different coordinate space.
|
static <S> PVolumeI<S> |
PVolumesI.containing(PVolumeI<S> a,
PVolumeI<S> b) |
Construct a volume that will contain both
a and b. |
static <S> boolean |
PVolumesI.contains(PVolumeI<S> a,
PVolumeI<S> b) |
Determine whether or not one volume contains another.
|
static <S> boolean |
PVolumesI.containsPoint(PVolumeI<S> a,
int x,
int y,
int z) |
Determine whether or not a volume contains a given point.
|
static <S> boolean |
PVolumesI.couldFitInside(PVolumeI<S> a,
PVolumeI<S> b) |
Determine whether or not one volume could fit inside another.
|
static <S> PVolumeI<S> |
PVolumesI.moveAbsolute(PVolumeI<S> volume,
int x,
int y,
int z) |
Move the given volume to
(x, y, z). |
static <S> PVolumeI<S> |
PVolumesI.moveRelative(PVolumeI<S> volume,
int x,
int y,
int z) |
Move the given volume by
(x, y, z). |
static <S> PVolumeI<S> |
PVolumesI.moveToOrigin(PVolumeI<S> volume) |
Move the given volume to
(0, 0, 0). |
static <S> boolean |
PVolumesI.overlaps(PVolumeI<S> a,
PVolumeI<S> b) |
Determine whether or not two volumes overlap.
|
static <S> java.lang.String |
PVolumesI.show(PVolumeI<S> volume) |
|
static <S> java.lang.String |
PVolumesI.showToBuilder(PVolumeI<S> volume,
java.lang.StringBuilder sb) |
|
static <S> PVolumeSizeI<S> |
PVolumesI.size(PVolumeI<S> volume) |
|
static <S> PVolumeXYZSplitI<S,PVolumeI<S>> |
PVolumesI.splitAtXYZ(PVolumeI<S> v,
int x,
int y,
int z) |
Split the given volume at point
(x, y, z). |
| Modifier and Type | Method | Description |
|---|---|---|
PVolumeI<S> |
PVolumeIGenerator.next() |
Copyright © 2017 <code@io7m.com> http://io7m.com