require('Polylabel.php'); use function \Polylabel\polylabel; $polygon = [[[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]]]; polylabel( $polygon, $precision = 50 ); // ['x' => 0.5, 'y' => 0.5, 'distance' => 0.5]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4