struct S2Cells::RegionCoverer
- S2Cells::RegionCoverer
- Struct
- Value
- Object
Defined in:
s2_cells/region_coverer.crConstructors
Class Method Summary
Instance Method Summary
- #get_covering(region : LatLngRect)
- #get_interior_covering(region : LatLngRect)
- #level_mod : Int32
- #level_mod=(value : Int32)
- #max_cells : Int32
- #max_cells=(value : Int32)
- #max_level : Int32
- #max_level=(value : Int32)
- #min_level : Int32
- #min_level=(value : Int32)
- #region : LatLngRect
- #region? : LatLngRect | Nil
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)
#