Crate h3ron_h3_sys[][src]

low-level bindings to H3

This crate includes the C sources for libh3, so compiling it requires a c-compiler and the cmake build tool.

Structs

CoordIJ

@struct CoordIJ @brief IJ hexagon coordinates

GeoBoundary

@struct GeoBoundary @brief cell boundary in latitude/longitude

GeoCoord

@struct GeoCoord @brief latitude/longitude in radians

GeoMultiPolygon

@struct GeoMultiPolygon @brief Simplified core of GeoJSON MultiPolygon coordinates definition

GeoPolygon

@struct GeoPolygon @brief Simplified core of GeoJSON Polygon coordinates definition

Geofence

@struct Geofence @brief similar to GeoBoundary, but requires more alloc work

LinkedGeoCoord
LinkedGeoLoop
LinkedGeoPolygon

Functions

cellAreaKm2
cellAreaM2
cellAreaRads2
compact
degsToRads
destroyLinkedPolygon
edgeLengthKm
edgeLengthM
exactEdgeLengthKm
exactEdgeLengthM
exactEdgeLengthRads
experimentalH3ToLocalIj
experimentalLocalIjToH3
geoToH3
getDestinationH3IndexFromUnidirectionalEdge
getH3IndexesFromUnidirectionalEdge
getH3UnidirectionalEdge
getH3UnidirectionalEdgeBoundary
getH3UnidirectionalEdgesFromHexagon
getOriginH3IndexFromUnidirectionalEdge
getPentagonIndexes
getRes0Indexes
h3Distance
h3GetBaseCell
h3GetFaces
h3GetResolution
h3IndexesAreNeighbors
h3IsPentagon
h3IsResClassIII
h3IsValid
h3Line
h3LineSize
h3SetToLinkedGeo
h3ToCenterChild
h3ToChildren
h3ToGeo
h3ToGeoBoundary
h3ToParent
h3ToString
h3UnidirectionalEdgeIsValid
hexAreaKm2
hexAreaM2
hexRange
hexRangeDistances
hexRanges
hexRing
kRing
kRingDistances
maxFaceCount
maxH3ToChildrenSize
maxKringSize
maxPolyfillSize
maxUncompactSize
numHexagons
pentagonIndexCount
pointDistKm
pointDistM
pointDistRads
polyfill
radsToDegs
res0IndexCount
stringToH3
uncompact

Type Definitions

H3Index

@brief the H3Index fits within a 64-bit unsigned integer

__int64_t
__uint64_t
size_t