pub struct BendLine {
pub bend: String,
pub start: [f64; 3],
pub end: [f64; 3],
pub angle: f64,
pub radius: f64,
pub toward_b: bool,
}Expand description
One bend of a flat pattern: the line down its middle, its ends in space on the flat pattern’s A side, and how it is bent.
Fields§
§bend: StringThe bend’s name, X for its faces X,a and X,b.
start: [f64; 3]§end: [f64; 3]§angle: f64How far it turns, in degrees.
radius: f64Its inner radius.
toward_b: boolWhether it turns towards the B side — up, seen from the B side.
Trait Implementations§
impl StructuralPartialEq for BendLine
Auto Trait Implementations§
impl Freeze for BendLine
impl RefUnwindSafe for BendLine
impl Send for BendLine
impl Sync for BendLine
impl Unpin for BendLine
impl UnsafeUnpin for BendLine
impl UnwindSafe for BendLine
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