pub enum LinkShape {
Box {
min: Point3,
max: Point3,
},
Cylinder {
base: Point3,
axis: Point3,
radius: f64,
height: f64,
},
}Expand description
Shape of a machine solid in its link’s frame. Geometric queries (containment, surface sampling) live with the simulation.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkShape
impl<'de> Deserialize<'de> for LinkShape
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 LinkShapeGeometry for LinkShape
impl LinkShapeGeometry for LinkShape
impl StructuralPartialEq for LinkShape
Auto Trait Implementations§
impl Forget for LinkShape
impl Freeze for LinkShape
impl Move for LinkShape
impl RefUnwindSafe for LinkShape
impl Send for LinkShape
impl Sync for LinkShape
impl Unpin for LinkShape
impl UnsafeUnpin for LinkShape
impl UnwindSafe for LinkShape
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