WaveVectorFactory, java.io.Serializablepublic class WaveVectorFactory2D extends java.lang.Object implements WaveVectorFactory, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected double[] |
coefficients |
|
protected Primitive |
primitive |
|
protected Vector[] |
waveVectors |
| Constructor | Description |
|---|---|
WaveVectorFactory2D(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
public void makeWaveVectors(Box box)
WaveVectorFactorymakeWaveVectors in interface WaveVectorFactorypublic Vector[] getWaveVectors()
WaveVectorFactorygetWaveVectors in interface WaveVectorFactorypublic double[] getCoefficients()
WaveVectorFactorygetCoefficients in interface WaveVectorFactorypublic static void main(java.lang.String[] args)