pub struct MedialRegion {
pub wires: Vec<usize>,
pub paths: Vec<MedialPath>,
pub narrowest: Option<Narrowest>,
}Expand description
The medial axis of one region of a profile: an outer wire and its holes.
Fields§
§wires: Vec<usize>The profile’s wires that bound it, by index, the outer one first.
paths: Vec<MedialPath>§narrowest: Option<Narrowest>None only when the axis has no place away from the corners.
Trait Implementations§
Source§impl Clone for MedialRegion
impl Clone for MedialRegion
Source§impl Debug for MedialRegion
impl Debug for MedialRegion
Source§impl<'de> Deserialize<'de> for MedialRegion
impl<'de> Deserialize<'de> for MedialRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MedialRegion
impl PartialEq for MedialRegion
Source§impl Serialize for MedialRegion
impl Serialize for MedialRegion
impl StructuralPartialEq for MedialRegion
Auto Trait Implementations§
impl Freeze for MedialRegion
impl RefUnwindSafe for MedialRegion
impl Send for MedialRegion
impl Sync for MedialRegion
impl Unpin for MedialRegion
impl UnsafeUnpin for MedialRegion
impl UnwindSafe for MedialRegion
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