getReverse() public method

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