Module: H3

Extended by:
GeoJSON, Hierarchy, Indexing, Inspection, Miscellaneous, Regions, Traversal, UnidirectionalEdges
Defined in:
lib/h3.rb,
lib/h3/regions.rb,
lib/h3/version.rb,
lib/h3/bindings.rb,
lib/h3/geo_json.rb,
lib/h3/indexing.rb,
lib/h3/hierarchy.rb,
lib/h3/traversal.rb,
lib/h3/inspection.rb,
lib/h3/bindings/base.rb,
lib/h3/miscellaneous.rb,
lib/h3/bindings/private.rb,
lib/h3/bindings/structs.rb,
lib/h3/unidirectional_edges.rb

Overview

The main H3 namespace.

All public methods for the library are defined here.

Defined Under Namespace

Modules: Bindings, GeoJSON, Hierarchy, Indexing, Inspection, Miscellaneous, Regions, Traversal, UnidirectionalEdges

Constant Summary collapse

PREDICATES =
i(h3_indexes_neighbors h3_pentagon h3_res_class_3
h3_unidirectional_edge_valid h3_valid).freeze
VERSION =
"3.2.0"

Method Summary

Methods included from UnidirectionalEdges

destination_from_unidirectional_edge, h3_indexes_from_unidirectional_edge, h3_indexes_neighbors?, h3_unidirectional_edge, h3_unidirectional_edge_boundary, h3_unidirectional_edge_valid?, h3_unidirectional_edges_from_hexagon, origin_from_unidirectional_edge

Methods included from Bindings::Base

extended

Methods included from Traversal

h3_distance, hex_range, hex_range_distances, hex_ranges, hex_ring, k_ring, k_ring_distances, max_hex_ring_size, max_kring_size

Methods included from Regions

h3_set_to_linked_geo, max_polyfill_size, polyfill

Methods included from Inspection

h3_base_cell, h3_pentagon?, h3_res_class_3?, h3_resolution, h3_to_string, h3_valid?, string_to_h3

Methods included from Indexing

geo_to_h3, h3_to_geo, h3_to_geo_boundary

Methods included from Miscellaneous

degs_to_rads, edge_length_km, edge_length_m, hex_area_km2, hex_area_m2, num_hexagons, rads_to_degs

Methods included from Hierarchy

compact, h3_to_children, h3_to_parent, max_h3_to_children_size, max_uncompact_size, uncompact

Methods included from GeoJSON

coordinates_to_geo_json, geo_json_to_coordinates