#[non_exhaustive]pub struct FrameLawBounds {
pub point: [f64; 2],
pub tangent: [f64; 2],
pub lateral: [f64; 2],
pub up: [f64; 2],
pub measure: f64,
pub point_error: f64,
pub axis_error: f64,
pub forward: f64,
}Expand description
Certified suprema, over a span of station distance, of the derivatives of a section frame law in that distance; see the module documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.point: [f64; 2]sup |O'| and sup |O''| of the basis point.
tangent: [f64; 2]sup |T'| and sup |T''| of the unit tangent.
lateral: [f64; 2]sup |L'| and sup |L''| of the lateral axis.
up: [f64; 2]sup |U'| and sup |U''| of the up axis.
measure: f64How far the distance a frame is read at may lie from the distance asked for (see the measure).
point_error: f64How far a frame’s point read at a distance may lie from the exact
frame law’s point at the distance it truly stands at: zero where
the frame is read in closed form, a certified bound where it is
read by quadrature (FrameLaw, #316).
axis_error: f64How far each of a read frame’s axes may lie from the exact frame law’s, likewise.
forward: f64A certified lower bound over the span of O'.N, N the frame’s
tangent: one in arc length and in plan distance, the horizontal
floor rho under the plan reading of an arc-length space curve,
times a placement’s smallest column length, less rounding (#361).
Implementations§
Source§impl FrameLawBounds
impl FrameLawBounds
Sourcepub fn is_straight(&self) -> bool
pub fn is_straight(&self) -> bool
Whether the frame is constant and the point moves on a straight line: every second derivative, and every axis’s first, is zero.
Trait Implementations§
Source§impl Clone for FrameLawBounds
impl Clone for FrameLawBounds
Source§fn clone(&self) -> FrameLawBounds
fn clone(&self) -> FrameLawBounds
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FrameLawBounds
Source§impl Debug for FrameLawBounds
impl Debug for FrameLawBounds
Source§impl PartialEq for FrameLawBounds
impl PartialEq for FrameLawBounds
impl StructuralPartialEq for FrameLawBounds
Auto Trait Implementations§
impl Freeze for FrameLawBounds
impl RefUnwindSafe for FrameLawBounds
impl Send for FrameLawBounds
impl Sync for FrameLawBounds
impl Unpin for FrameLawBounds
impl UnsafeUnpin for FrameLawBounds
impl UnwindSafe for FrameLawBounds
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
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> ⓘ
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> ⓘ
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