pub struct BBox { /* private fields */ }Expand description
2D or 3D bounding box.
Trait Implementations§
Source§impl GTrait for BBox
impl GTrait for BBox
Source§fn to_wkt_fmt(&self, precision: usize) -> String
fn to_wkt_fmt(&self, precision: usize) -> String
Generate a WKT string similar to the
to_wkt()alternative but w/ a
given precision paramter representing the number of digits to print
after the decimal point. Note though that if precision is 0 only
the integer part of the coordinate will be shown. Read moreSource§fn check_coordinates(&self, crs: &CRS) -> Result<(), MyError>
fn check_coordinates(&self, crs: &CRS) -> Result<(), MyError>
Check if all geometry coordinates fall w/in a given CRS’s Area-of-Use,
aka Extent-of-Validity.
Source§impl PartialOrd for BBox
impl PartialOrd for BBox
impl StructuralPartialEq for BBox
Auto Trait Implementations§
impl Freeze for BBox
impl RefUnwindSafe for BBox
impl Send for BBox
impl Sync for BBox
impl Unpin for BBox
impl UnwindSafe for BBox
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