getReverse() public method

Create a new polyline with reversed order of points, i. e. reversed polyline direction.
public getReverse ( ) : Polyline
return Polyline
コード例 #1
0
ファイル: PolylineTest.php プロジェクト: mjaschen/phpgeo
 public function testReverseTwiceWorksAsExpected()
 {
     $doubleReversed = $this->polyline->getReverse()->getReverse();
     $this->assertEquals($this->polyline, $doubleReversed);
 }