pub enum CutShape {
Trace {
spans: Vec<Vec<[f64; 2]>>,
},
Envelope {
top: Vec<Vec<[f64; 2]>>,
bottom: Vec<Vec<[f64; 2]>>,
fills: Vec<Vec<[f64; 2]>>,
faults: Vec<Vec<[f64; 2]>>,
},
}Expand description
The cut of a surface, or of a grid’s envelope.
Variants§
Trace
A triangulated surface: continuous spans, (s, z), s increasing
(fence::curve).
Envelope
An IJK grid’s envelope.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CutShape
impl<'de> Deserialize<'de> for CutShape
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
impl StructuralPartialEq for CutShape
Auto Trait Implementations§
impl Freeze for CutShape
impl RefUnwindSafe for CutShape
impl Send for CutShape
impl Sync for CutShape
impl Unpin for CutShape
impl UnsafeUnpin for CutShape
impl UnwindSafe for CutShape
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