pub fn compute_pole(shape: &SPolygon, poles: &[Circle]) -> Circle
Expand description
Computes the pole - the largest circle which is both inside of shape
while being outside all other poles
.
Closely related to Pole of Inaccessibility (PoI),
and inspired by Mapbox’s polylabel
algorithm.