S2Cells::RegionCoverer
Constructors
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)
SourceClass methods
flood_fill(region, start, &)
Sourceget_simple_covering(region, start, level)
SourceInstance methods
get_covering(region : LatLngRect)
Sourceget_interior_covering(region : LatLngRect)
Sourcelevel_mod
Sourcemax_cells
Sourcemax_level
Sourcemin_level
Sourceregion
Sourceregion?
Source