pub struct CubicAlphaTriangle { /* private fields */ }Expand description
One local cubic-alpha field on a ternary elementary triangle.
Implementations§
Source§impl CubicAlphaTriangle
impl CubicAlphaTriangle
pub fn new( vertex_values: [f64; 3], edge_intervals: [DirectedAlphaInterval; 3], extrapolation: BinaryExtrapolation, ) -> Result<CubicAlphaTriangle, InterpolationError>
pub const fn vertex_values(&self) -> [f64; 3]
pub const fn edge_intervals(&self) -> &[DirectedAlphaInterval; 3]
pub const fn extrapolation(&self) -> BinaryExtrapolation
Trait Implementations§
Source§impl Clone for CubicAlphaTriangle
impl Clone for CubicAlphaTriangle
Source§fn clone(&self) -> CubicAlphaTriangle
fn clone(&self) -> CubicAlphaTriangle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CubicAlphaTriangle
impl Debug for CubicAlphaTriangle
Source§impl PartialEq for CubicAlphaTriangle
impl PartialEq for CubicAlphaTriangle
impl StructuralPartialEq for CubicAlphaTriangle
Auto Trait Implementations§
impl Freeze for CubicAlphaTriangle
impl RefUnwindSafe for CubicAlphaTriangle
impl Send for CubicAlphaTriangle
impl Sync for CubicAlphaTriangle
impl Unpin for CubicAlphaTriangle
impl UnsafeUnpin for CubicAlphaTriangle
impl UnwindSafe for CubicAlphaTriangle
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