pub struct ProjectionProbe {
pub point: [f64; 3],
pub faces: [TopoName; 2],
pub section: bool,
pub plane: ProfilePlane,
}Expand description
A solid’s edge projected onto a plane, or the curves where one of its faces crosses the plane: what a sketch takes from the solid it stands on, asked again of the solid a rebuild makes.
Fields§
§point: [f64; 3]A point on the edge (on the face, for a section), in the solid’s own frame.
faces: [TopoName; 2]The names of the two faces the edge runs between: the edge is found
by them first, point choosing among its pieces, and by point
alone without them or when no edge runs between them.
section: boolThe face nearest point is cut by the plane, in place of an edge
projected onto it.
plane: ProfilePlaneThe plane, in the solid’s own frame: the curves come in its own 2D coordinates.
Trait Implementations§
Source§impl Clone for ProjectionProbe
impl Clone for ProjectionProbe
impl Copy for ProjectionProbe
Source§impl Debug for ProjectionProbe
impl Debug for ProjectionProbe
Source§impl Default for ProjectionProbe
impl Default for ProjectionProbe
Source§impl<'de> Deserialize<'de> for ProjectionProbe
impl<'de> Deserialize<'de> for ProjectionProbe
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 ProjectionProbe
impl PartialEq for ProjectionProbe
Source§impl Serialize for ProjectionProbe
impl Serialize for ProjectionProbe
impl StructuralPartialEq for ProjectionProbe
Auto Trait Implementations§
impl Forget for ProjectionProbe
impl Freeze for ProjectionProbe
impl RefUnwindSafe for ProjectionProbe
impl Send for ProjectionProbe
impl Sync for ProjectionProbe
impl Unpin for ProjectionProbe
impl UnsafeUnpin for ProjectionProbe
impl UnwindSafe for ProjectionProbe
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