Skip to main content

Bounded

Trait Bounded 

Source
pub trait Bounded<F>
where F: Float,
{ // Required method fn bounded_by(self, bbox: BBox<F>) -> bool; }
Expand description

Trait for comparing a shape with a bounding box

Required Methods§

Source

fn bounded_by(self, bbox: BBox<F>) -> bool

Check if inside a bounding box (at least partially)

Implementors§

Source§

impl<F> Bounded<F> for BBox<F>
where F: Float,

Source§

impl<F> Bounded<F> for Pt<F>
where F: Float,

Source§

impl<F> Bounded<F> for Seg<F>
where F: Float,