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