Property | Type | Description | |
---|---|---|---|
$polyline |
Method | Description | |
---|---|---|
__construct ( |
||
simplify ( float $tolerance ) : |
Method | Description | |
---|---|---|
deg2radLatitude ( float $latitude ) : float | ||
deg2radLongitude ( float $longitude ) : float | ||
douglasPeucker ( array $line, float $tolerance ) : array | ||
getPerpendicularDistance ( |
protected deg2radLatitude ( float $latitude ) : float | ||
$latitude | float | |
return | float |
protected deg2radLongitude ( float $longitude ) : float | ||
$longitude | float | |
return | float |
protected getPerpendicularDistance ( |
||
$point | ||
$line | ||
return | float |