Struct descartes::BoundingBox [−][src]
Fields
min: P2
max: P2
Methods
impl BoundingBox[src]
impl BoundingBoxpub fn infinite() -> Self[src]
pub fn infinite() -> Selfpub fn overlaps(&self, other: &BoundingBox) -> bool[src]
pub fn overlaps(&self, other: &BoundingBox) -> boolpub fn point(p: P2) -> Self[src]
pub fn point(p: P2) -> Selfpub fn grown_by(&self, offset: N) -> Self[src]
pub fn grown_by(&self, offset: N) -> SelfTrait Implementations
impl Copy for BoundingBox[src]
impl Copy for BoundingBoximpl Clone for BoundingBox[src]
impl Clone for BoundingBoxfn clone(&self) -> BoundingBox[src]
fn clone(&self) -> BoundingBoxReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for BoundingBox
impl Send for BoundingBoximpl Sync for BoundingBox
impl Sync for BoundingBox