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/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/types.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

VERSION =
"3.7.1".freeze

Method Summary

Methods included from GeoJson

coordinates_to_geo_json, geo_json_to_coordinates

Methods included from Hierarchy

center_child, children, compact, max_children, max_uncompact_size, parent, uncompact

Methods included from Bindings::Base

#attach_predicate_function, extended

Methods included from Miscellaneous

base_cell_count, base_cells, cell_area_km2, cell_area_m2, cell_area_rads2, degs_to_rads, edge_length_km, edge_length_m, exact_edge_length_km, exact_edge_length_m, exact_edge_length_rads, hex_area_km2, hex_area_m2, hexagon_count, pentagon_count, pentagons, point_distance_km, point_distance_m, point_distance_rads, rads_to_degs

Methods included from Indexing

from_geo_coordinates, to_boundary, to_geo_coordinates

Methods included from Inspection

base_cell, class_3_resolution?, faces, from_string, max_face_count, pentagon?, resolution, to_string, valid?

Methods included from Regions

h3_set_to_linked_geo, max_polyfill_size, polyfill

Methods included from Traversal

distance, hex_range, hex_range_distances, hex_ranges, hex_ring, k_ring, k_ring_distances, line, line_size, max_hex_ring_size, max_kring_size

Methods included from UnidirectionalEdges

destination_from_unidirectional_edge, neighbors?, origin_and_destination_from_unidirectional_edge, origin_from_unidirectional_edge, unidirectional_edge, unidirectional_edge_boundary, unidirectional_edge_valid?, unidirectional_edges_from_hexagon