S - A phantom type parameter indicating the coordinate space of the
volumePVolumeFType<S>, VolumeSizeValuesFType, VolumeValuesFTypepublic final class PVolumeF<S> extends java.lang.Object implements PVolumeFType<S>
A volume with float 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 | Description |
|---|---|---|
static class |
PVolumeF.Builder<S> |
Builds instances of type
PVolumeF. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PVolumeF.Builder<S> |
builder() |
Creates a builder for
PVolumeF. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PVolumeF that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ. |
float |
maximumX() |
|
float |
maximumY() |
|
float |
maximumZ() |
|
float |
minimumX() |
|
float |
minimumY() |
|
float |
minimumZ() |
|
static <S> PVolumeF<S> |
of(float minimumX,
float maximumX,
float minimumY,
float maximumY,
float minimumZ,
float maximumZ) |
Construct a new immutable
PVolumeF instance. |
java.lang.String |
toString() |
Prints the immutable value
PVolumeF with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeY, sizeZpublic float minimumX()
minimumX in interface PVolumeFType<S>minimumX in interface VolumeValuesFTypeminimumX attributepublic float maximumX()
maximumX in interface PVolumeFType<S>maximumX in interface VolumeValuesFTypemaximumX attributepublic float minimumY()
minimumY in interface PVolumeFType<S>minimumY in interface VolumeValuesFTypeminimumY attributepublic float maximumY()
maximumY in interface PVolumeFType<S>maximumY in interface VolumeValuesFTypemaximumY attributepublic float minimumZ()
minimumZ in interface PVolumeFType<S>minimumZ in interface VolumeValuesFTypeminimumZ attributepublic float maximumZ()
maximumZ in interface PVolumeFType<S>maximumZ in interface VolumeValuesFTypemaximumZ attributepublic boolean equals(java.lang.Object another)
PVolumeF that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ.hashCode in class java.lang.Objectpublic java.lang.String toString()
PVolumeF with attribute values.toString in class java.lang.Objectpublic static <S> PVolumeF<S> of(float minimumX, float maximumX, float minimumY, float maximumY, float minimumZ, float maximumZ)
PVolumeF 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> PVolumeF.Builder<S> builder()
PVolumeF.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com