Crate polylabel [] [src]

This crate provides a Rust implementation of the Polylabel algorithm

Structs

Array

Wrapper for a void pointer to a sequence of 2-element arrays representing points, and the sequence length

Position

FFI struct for returned optimum Polygon label position

WrapperArray

Wrapper for a void pointer to a sequence of Arrays, and the sequence length

Functions

polylabel

Calculate a Polygon's ideal label position by calculating its ✨pole of inaccessibility✨

polylabel_ffi

FFI access to the polylabel function

spare