pub enum PipeFrame {
RotationMinimizing,
Frenet,
Auxiliary {
path: Profile,
},
Binormal {
direction: [f64; 3],
},
Fixed,
}Expand description
How a pipe’s section turns as it runs down its path.
Variants§
RotationMinimizing
Rotation-minimizing: the section neither twists nor kinks where the path bends.
Frenet
The path’s own curvature frame, turning with it.
Auxiliary
The section turns about the path so that one direction of it keeps pointing at a second path running beside the first.
Binormal
The section keeps a fixed binormal: the world-space direction square to the path that the section’s frame holds all the way.
Fixed
The section keeps its orientation in space: carried along the path without ever turning, as it is drawn.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PipeFrame
impl<'de> Deserialize<'de> for PipeFrame
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
impl StructuralPartialEq for PipeFrame
Auto Trait Implementations§
impl Forget for PipeFrame
impl Freeze for PipeFrame
impl RefUnwindSafe for PipeFrame
impl Send for PipeFrame
impl Sync for PipeFrame
impl Unpin for PipeFrame
impl UnsafeUnpin for PipeFrame
impl UnwindSafe for PipeFrame
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