| Package | de.popforge.imageprocessing.geom.maps |
| Class | public final class RippleMap |
| Inheritance | RippleMap GeometricMap |
p1 = p0 + amplitude * sin( p0 * frequency )

| Method | Defined by | ||
|---|---|---|---|
|
RippleMap(amplitudeX:Number, amplitudeY:Number, frequencyX:Number, frequencyY:Number)
Creates a new RippleMap object.
| RippleMap | ||
|
Displaces a Point with the given displace function.
| RippleMap | ||
|
toString():String
Builds and returns a string containing the name of the class.
| RippleMap | ||
| RippleMap | () | constructor |
public function RippleMap(amplitudeX:Number, amplitudeY:Number, frequencyX:Number, frequencyY:Number)Creates a new RippleMap object.
ParametersamplitudeX:Number — Amplitude of the ripple in x direction.
|
|
amplitudeY:Number — Amplitude of the ripple in y direction.
|
|
frequencyX:Number — Frequency of the ripple in x direction.
|
|
frequencyY:Number — Frequency of the ripple in y direction.
|
| displace | () | method |
public override function displace(point:Point):Boolean
Displaces a Point with the given displace function.
This function modifies the original point and checks if it has been modified or not.
A sphere map can check first if the point is inside of its radius. If this is not the
case the displace function should return false.
point:Point — The point that will be displaced.
|
Boolean — |
| toString | () | method |
public override function toString():StringBuilds and returns a string containing the name of the class.
ReturnsString — A string containing the name of the class.
|