pub struct Helix3<T: Number> {
pub start: Vector3<T>,
pub base: Vector3<T>,
pub top: Vector3<T>,
pub turns: Scalar,
pub left: bool,
}Expand description
The helix round the axis from base to top from start, as far up
the axis as top is from base, in turns turns (see
super::CurveKind3d::Helix).
Fields§
§start: Vector3<T>§base: Vector3<T>§top: Vector3<T>§turns: Scalar§left: boolImplementations§
Source§impl<T: Number> Helix3<T>
impl<T: Number> Helix3<T>
Sourcepub fn axes(&self) -> GeopResult<(Vector3<T>, Vector3<T>)>
pub fn axes(&self) -> GeopResult<(Vector3<T>, Vector3<T>)>
The unit axis, and the way from the axis to its start, square to it.
Sourcepub fn end(&self) -> GeopResult<Vector3<T>>
pub fn end(&self) -> GeopResult<Vector3<T>>
Where it arrives: its start, up the axis, turned about it. The turn is design data, so its cosine and sine are constants. A whole number of turns comes back exactly to where it started, seen down the axis.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Helix3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Helix3<T>where
T: RefUnwindSafe,
impl<T> Send for Helix3<T>
impl<T> Sync for Helix3<T>
impl<T> Unpin for Helix3<T>where
T: Unpin,
impl<T> UnsafeUnpin for Helix3<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Helix3<T>where
T: UnwindSafe,
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