[−][src]Trait building_blocks_core::point::IntegerPoint
Associated Constants
Loading content...Required methods
fn join(&self, other: &Self) -> Self
Component-wise maximum.
fn meet(&self, other: &Self) -> Self
Component-wise minimum.
fn left_shift(&self, shift_by: Self::Scalar) -> Self
Left bitshifts all dimensions.
fn right_shift(&self, shift_by: Self::Scalar) -> Self
Right bitshifts all dimensions.
fn corner_offsets() -> Vec<Self>
All corners of an N-dimensional unit cube.
fn von_neumann_offsets() -> Vec<Self>
fn moore_offsets() -> Vec<Self>
fn dimensions_are_powers_of_2(&self) -> bool
Returns true
iff all dimensions are powers of 2.
fn is_cube(&self) -> bool
Returns true
iff all dimensions are equal.