Trait h3ron::ToAlignedLinkedPolygons[][src]

pub trait ToAlignedLinkedPolygons {
    fn to_aligned_linked_polygons(
        &self,
        align_to_h3_resolution: u8,
        smoothen: bool
    ) -> Vec<Polygon<f64>>; }
Expand description

join hexagon polygons to larger polygons where hexagons are touching each other

The cells will be grouped by the align_to_h3_resolution, so this will generate polygons not exceeding the area of that parent resolution.

Corners will be aligned to the corners of the parent resolution when they are less than an edge length away from them. This is to avoid gaps when smoothen is set to true.

This algorithm still needs some optimization to improve the runtime.

Required methods

Implementations on Foreign Types

Implementors