Type Alias CellIndexArray

Source
pub type CellIndexArray = H3Array<CellIndex>;

Aliased Type§

struct CellIndexArray { /* private fields */ }

Implementations§

Source§

impl CellIndexArray

Source

pub fn resolution(&self) -> ResolutionArray

Source

pub fn area_rads2(&self) -> Float64Array

Source

pub fn area_km2(&self) -> Float64Array

Source

pub fn area_m2(&self) -> Float64Array

Source

pub fn parent(&self, resolution: Resolution) -> Self

Source

pub fn children( &self, resolution: Resolution, ) -> Result<H3ListArray<CellIndex>, Error>

Source

pub fn children_count(&self, resolution: Resolution) -> UInt64Array

Trait Implementations§

Source§

impl BoundingRect<f64> for CellIndexArray

Source§

type Output = Option<Rect>

Source§

fn bounding_rect(&self) -> Self::Output

Return the bounding rectangle of a geometry Read more
Source§

impl Centroid for CellIndexArray

Source§

impl ChangeResolutionOp for CellIndexArray

Source§

fn change_resolution(&self, resolution: Resolution) -> Result<Self, Error>

change the H3 resolutions of all contained values to resolution. Read more
Source§

fn change_resolution_list( &self, resolution: Resolution, ) -> Result<H3ListArray<CellIndex>, Error>

Change the H3 resolutions of all contained values to resolution. Read more
Source§

fn change_resolution_paired( &self, resolution: Resolution, ) -> Result<ChangedResolutionPair<Self>, Error>

change the H3 resolutions of all contained values to resolution and build a before-array with the input values for each after-value. Read more
Source§

impl CompactOp for CellIndexArray

Source§

fn compact(&self) -> Result<Self, Error>

expects all indexes to be at the same resolution
Source§

fn compact_mixed_resolutions(&self) -> Result<Self, Error>

Source§

fn uncompact(&self, resolution: Resolution) -> Self

Source§

impl ConcaveHull for CellIndexArray

Source§

type Scalar = f64

Source§

fn concave_hull(&self, concavity: Self::Scalar) -> Polygon<Self::Scalar>

Source§

impl<'a> ConvexHull<'a, f64> for CellIndexArray

Source§

type Scalar = f64

Source§

fn convex_hull(&'a self) -> Polygon<Self::Scalar>

Source§

impl IterPoints for CellIndexArray

Source§

impl IterPolygons for CellIndexArray

Source§

impl ParseGenericStringArray for CellIndexArray

Source§

fn parse_genericstringarray<O: OffsetSizeTrait>( genericstringarray: &GenericStringArray<O>, set_failing_to_invalid: bool, ) -> Result<Self, Error>

parse H3 indexes from string arrays Read more
Source§

impl ToCoordinatesOp for CellIndexArray

Source§

fn to_coordinates(&self) -> Result<CoordinateArrays, Error>

convert to point coordinates in degrees
Source§

fn to_coordinates_radians(&self) -> Result<CoordinateArrays, Error>

convert to point coordinates in radians
Source§

impl ToMultiPolygons for CellIndexArray

Source§

type Error = Error

Source§

type Output = MultiPolygon

Source§

fn to_multipolygons( &self, use_degrees: bool, ) -> Result<Self::Output, Self::Error>