Property | Type | Description | |
---|---|---|---|
$points | array |
Method | Description | |
---|---|---|
addPoint ( |
||
format ( Location\Formatter\Polyline\FormatterInterface $formatter ) : mixed | ||
getLength ( Location\Distance\DistanceInterface $calculator ) : float | Calculates the length of the polyline. | |
getNumberOfPoints ( ) : integer | ||
getPoints ( ) : array | ||
getReverse ( ) : |
Create a new polyline with reversed order of points, i. e. reversed polyline direction. | |
getSegments ( ) : array |
public getReverse ( ) : |
||
return |