pub struct EdgeContinuity {
pub point: [f64; 3],
pub gap: f64,
pub angle_deg: f64,
pub curvature: Option<f64>,
}Expand description
Geometry questions a workbench may ask while it runs, answered by the
kernel at once. Shapes arrive as the snapshot bytes the document keeps.
How two faces of a shape meet across an edge they share: a point
halfway along it, in the shape’s own frame, the largest gap between the
edge and the faces, the largest angle between the faces’ normals along
it (zero where they meet tangent), and the largest difference in how
sharply they bend square to it (1/mm; zero where they meet curvature
continuous, None where it could not be read).
Fields§
§point: [f64; 3]§gap: f64§angle_deg: f64§curvature: Option<f64>Trait Implementations§
Source§impl Clone for EdgeContinuity
impl Clone for EdgeContinuity
impl Copy for EdgeContinuity
Source§impl Debug for EdgeContinuity
impl Debug for EdgeContinuity
Source§impl<'de> Deserialize<'de> for EdgeContinuity
impl<'de> Deserialize<'de> for EdgeContinuity
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 EdgeContinuity
impl PartialEq for EdgeContinuity
Source§impl Serialize for EdgeContinuity
impl Serialize for EdgeContinuity
impl StructuralPartialEq for EdgeContinuity
Auto Trait Implementations§
impl Forget for EdgeContinuity
impl Freeze for EdgeContinuity
impl Move for EdgeContinuity
impl RefUnwindSafe for EdgeContinuity
impl Send for EdgeContinuity
impl Sync for EdgeContinuity
impl Unpin for EdgeContinuity
impl UnsafeUnpin for EdgeContinuity
impl UnwindSafe for EdgeContinuity
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