Enum Class BillboardDataset.Distribution
- All Implemented Interfaces:
LocalizedEnum, Serializable, Comparable<BillboardDataset.Distribution>, Constable
- Enclosing class:
BillboardDataset
public static enum BillboardDataset.Distribution
extends Enum<BillboardDataset.Distribution>
implements LocalizedEnum
Particle distributions.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA simple bar.A cone distribution.Simple uniformly distributed disk.Gaussian distribution in a disk, with an overdense center.An ellipse, with an eccentricity.An irregular distribution.Simple uniformly distributed sphere.Gaussian distribution in a sphere.Density wave distribution, producing natural spirals.An artificial logarithmic spiral. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisBar()booleanbooleanbooleanisFlat()booleanReturns the enum constant of this class with the specified name.static BillboardDataset.Distribution[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPHERE
Simple uniformly distributed sphere. -
DISK
Simple uniformly distributed disk. -
SPIRAL
Density wave distribution, producing natural spirals. -
SPIRAL_LOG
An artificial logarithmic spiral. -
BAR
A simple bar. -
ELLIPSOID
An ellipse, with an eccentricity. -
DISK_GAUSS
Gaussian distribution in a disk, with an overdense center. -
SPHERE_GAUSS
Gaussian distribution in a sphere. -
CONE
A cone distribution. -
IRREGULAR
An irregular distribution.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isFlat
public boolean isFlat() -
isAnySpiral
public boolean isAnySpiral() -
isDensityWaveSpiral
public boolean isDensityWaveSpiral() -
isLogarithmicSpiral
public boolean isLogarithmicSpiral() -
isEllipsoid
public boolean isEllipsoid() -
isBar
public boolean isBar() -
localizedName
- Specified by:
localizedNamein interfaceLocalizedEnum
-