pub struct SectionDesc {
pub plane: Plane,
pub meshes: Vec<MeshId>,
pub fill: bool,
}Expand description
A plane section to register with
Scene::add_section.
Fields§
§plane: PlaneThe cutting plane, in world coordinates. Its (u, v) frame is the
frame of every result’s 2D points.
meshes: Vec<MeshId>The meshes cut, each once.
fill: boolWhether results carry the filled cross-section.
Trait Implementations§
Source§impl Clone for SectionDesc
impl Clone for SectionDesc
Source§fn clone(&self) -> SectionDesc
fn clone(&self) -> SectionDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SectionDesc
impl Debug for SectionDesc
Source§impl PartialEq for SectionDesc
impl PartialEq for SectionDesc
impl StructuralPartialEq for SectionDesc
Auto Trait Implementations§
impl Freeze for SectionDesc
impl RefUnwindSafe for SectionDesc
impl Send for SectionDesc
impl Sync for SectionDesc
impl Unpin for SectionDesc
impl UnsafeUnpin for SectionDesc
impl UnwindSafe for SectionDesc
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