WaveVectorFactory
, java.io.Serializable
WaveVectorFactorySuperBox
public class WaveVectorFactorySimple extends java.lang.Object implements WaveVectorFactory, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected double[] |
coefficients |
|
protected Primitive |
primitive |
|
protected Space |
space |
|
protected Vector[] |
waveVectors |
Constructor | Description |
---|---|
WaveVectorFactorySimple(Primitive primitive,
Space _space) |
Modifier and Type | Method | Description |
---|---|---|
double[] |
getCoefficients() |
Returns the coefficients for the wave vectors returned by
getWaveVectors.
|
Vector[] |
getWaveVectors() |
Returns the wave vectors generated by makeWaveVectors
|
static void |
main(java.lang.String[] args) |
|
void |
makeWaveVectors(Box box) |
Tells the instance to make wave vectors appropriate for the given box.
|
protected final Primitive primitive
protected Vector[] waveVectors
protected double[] coefficients
protected final Space space
public void makeWaveVectors(Box box)
WaveVectorFactory
makeWaveVectors
in interface WaveVectorFactory
public Vector[] getWaveVectors()
WaveVectorFactory
getWaveVectors
in interface WaveVectorFactory
public double[] getCoefficients()
WaveVectorFactory
getCoefficients
in interface WaveVectorFactory
public static void main(java.lang.String[] args)