Tool to transform a closed way of at least 3 distinct points into a circular shape, inserting more nodes as necessary. Call only the static function circularise().
public function Circularise(way:Way, map:Map, performAction:Function)
Parameters
| way:Way |
|
| map:Map |
|
| performAction:Function |
public static function circularise(way:Way, map:Map, performAction:Function):void
Carries out the circularisation of a way.
Parameters
| way:Way — The way to be made round: must be closed, must have at least 3 distinct points.
|
|
| map:Map — The map that the way belongs to.
|
|
| performAction:Function — A function that will be passed a CompositeUndoableAction representing the transformation. In other words, a function that will push the result onto an undo stack.
|
Found an error? Help us fix it. http://wiki.openstreetmap.org/wiki/Potlatch2