pub struct Sketch3dPoint {
pub id: Value,
pub x: f64,
pub y: f64,
pub z: f64,
pub fixed: bool,
pub construction: bool,
pub external_reference: bool,
}Expand description
A 3D sketch point: world coordinates plus the role flags the solver tracks.
Fields§
§id: ValueStable point id (a number in practice; strings are legal — keyed by
crate::sketch_id_key).
x: f64§y: f64§z: f64§fixed: boolGrounded: excluded from the unknowns, never moves.
construction: boolConstruction point: constrains but never models an edge or a vertex.
external_reference: boolAdopted from a model reference (a picked vertex, an edge end, a plane origin); re-resolved on every feature run.
Implementations§
Trait Implementations§
Source§impl Clone for Sketch3dPoint
impl Clone for Sketch3dPoint
Source§impl Debug for Sketch3dPoint
impl Debug for Sketch3dPoint
Source§impl<'de> Deserialize<'de> for Sketch3dPoint
impl<'de> Deserialize<'de> for Sketch3dPoint
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 Sketch3dPoint
impl PartialEq for Sketch3dPoint
Source§impl Serialize for Sketch3dPoint
impl Serialize for Sketch3dPoint
impl StructuralPartialEq for Sketch3dPoint
Auto Trait Implementations§
impl Forget for Sketch3dPoint
impl Freeze for Sketch3dPoint
impl Move for Sketch3dPoint
impl RefUnwindSafe for Sketch3dPoint
impl Send for Sketch3dPoint
impl Sync for Sketch3dPoint
impl Unpin for Sketch3dPoint
impl UnsafeUnpin for Sketch3dPoint
impl UnwindSafe for Sketch3dPoint
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