pub struct Frame {
pub label: String,
pub normal: [f64; 3],
pub node_on: Vec<bool>,
pub elem_on: Vec<bool>,
}Expand description
切り出した構面。
Fields§
§label: String表示名(X1 通り・2FL など)。
normal: [f64; 3]構面の単位法線。正対で見る向きを決める。
node_on: Vec<bool>節点が構面に属するか(Model::nodes と同順・同長)。
elem_on: Vec<bool>要素が構面に属するか(Model::elements と同順・同長)。
Implementations§
Trait Implementations§
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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