Function polylabel::polylabel_ffi
source · [−]#[no_mangle]
pub extern "C" fn polylabel_ffi(
outer: Array,
inners: WrapperArray,
tolerance: c_double
) -> Position
Expand description
FFI access to the polylabel
function
Accepts three arguments:
- an exterior ring
Array
- zero or more interior rings
WrapperArray
- a tolerance
c_double
. If an error occurs while attempting to calculate the label position, the resulting point coordinates will be NaN, NaN.