pub struct CutawayView {
pub path_samples: HashMap<usize, Vec<Vec3>>,
pub semi_diameters: HashMap<usize, f64>,
pub surface_types: HashMap<usize, String>,
}Expand description
A cutaway view through a center transverse plane of a sequential model.
The cutaway view is a 2D representation of the surfaces in the y-z plane.
Fields§
§path_samples: HashMap<usize, Vec<Vec3>>§semi_diameters: HashMap<usize, f64>§surface_types: HashMap<usize, String>Implementations§
Source§impl CutawayView
impl CutawayView
pub fn new( sequential_model: &SequentialModel, num_samples_per_surface: usize, ) -> CutawayView
Trait Implementations§
Source§impl Clone for CutawayView
impl Clone for CutawayView
Source§fn clone(&self) -> CutawayView
fn clone(&self) -> CutawayView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CutawayView
impl Debug for CutawayView
Auto Trait Implementations§
impl Freeze for CutawayView
impl RefUnwindSafe for CutawayView
impl Send for CutawayView
impl Sync for CutawayView
impl Unpin for CutawayView
impl UnwindSafe for CutawayView
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