org.bouncycastle.graphics.rt.util
Class WaveSource
java.lang.Object
|
+--org.bouncycastle.graphics.rt.util.WaveSource
- public class WaveSource
- extends java.lang.Object
a generic wave source.
Example:
<WaveSource center="0, 0, 0" amplitude="0.5" wavelength="0.2"/>
Document Type Definition:
<!ENTITY %Color3f "CDATA">
<!ENTITY %Float "CDATA">
<!ENTITY %Point3f "CDATA">
<!ELEMENT WaveSource EMPTY>
<!ATTLIST WaveSource
color %Color3f; "1, 1, 1"
wavelength %Float; "6.2"
amplitude %Float; "1"
phase %Float; "0"
damping %Float; "0"
center %Point3f; "0, 0, 0">
Constructor Summary |
WaveSource(Point3f center,
double wavelength,
double amplitude,
double phase,
double damping)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaveSource
public WaveSource(Point3f center,
double wavelength,
double amplitude,
double phase,
double damping)
getInstance
public static WaveSource getInstance(RMLReader in)
throws java.io.IOException
perturbationAt
public Vector3f perturbationAt(Point3f loc)