Trait h3ron::ToAlignedLinkedPolygons [−][src]
join hexagon polygons to larger polygons where hexagons are touching each other
The indexes 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
fn to_aligned_linked_polygons(
&self,
align_to_h3_resolution: u8,
smoothen: bool
) -> Vec<Polygon<f64>>
[src]
&self,
align_to_h3_resolution: u8,
smoothen: bool
) -> Vec<Polygon<f64>>
Implementations on Foreign Types
impl ToAlignedLinkedPolygons for Vec<Index>
[src]
fn to_aligned_linked_polygons(
&self,
align_to_h3_resolution: u8,
smoothen: bool
) -> Vec<Polygon<f64>>
[src]
&self,
align_to_h3_resolution: u8,
smoothen: bool
) -> Vec<Polygon<f64>>