pub struct Solve3dReport {
pub converged: bool,
pub max_residual: Scalar,
pub iterations: usize,
pub phases: Vec<Phase>,
pub dof: usize,
pub free_points: BTreeMap<PointId, bool>,
pub failed_constraints: Vec<ConstraintId>,
pub unproven: Vec<String>,
}Expand description
The outcome of solving a 3-D sketch.
Fields§
§converged: boolEvery constraint holds, to
geop_core_math::solvers::system::RELATIVE_TOLERANCE of the
sketch’s size.
max_residual: ScalarThe largest remaining residual, a length: an upper bound.
iterations: usize§phases: Vec<Phase>§dof: usizeDegrees of freedom left.
free_points: BTreeMap<PointId, bool>Per point: whether it can still move.
failed_constraints: Vec<ConstraintId>The constraints that do not hold.
unproven: Vec<String>Why no true solution near where the points are is proven, if none
is: the constraints that conflict there, or what is singular (see
Sketch3d::enclose).
Trait Implementations§
Source§impl Clone for Solve3dReport
impl Clone for Solve3dReport
Source§fn clone(&self) -> Solve3dReport
fn clone(&self) -> Solve3dReport
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 Solve3dReport
impl Debug for Solve3dReport
Source§impl<'de> Deserialize<'de> for Solve3dReport
impl<'de> Deserialize<'de> for Solve3dReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Solve3dReport
impl PartialEq for Solve3dReport
Source§impl Serialize for Solve3dReport
impl Serialize for Solve3dReport
impl StructuralPartialEq for Solve3dReport
Auto Trait Implementations§
impl Freeze for Solve3dReport
impl RefUnwindSafe for Solve3dReport
impl Send for Solve3dReport
impl Sync for Solve3dReport
impl Unpin for Solve3dReport
impl UnsafeUnpin for Solve3dReport
impl UnwindSafe for Solve3dReport
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