abstract struct S2Cells::Metric

Direct Known Subclasses

Defined in:

s2_cells/metric.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(deriv : Float64, dim : Int32) #

[View source]

Instance Method Detail

def deriv : Float64 #

[View source]
def get_closest_level(value : Float64) : Int32 #

[View source]
def get_max_level(value : Float64) : Int32 #

[View source]
def get_min_level(value : Float64) : Int32 #

[View source]
def get_value(level : Int) : Float64 #

[View source]