Struct versatiles_lib::shared::tile_bbox_pyramid::TileBBoxPyramid
source · pub struct TileBBoxPyramid {
pub level_bbox: [TileBBox; 32],
}Fields§
§level_bbox: [TileBBox; 32]Implementations§
source§impl TileBBoxPyramid
impl TileBBoxPyramid
pub fn new_full() -> TileBBoxPyramid
pub fn new_empty() -> TileBBoxPyramid
pub fn intersect_geo_bbox(&mut self, geo_bbox: &[f64; 4])
pub fn add_border(&mut self, x_min: u32, y_min: u32, x_max: u32, y_max: u32)
pub fn intersect(&mut self, other_bbox_pyramid: &TileBBoxPyramid)
pub fn get_level_bbox(&self, level: u8) -> &TileBBox
pub fn set_level_bbox(&mut self, bbox: TileBBox)
pub fn include_coord(&mut self, coord: &TileCoord3)
pub fn include_bbox(&mut self, bbox: &TileBBox)
pub fn iter_levels(&self) -> impl Iterator<Item = &TileBBox>
pub fn get_zoom_min(&self) -> Option<u8>
pub fn get_zoom_max(&self) -> Option<u8>
pub fn set_zoom_min(&mut self, zoom_level_min: u8)
pub fn set_zoom_max(&mut self, zoom_level_max: u8)
pub fn count_tiles(&self) -> u64
pub fn is_empty(&self) -> bool
pub fn get_geo_bbox(&self) -> [f64; 4]
Trait Implementations§
source§impl Clone for TileBBoxPyramid
impl Clone for TileBBoxPyramid
source§fn clone(&self) -> TileBBoxPyramid
fn clone(&self) -> TileBBoxPyramid
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TileBBoxPyramid
impl Debug for TileBBoxPyramid
source§impl Display for TileBBoxPyramid
impl Display for TileBBoxPyramid
source§impl PartialEq for TileBBoxPyramid
impl PartialEq for TileBBoxPyramid
source§impl TransformCoord for TileBBoxPyramid
impl TransformCoord for TileBBoxPyramid
impl Eq for TileBBoxPyramid
impl StructuralEq for TileBBoxPyramid
Auto Trait Implementations§
impl RefUnwindSafe for TileBBoxPyramid
impl Send for TileBBoxPyramid
impl Sync for TileBBoxPyramid
impl Unpin for TileBBoxPyramid
impl UnwindSafe for TileBBoxPyramid
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more