pub struct ProfileAnchor {
pub origin: Vec3,
pub normal: Vec3,
pub pu: Vec3,
pub pv: Vec3,
}Expand description
The placement anchor a path sweep transplants its profile with: the plane
frame (origin = boundary-sample centroid, normal, pu, pv) the station
loop maps profile points through (local = p − origin → station + ri·(local ·pu) + si·(local·pv)). Extracted as data so a HOLE loop can sweep with its
OUTER loop’s anchor — sweeping each loop with its OWN centroid would
re-center every loop onto the path and lose the hole’s in-plane offset.
Fields§
§origin: Vec3§normal: Vec3§pu: Vec3§pv: Vec3Trait Implementations§
Source§impl Clone for ProfileAnchor
impl Clone for ProfileAnchor
Source§fn clone(&self) -> ProfileAnchor
fn clone(&self) -> ProfileAnchor
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 moreimpl Copy for ProfileAnchor
Auto Trait Implementations§
impl Freeze for ProfileAnchor
impl RefUnwindSafe for ProfileAnchor
impl Send for ProfileAnchor
impl Sync for ProfileAnchor
impl Unpin for ProfileAnchor
impl UnsafeUnpin for ProfileAnchor
impl UnwindSafe for ProfileAnchor
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