Tool to transform a closed way by making corners right-angled, if possible. Call the static function quadrilateralise().
public function Quadrilateralise(way_:Way, performAction_:Function)
Private function that had to be declared public - do not call from outside this package.
Parameters
| way_:Way |
|
| performAction_:Function |
public static function quadrilateralise(way:Way, performAction:Function):Boolean
Attempts to make all corners of a way right angles. Returns true if it
thought it was successful and false if it failed. If it fails it does not
modify the way.
Parameters
| way:Way — Way to be transformed.
|
|
| performAction:Function |
Returns
Found an error? Help us fix it. http://wiki.openstreetmap.org/wiki/Potlatch2