pub enum PmiGeometry {
None,
Linear {
a: [f64; 3],
b: [f64; 3],
component: Option<char>,
},
Radial {
center: [f64; 3],
axis: [f64; 3],
radius: f64,
diameter: bool,
sphere: bool,
},
Angular {
vertex: [f64; 3],
dir_a: [f64; 3],
dir_b: [f64; 3],
axis: [f64; 3],
degrees: f64,
},
Leader {
targets: Vec<[f64; 3]>,
dot: bool,
},
Note {
position: [f64; 3],
},
Hole {
anchor: [f64; 3],
normal: [f64; 3],
},
Explode {
solids: Vec<String>,
translate: [f64; 3],
rotate_deg: [f64; 3],
scale: [f64; 3],
center: [f64; 3],
trace: bool,
},
Datum {
anchor: [f64; 3],
normal: [f64; 3],
letter: String,
},
Fcf {
anchor: [f64; 3],
normal: [f64; 3],
frame: FcfFrame,
},
}Expand description
The analytic geometry an annotation resolved to — what the presentation
([layout]) and the STEP semantic export are built from.
Variants§
None
Linear
Measured from a to b (world). component names the X/Y/Z axis
when the dimension is an aligned component, else None.
Radial
Angular
The arc sweeps degrees from dir_a about axis (right-handed) at
vertex.
Leader
Note
Hole
Explode
Display-only: pose solids by the delta while the view is active.
Fields
Datum
Fcf
Trait Implementations§
Source§impl Clone for PmiGeometry
impl Clone for PmiGeometry
Source§fn clone(&self) -> PmiGeometry
fn clone(&self) -> PmiGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PmiGeometry
impl Debug for PmiGeometry
Source§impl<'de> Deserialize<'de> for PmiGeometry
impl<'de> Deserialize<'de> for PmiGeometry
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 PmiGeometry
impl PartialEq for PmiGeometry
Source§impl Serialize for PmiGeometry
impl Serialize for PmiGeometry
impl StructuralPartialEq for PmiGeometry
Auto Trait Implementations§
impl Freeze for PmiGeometry
impl RefUnwindSafe for PmiGeometry
impl Send for PmiGeometry
impl Sync for PmiGeometry
impl Unpin for PmiGeometry
impl UnsafeUnpin for PmiGeometry
impl UnwindSafe for PmiGeometry
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