pub struct CurveDifferential2 {
pub point: Point2,
pub unit_tangent: Vec2,
pub curvature: Scalar,
pub signed_curvature: Scalar,
pub curvature_vector: Vec2,
}Expand description
Parameter-invariant differential properties of a planar curve.
Fields§
§point: Point2Evaluated point.
unit_tangent: Vec2Unit tangent in increasing-parameter direction.
curvature: ScalarUnsigned parameter-invariant curvature.
signed_curvature: ScalarSigned planar curvature; positive bends toward the tangent’s left normal.
curvature_vector: Vec2Left unit normal scaled by signed curvature.
Trait Implementations§
Source§impl Clone for CurveDifferential2
impl Clone for CurveDifferential2
Source§fn clone(&self) -> CurveDifferential2
fn clone(&self) -> CurveDifferential2
Returns a copy of the value. Read more
1.0.0 · 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 CurveDifferential2
impl Debug for CurveDifferential2
Source§impl PartialEq for CurveDifferential2
impl PartialEq for CurveDifferential2
impl Copy for CurveDifferential2
impl StructuralPartialEq for CurveDifferential2
Auto Trait Implementations§
impl Freeze for CurveDifferential2
impl RefUnwindSafe for CurveDifferential2
impl Send for CurveDifferential2
impl Sync for CurveDifferential2
impl Unpin for CurveDifferential2
impl UnwindSafe for CurveDifferential2
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