pub struct CurveAreaSummary {
pub series: String,
pub area: f64,
pub absolute_area: f64,
pub chord: DistanceSummary,
pub arc_length: f64,
pub max_deviation: f64,
pub max_deviation_at: [f64; 2],
}Expand description
The numbers behind a curve-vs-chord measurement.
Fields§
§series: StringSeries name.
area: f64Signed area between the curve and the chord (positive above the chord).
absolute_area: f64Absolute area between the curve and the chord.
chord: DistanceSummaryThe chord and its distance/slope/angle.
arc_length: f64Length along the curve.
max_deviation: f64Largest vertical distance between the curve and the chord.
max_deviation_at: [f64; 2]Point where the curve is farthest from the chord.
Trait Implementations§
Source§impl Clone for CurveAreaSummary
impl Clone for CurveAreaSummary
Source§impl Debug for CurveAreaSummary
impl Debug for CurveAreaSummary
Source§impl PartialEq for CurveAreaSummary
impl PartialEq for CurveAreaSummary
impl StructuralPartialEq for CurveAreaSummary
Auto Trait Implementations§
impl Forget for CurveAreaSummary
impl Freeze for CurveAreaSummary
impl Move for CurveAreaSummary
impl RefUnwindSafe for CurveAreaSummary
impl Send for CurveAreaSummarywhere
RawVecInner: Send,
impl Sync for CurveAreaSummarywhere
RawVecInner: Sync,
impl Unpin for CurveAreaSummary
impl UnsafeUnpin for CurveAreaSummary
impl UnwindSafe for CurveAreaSummarywhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more