pub struct ScalarBoolean;Expand description
Portable scalar boolean reference.
Not a production provider: O(n·m), and it refuses interpenetrating
surfaces. Registered at low priority so a real provider always wins
dispatch; it exists to be the thing conformance is judged against.
Implementations§
Trait Implementations§
Source§impl Backend for ScalarBoolean
impl Backend for ScalarBoolean
Source§fn descriptor(&self) -> BackendDescriptor
fn descriptor(&self) -> BackendDescriptor
Runtime descriptor and capability inventory.
Source§impl Clone for ScalarBoolean
impl Clone for ScalarBoolean
Source§fn clone(&self) -> ScalarBoolean
fn clone(&self) -> ScalarBoolean
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 ScalarBoolean
Source§impl Debug for ScalarBoolean
impl Debug for ScalarBoolean
Source§impl Default for ScalarBoolean
impl Default for ScalarBoolean
Source§fn default() -> ScalarBoolean
fn default() -> ScalarBoolean
Returns the “default value” for a type. Read more
Source§impl MeshBoolean for ScalarBoolean
impl MeshBoolean for ScalarBoolean
Source§fn scratch_requirement(&self) -> ScratchRequirement
fn scratch_requirement(&self) -> ScratchRequirement
Exact, so no filter escalation and no scratch beyond the output.
Source§fn cancellation_granularity(&self) -> CancellationGranularity
fn cancellation_granularity(&self) -> CancellationGranularity
Checked per triangle pair, which is the inner loop of the O(n·m) scan.
Source§fn boolean(
&self,
subject: &TriMesh,
tool: &TriMesh,
operation: BooleanOperator,
options: &ExecutionOptions,
) -> GeomResult<BooleanOutcome>
fn boolean( &self, subject: &TriMesh, tool: &TriMesh, operation: BooleanOperator, options: &ExecutionOptions, ) -> GeomResult<BooleanOutcome>
Apply one regularized set operation. Read more
Source§fn solid_requirements(&self) -> SolidRequirements
fn solid_requirements(&self) -> SolidRequirements
Admissibility this provider requires of its operands. Read more
Source§fn subtract_many(
&self,
subject: &TriMesh,
tools: &[TriMesh],
options: &ExecutionOptions,
) -> Result<BooleanOutcome, GeomError>
fn subtract_many( &self, subject: &TriMesh, tools: &[TriMesh], options: &ExecutionOptions, ) -> Result<BooleanOutcome, GeomError>
Subtract many tools in one batch so implementations can union or schedule
cutters efficiently. The default is correct but deliberately simple. Read more
Auto Trait Implementations§
impl Freeze for ScalarBoolean
impl RefUnwindSafe for ScalarBoolean
impl Send for ScalarBoolean
impl Sync for ScalarBoolean
impl Unpin for ScalarBoolean
impl UnsafeUnpin for ScalarBoolean
impl UnwindSafe for ScalarBoolean
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