pub trait ToIntersectingH3Cells {
    // Required method
    fn to_intersecting_h3_cells(
        &self,
        h3_resolution: u8
    ) -> Result<Vec<H3Cell>, Error>;
}
Expand description

Convert the geometry to cells at the given resolution

In contrary to ToH3Cells this not only contains the cells whose centroid is located within the self (in case of polygons), but also the cells which only intersect with self.

The output vec may contain duplicate indexes in case of overlapping input geometries.

Required Methods§

source

fn to_intersecting_h3_cells( &self, h3_resolution: u8 ) -> Result<Vec<H3Cell>, Error>

Implementations on Foreign Types§

source§

impl ToIntersectingH3Cells for MultiPolygon<f64>

source§

fn to_intersecting_h3_cells( &self, h3_resolution: u8 ) -> Result<Vec<H3Cell>, Error>

source§

impl ToIntersectingH3Cells for Polygon<f64>

source§

fn to_intersecting_h3_cells( &self, h3_resolution: u8 ) -> Result<Vec<H3Cell>, Error>

Implementors§