| Package | de.popforge.imageprocessing.geom.maps |
| Class | public final class TwirlMap |
| Inheritance | TwirlMap GeometricMap |

| Method | Defined by | ||
|---|---|---|---|
|
TwirlMap(centerX:Number, centerY:Number, angle:Number, radius:Number)
Creates a new TwirlMap object.
| TwirlMap | ||
|
Displaces a Point with the given displace function.
| TwirlMap | ||
|
toString():String
Builds and returns a string containing the name of the class.
| TwirlMap | ||
| TwirlMap | () | constructor |
public function TwirlMap(centerX:Number, centerY:Number, angle:Number, radius:Number)Creates a new TwirlMap object.
ParameterscenterX:Number — The x position of the twirl´s center.
|
|
centerY:Number — The y position of the twirl´s center.
|
|
angle:Number — The radius of the twirl.
|
|
radius:Number — The angle of the twirl in radians.
|
| 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.
|