S - A phantom type parameter indicating the coordinate space of the
volume@Generated(value={"Immutables.generator","PVolumeDType<S>"}) public final class PVolumeD<S> extends Object implements PVolumeDType<S>
A volume with double coordinates.
The coordinates of the area are given in half-closed form. That is,
minimumX() refers to the minimum inclusive value on the X
axis, and maximumX() refers to the maximum exclusive value on
the X axis. Likewise for the Y and Z axes.
| Modifier and Type | Class and Description |
|---|---|
static class |
PVolumeD.Builder<S>
Builds instances of type
PVolumeD. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PVolumeD.Builder<S> |
builder()
Creates a builder for
PVolumeD. |
boolean |
equals(Object another)
This instance is equal to all instances of
PVolumeD that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ. |
double |
maximumX() |
double |
maximumY() |
double |
maximumZ() |
double |
minimumX() |
double |
minimumY() |
double |
minimumZ() |
static <S> PVolumeD<S> |
of(double minimumX,
double maximumX,
double minimumY,
double maximumY,
double minimumZ,
double maximumZ)
Construct a new immutable
PVolumeD instance. |
String |
toString()
Prints the immutable value
PVolumeD with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeY, sizeZpublic double minimumX()
minimumX in interface PVolumeDType<S>minimumX in interface VolumeValuesDTypeminimumX attributepublic double maximumX()
maximumX in interface PVolumeDType<S>maximumX in interface VolumeValuesDTypemaximumX attributepublic double minimumY()
minimumY in interface PVolumeDType<S>minimumY in interface VolumeValuesDTypeminimumY attributepublic double maximumY()
maximumY in interface PVolumeDType<S>maximumY in interface VolumeValuesDTypemaximumY attributepublic double minimumZ()
minimumZ in interface PVolumeDType<S>minimumZ in interface VolumeValuesDTypeminimumZ attributepublic double maximumZ()
maximumZ in interface PVolumeDType<S>maximumZ in interface VolumeValuesDTypemaximumZ attributepublic boolean equals(Object another)
PVolumeD that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ.public String toString()
PVolumeD with attribute values.public static <S> PVolumeD<S> of(double minimumX, double maximumX, double minimumY, double maximumY, double minimumZ, double maximumZ)
PVolumeD instance.minimumX - The value for the minimumX attributemaximumX - The value for the maximumX attributeminimumY - The value for the minimumY attributemaximumY - The value for the maximumY attributeminimumZ - The value for the minimumZ attributemaximumZ - The value for the maximumZ attributepublic static <S> PVolumeD.Builder<S> builder()
PVolumeD.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com