pub struct LoopCrossing {
pub face: u64,
pub face_name: Option<String>,
pub loop_id: u64,
pub coedge_a: u64,
pub coedge_b: u64,
pub edge_a: u64,
pub edge_b: u64,
pub uv: [f64; 2],
pub point: Vec3,
}Expand description
One place a face’s trim loop crosses ITSELF in the face’s parameter domain.
The two coedges are the loop’s own — a bowtie between two different trims, or one pcurve crossing itself, in which case they are the same coedge.
Fields§
§face: u64§face_name: Option<String>§loop_id: u64§coedge_a: u64The two crossing coedges, in loop order.
coedge_b: u64§edge_a: u64The edges those coedges use — what a caller NAMES the defect by, since an edge survives the surgery that renumbers coedges.
edge_b: u64§uv: [f64; 2]Where they cross, in the face’s own domain (wrapped into it on a periodic direction, so it is a parameter the surface can be evaluated at rather than a covering-plane lift).
point: Vec3The surface point there — the 3D place the face passes through itself.
Trait Implementations§
Source§impl Clone for LoopCrossing
impl Clone for LoopCrossing
Source§impl Debug for LoopCrossing
impl Debug for LoopCrossing
Auto Trait Implementations§
impl Forget for LoopCrossing
impl Freeze for LoopCrossing
impl Move for LoopCrossing
impl RefUnwindSafe for LoopCrossing
impl Send for LoopCrossing
impl Sync for LoopCrossing
impl Unpin for LoopCrossing
impl UnsafeUnpin for LoopCrossing
impl UnwindSafe for LoopCrossing
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