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