pub struct HolonomyChecker { /* private fields */ }Expand description
Holonomy checker for incremental verification.
Allows building up cycles incrementally and checking holonomy at each step.
Implementations§
Source§impl HolonomyChecker
impl HolonomyChecker
Sourcepub fn default_tolerance() -> Self
pub fn default_tolerance() -> Self
Create a checker with default tolerance.
Sourcepub fn apply(&mut self, rotation: &RotationMatrix)
pub fn apply(&mut self, rotation: &RotationMatrix)
Apply a transformation step.
Sourcepub fn check_partial(&self) -> HolonomyResult
pub fn check_partial(&self) -> HolonomyResult
Check current holonomy without closing the cycle.
Sourcepub fn check_closed(&self) -> HolonomyResult
pub fn check_closed(&self) -> HolonomyResult
Close the cycle and check holonomy.
This applies the inverse transformation to return to the start.
Sourcepub fn step_count(&self) -> usize
pub fn step_count(&self) -> usize
Get the number of steps applied.
Trait Implementations§
Source§impl Clone for HolonomyChecker
impl Clone for HolonomyChecker
Source§fn clone(&self) -> HolonomyChecker
fn clone(&self) -> HolonomyChecker
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for HolonomyChecker
impl RefUnwindSafe for HolonomyChecker
impl Send for HolonomyChecker
impl Sync for HolonomyChecker
impl Unpin for HolonomyChecker
impl UnsafeUnpin for HolonomyChecker
impl UnwindSafe for HolonomyChecker
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