Trait pointy::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,