pub struct PtPlaneDistance {
pub group: Group,
pub point: EntityHandle<Point>,
pub plane: EntityHandle<Workplane>,
pub distance: f64,
}Expand description
the distance between point and plane is equal to distance.
This is a signed distance; positive vs. negative distance corresponds to a
point that is above vs. below the plane.
Fields§
§group: GroupThe group that PtPlaneDistance belongs to.
point: EntityHandle<Point>§plane: EntityHandle<Workplane>§distance: f64Implementations§
Source§impl PtPlaneDistance
impl PtPlaneDistance
Sourcepub fn new(
group: Group,
point: EntityHandle<Point>,
plane: EntityHandle<Workplane>,
distance: f64,
) -> Self
pub fn new( group: Group, point: EntityHandle<Point>, plane: EntityHandle<Workplane>, distance: f64, ) -> Self
Create a new PtPlaneDistance instance.
Trait Implementations§
Source§impl AsConstraintData for PtPlaneDistance
impl AsConstraintData for PtPlaneDistance
Source§impl Clone for PtPlaneDistance
impl Clone for PtPlaneDistance
Source§fn clone(&self) -> PtPlaneDistance
fn clone(&self) -> PtPlaneDistance
Returns a copy 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 moreSource§impl Debug for PtPlaneDistance
impl Debug for PtPlaneDistance
Source§impl<'de> Deserialize<'de> for PtPlaneDistance
impl<'de> Deserialize<'de> for PtPlaneDistance
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 PtPlaneDistance
impl PartialEq for PtPlaneDistance
Source§impl Serialize for PtPlaneDistance
impl Serialize for PtPlaneDistance
impl Copy for PtPlaneDistance
impl StructuralPartialEq for PtPlaneDistance
Auto Trait Implementations§
impl Freeze for PtPlaneDistance
impl RefUnwindSafe for PtPlaneDistance
impl Send for PtPlaneDistance
impl Sync for PtPlaneDistance
impl Unpin for PtPlaneDistance
impl UnwindSafe for PtPlaneDistance
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