lib/h3/bindings/private.rb in h3-3.3.1 vs lib/h3/bindings/private.rb in h3-3.4.0
- old
+ new
@@ -6,10 +6,11 @@
# of the library. They are used only internally to provide related public interface.
module Private
extend H3::Bindings::Base
attach_function :compact, [H3IndexesIn, H3IndexesOut, :size], :bool
+ attach_function :destroy_linked_polygon, :destroyLinkedPolygon, [LinkedGeoPolygon], :void
attach_function :geo_to_h3, :geoToH3, [GeoCoord, Resolution], :h3_index
attach_function :h3_indexes_from_unidirectional_edge,
:getH3IndexesFromUnidirectionalEdge,
[:h3_index, H3IndexesOut], :void
attach_function :h3_line, :h3Line, [:h3_index, :h3_index, H3IndexesOut], :int
@@ -32,11 +33,14 @@
[:h3_index, GeoBoundary], :void
attach_function :hex_range, :hexRange, [:h3_index, :k_distance, H3IndexesOut], :bool
attach_function :hex_range_distances,
:hexRangeDistances,
[:h3_index, :k_distance, H3IndexesOut, :output_buffer], :bool
- attach_function :hex_ranges, :hexRanges, [H3IndexesIn, :size, :k_distance, H3IndexesOut], :bool
+ attach_function :hex_ranges,
+ :hexRanges,
+ [H3IndexesIn, :size, :k_distance, H3IndexesOut],
+ :bool
attach_function :hex_ring, :hexRing, [:h3_index, :k_distance, H3IndexesOut], :bool
attach_function :k_ring, :kRing, [:h3_index, :k_distance, H3IndexesOut], :void
attach_function :k_ring_distances,
:kRingDistances,
[:h3_index, :k_distance, H3IndexesOut, :output_buffer],
@@ -44,10 +48,11 @@
attach_function :max_polyfill_size,
:maxPolyfillSize,
[GeoPolygon, Resolution],
:int
attach_function :max_uncompact_size, :maxUncompactSize, [H3IndexesIn, :size, Resolution], :int
- attach_function :polyfill, [GeoPolygon.by_ref, Resolution, H3IndexesOut], :void
+ attach_function :polyfill, [GeoPolygon, Resolution, H3IndexesOut], :void
+ attach_function :res_0_indexes, :getRes0Indexes, [H3IndexesOut], :void
attach_function :uncompact, [H3IndexesIn, :size, H3IndexesOut, :size, Resolution], :bool
end
end
end