pub struct FccLatticePointGenerator {}Expand description
§Face-centered lattice points generator.
\see http://en.wikipedia.org/wiki/Cubic_crystal_system http://mathworld.wolfram.com/CubicClosePacking.html
Trait Implementations§
Source§impl PointGenerator3 for FccLatticePointGenerator
impl PointGenerator3 for FccLatticePointGenerator
Source§fn for_each_point<Callback>(
&self,
bounding_box: &BoundingBox3D,
spacing: f64,
callback: &mut Callback,
)
fn for_each_point<Callback>( &self, bounding_box: &BoundingBox3D, spacing: f64, callback: &mut Callback, )
\brief Invokes \p callback function for each FCC-lattice points inside \p bounding_box.
This function iterates every FCC-lattice points inside \p bounding_box where \p spacing is the size of the unit cell of FCC structure.
Auto Trait Implementations§
impl Freeze for FccLatticePointGenerator
impl RefUnwindSafe for FccLatticePointGenerator
impl Send for FccLatticePointGenerator
impl Sync for FccLatticePointGenerator
impl Unpin for FccLatticePointGenerator
impl UnwindSafe for FccLatticePointGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more