struct S2Cells::RegionCoverer

Defined in:

s2_cells/region_coverer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(min_level : Int32 = 0, max_level : Int32 = CellId::MAX_LEVEL, level_mod : Int32 = 1, max_cells : Int32 = 8, region : S2Cells::LatLngRect | Nil = nil, result : Array(S2Cells::CellId) = [] of CellId, pq : Priority::Queue(S2Cells::RegionCoverer::Candidate) = Priority::Queue(Candidate).new) #

[View source]

Class Method Detail

def self.flood_fill(region, start, &) #

[View source]
def self.get_simple_covering(region, start, level) #

[View source]

Instance Method Detail

def get_covering(region : LatLngRect) #

[View source]
def get_interior_covering(region : LatLngRect) #

[View source]
def level_mod : Int32 #

[View source]
def level_mod=(value : Int32) #

[View source]
def max_cells : Int32 #

[View source]
def max_cells=(value : Int32) #

[View source]
def max_level : Int32 #

[View source]
def max_level=(value : Int32) #

[View source]
def min_level : Int32 #

[View source]
def min_level=(value : Int32) #

[View source]
def region : LatLngRect #

[View source]
def region? : LatLngRect | Nil #

[View source]