public class Sine2DWaveform extends Object
Constructor and Description |
---|
Sine2DWaveform()
Creates sine wave of 100 samples, with period of 1 second, wavelength of
100 samples along the x axis, updating at 10 Hz.
|
Sine2DWaveform(Double periodInSeconds,
Double wavelengthInSamples,
Double updateRateInSeconds)
Creates sine wave of 100 samples, with given period and given wavelength of
100 samples along the x axis, updating at given rate.
|
Sine2DWaveform(Double periodInSeconds,
Double wavelengthInSamples,
Double nSamples,
Double updateRateInSeconds)
Creates sine wave of 100 samples, with given period and given wavelength of
given number of samples along the x axis, updating at given rate.
|
Sine2DWaveform(Double periodInSeconds,
Double wavelengthInSamples,
Double angle,
Double xSamples,
Double ySamples,
Double updateRateInSeconds)
Creates sine wave with given parameters.
|
public Sine2DWaveform()
public Sine2DWaveform(Double periodInSeconds, Double wavelengthInSamples, Double updateRateInSeconds)
periodInSeconds
- the period measured in secondswavelengthInSamples
- the wavelength measured in samplesupdateRateInSeconds
- the update rate in secondspublic Sine2DWaveform(Double periodInSeconds, Double wavelengthInSamples, Double nSamples, Double updateRateInSeconds)
periodInSeconds
- the period measured in secondswavelengthInSamples
- the wavelength measured in samplesnSamples
- the number of samplesupdateRateInSeconds
- the update rate in secondspublic Sine2DWaveform(Double periodInSeconds, Double wavelengthInSamples, Double angle, Double xSamples, Double ySamples, Double updateRateInSeconds)
periodInSeconds
- the period measured in secondswavelengthInSamples
- the wavelength measured in samplesangle
- the direction of propagation for the wavexSamples
- number of samples on the x directionySamples
- number of samples on the y directionupdateRateInSeconds
- the update rate in secondsCopyright © 2010–2015. All rights reserved.