pub struct Boolean3 {
pub xv12: Intersections,
pub xv21: Intersections,
pub w03: Vec<i32>,
pub w30: Vec<i32>,
pub expand_p: bool,
pub valid: bool,
}Expand description
Computes all edge-face intersections and winding numbers between two meshes.
Fields§
§xv12: Intersections§xv21: Intersections§w03: Vec<i32>§w30: Vec<i32>§expand_p: bool§valid: boolImplementations§
Source§impl Boolean3
impl Boolean3
Sourcepub fn new(in_p: &ManifoldImpl, in_q: &ManifoldImpl, op: OpType) -> Self
pub fn new(in_p: &ManifoldImpl, in_q: &ManifoldImpl, op: OpType) -> Self
Compute all intersections between meshes inP and inQ for the given op.
Sourcepub fn new_with_token(
in_p: &ManifoldImpl,
in_q: &ManifoldImpl,
op: OpType,
token: Option<&CancelToken>,
) -> Option<Self>
pub fn new_with_token( in_p: &ManifoldImpl, in_q: &ManifoldImpl, op: OpType, token: Option<&CancelToken>, ) -> Option<Self>
Boolean3::new with cooperative cancellation. None means token
was cancelled; no usable intersection data was produced.
The check placement mirrors C++ Boolean3::Boolean3
(boolean3.cpp:497-560): one phase-boundary check before launching each
of the four heavy stages, plus the intra-stage checks that
[intersect12] and [winding03] carry.
Auto Trait Implementations§
impl Freeze for Boolean3
impl RefUnwindSafe for Boolean3
impl Send for Boolean3
impl Sync for Boolean3
impl Unpin for Boolean3
impl UnsafeUnpin for Boolean3
impl UnwindSafe for Boolean3
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