Create a new polyline with reversed order of points, i. e. reversed
polyline direction.
public getReverse ( ) : |
||
return |
public function testReverseTwiceWorksAsExpected() { $doubleReversed = $this->polyline->getReverse()->getReverse(); $this->assertEquals($this->polyline, $doubleReversed); }