Trait h3ron::to_h3::ToH3Cells

source ·
pub trait ToH3Cells {
    // Required method
    fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>;
}
Expand description

convert the geometry to cells at the given resolution

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

Required Methods§

source

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

Implementations on Foreign Types§

source§

impl ToH3Cells for Geometry<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Coord<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for GeometryCollection<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Line<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for LineString<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for MultiLineString<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for MultiPoint<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for MultiPolygon<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Point<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Polygon<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Rect<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

source§

impl ToH3Cells for Triangle<f64>

source§

fn to_h3_cells(&self, h3_resolution: u8) -> Result<IndexVec<H3Cell>, Error>

Implementors§