pub struct LiftedCurve2 {
pub curve: Box<Curve3>,
pub carrier: Carrier,
pub start: f64,
pub end: f64,
pub guide: Vec<DVec2>,
}Expand description
A curve in space read in an analytic surface’s parameters: the pcurve
at t is the carrier’s parameters of curve’s point at t, so it
shares the edge’s parameter exactly. This is the pcurve, on the analytic
face, of a section that only the other face’s surface can carry (a
B-spline’s section, ADR 0077): the inverse is in closed form for planes,
ruled surfaces, spheres and tori.
Angles are defined up to whole turns; guide holds the parameters at
evenly spaced t over [start, end], unwrapped along the curve, and a
point is read at the turn nearest the guide there. Evaluation lives in
axiolid-evaluate, which evaluates the space curve.
Fields§
§curve: Box<Curve3>The curve in space.
carrier: CarrierThe surface it is read on.
start: f64Parameter range the guide covers.
end: f64End of that range.
guide: Vec<DVec2>Unwrapped parameters at evenly spaced t from start to end.
Implementations§
Trait Implementations§
Source§impl Clone for LiftedCurve2
impl Clone for LiftedCurve2
Source§fn clone(&self) -> LiftedCurve2
fn clone(&self) -> LiftedCurve2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LiftedCurve2
impl Debug for LiftedCurve2
Source§impl PartialEq for LiftedCurve2
impl PartialEq for LiftedCurve2
impl StructuralPartialEq for LiftedCurve2
Auto Trait Implementations§
impl Freeze for LiftedCurve2
impl RefUnwindSafe for LiftedCurve2
impl Send for LiftedCurve2
impl Sync for LiftedCurve2
impl Unpin for LiftedCurve2
impl UnwindSafe for LiftedCurve2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more