pub struct BBox3D<T = f64> {
pub left: T,
pub bottom: T,
pub right: T,
pub top: T,
pub far: T,
pub near: T,
}Expand description
A BBOX is defined in lon-lat space and helps with zooming motion to see the entire 3D line or polygon
Fields§
§left: Tleft most longitude (WG) or S (S2)
bottom: Tbottom most latitude (WG) or T (S2)
right: Tright most longitude (WG) or T (S2)
top: Ttop most latitude (WG) or S (S2)
far: Tback most height (WG) or T (S2) generic height is relative to the surface of the earth in meters
near: Tfront most height (WG) or T (S2) generic height is relative to the surface of the earth in meters
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for BBox3D<T>
impl<T: Ord> Ord for BBox3D<T>
Source§impl<T: PartialOrd> PartialOrd for BBox3D<T>
impl<T: PartialOrd> PartialOrd for BBox3D<T>
impl<T: Copy> Copy for BBox3D<T>
impl<T: Eq> Eq for BBox3D<T>
impl<T> StructuralPartialEq for BBox3D<T>
Auto Trait Implementations§
impl<T> Freeze for BBox3D<T>where
T: Freeze,
impl<T> RefUnwindSafe for BBox3D<T>where
T: RefUnwindSafe,
impl<T> Send for BBox3D<T>where
T: Send,
impl<T> Sync for BBox3D<T>where
T: Sync,
impl<T> Unpin for BBox3D<T>where
T: Unpin,
impl<T> UnwindSafe for BBox3D<T>where
T: UnwindSafe,
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