pub struct Intersections {
pub p1q2: Vec<[i32; 2]>,
pub x12: Vec<i32>,
pub v12: Vec<Vec3>,
}Expand description
Stores the intersections of edges of one mesh with faces of the other. In forward mode: edges of P with faces of Q. In reverse mode: edges of Q with faces of P.
Fields§
§p1q2: Vec<[i32; 2]>Pairs [edge_idx, face_idx] — in forward mode [p1, q2], reverse [q1, p2]
x12: Vec<i32>Winding number contribution at each intersection
v12: Vec<Vec3>3D position of each intersection vertex
Trait Implementations§
Source§impl Clone for Intersections
impl Clone for Intersections
Source§fn clone(&self) -> Intersections
fn clone(&self) -> Intersections
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 moreSource§impl Default for Intersections
impl Default for Intersections
Source§fn default() -> Intersections
fn default() -> Intersections
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Intersections
impl RefUnwindSafe for Intersections
impl Send for Intersections
impl Sync for Intersections
impl Unpin for Intersections
impl UnsafeUnpin for Intersections
impl UnwindSafe for Intersections
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