pub trait SizedVol: BaseVol {
    // Required methods
    fn lower_bound(&self) -> Vec3<i32>;
    fn upper_bound(&self) -> Vec3<i32>;

    // Provided method
    fn size(&self) -> Vec3<u32> { ... }
}
Expand description

A volume that is a cuboid.

Required Methods§

source

fn lower_bound(&self) -> Vec3<i32>

Returns the (inclusive) lower bound of the volume.

source

fn upper_bound(&self) -> Vec3<i32>

Returns the (exclusive) upper bound of the volume.

Provided Methods§

source

fn size(&self) -> Vec3<u32>

Returns the size of the volume.

Implementors§

source§

impl<'a, V, M, A: Access> SizedVol for &'a Dyna<V, M, A>

source§

impl<V, M, A: Access> SizedVol for Dyna<V, M, A>

source§

impl<V: RasterableVol> SizedVol for V

source§

impl<V: SizedVol> SizedVol for Scaled<V>