pub struct ViewEdge {
pub name: String,
pub solid: Option<String>,
pub faces: Vec<String>,
pub polyline: Vec<Vector3>,
pub within_a_surface: bool,
pub ends: [String; 2],
}Expand description
An edge of the part, as drawn: its curve sampled into a polyline.
Fields§
§name: String§solid: Option<String>The solid it bounds.
faces: Vec<String>The faces it bounds. Of no solid, it is hidden with all of them; a
face hit does not hide it (see PartView::pick).
polyline: Vec<Vector3>§within_a_surface: boolWhether it lies within one smooth surface, its two faces pieces of it: a cylinder’s seam between its quarters, not where a fillet leaves a face. A viewer draws no line for it, until it is lit. It can still be pointed at and picked like any other.
ends: [String; 2]The vertices it runs between, by name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViewEdge
impl RefUnwindSafe for ViewEdge
impl Send for ViewEdge
impl Sync for ViewEdge
impl Unpin for ViewEdge
impl UnsafeUnpin for ViewEdge
impl UnwindSafe for ViewEdge
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