pub struct SectionTrace {
pub key: SectionKey,
pub trace: Vec<[f64; 2]>,
pub left: f64,
pub right: f64,
pub crossing: Option<[f64; 2]>,
}Expand description
A section’s trace in plan, as crosses::traces computes it from the inputs -
what read cuts along and assemble projects on.
Fields§
§key: SectionKeyWhich section.
trace: Vec<[f64; 2]>Its polyline in plan, [x, y] of the scene. A cross section’s runs from
its before end to its after end.
left: f64Its corridor.
right: f64See SectionTrace::left.
crossing: Option<[f64; 2]>For a cross section, where it crosses the long section: the abscissa on
the long section, and on itself. None for the long section.
Trait Implementations§
Source§impl Clone for SectionTrace
impl Clone for SectionTrace
Source§impl Debug for SectionTrace
impl Debug for SectionTrace
Source§impl<'de> Deserialize<'de> for SectionTrace
impl<'de> Deserialize<'de> for SectionTrace
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 SectionTrace
impl PartialEq for SectionTrace
Source§impl Serialize for SectionTrace
impl Serialize for SectionTrace
impl StructuralPartialEq for SectionTrace
Auto Trait Implementations§
impl Freeze for SectionTrace
impl RefUnwindSafe for SectionTrace
impl Send for SectionTrace
impl Sync for SectionTrace
impl Unpin for SectionTrace
impl UnsafeUnpin for SectionTrace
impl UnwindSafe for SectionTrace
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