Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
s2_cells
v2.0.0
Number
S2Cells
Angle
AreaMetric
Cap
Cell
CellId
CellUnion
Interval
InvalidLevel
LatLng
LatLngRect
LengthMetric
LineInterval
Metric
Point
RegionCoverer
Candidate
SphereInterval
Generated using Crystal 1.12.2
2024-07-28 08:55:34 UTC
struct
S2Cells::
LengthMetric
S2Cells::LengthMetric
S2Cells::Metric
Struct
Value
Object
Defined in:
s2_cells/metric.cr
Constructors
.new
(deriv : Float64)
Instance methods inherited from struct
S2Cells::Metric
deriv : Float64
deriv
,
get_closest_level(value : Float64) : Int32
get_closest_level
,
get_max_level(value : Float64) : Int32
get_max_level
,
get_min_level(value : Float64) : Int32
get_min_level
,
get_value(level : Int) : Float64
get_value
Constructor methods inherited from struct
S2Cells::Metric
new(deriv : Float64, dim : Int32)
new
Constructor Detail
def self.
new
(deriv : Float64)
#
[
View source
]