pub struct ShapeOverlapQuery {
pub density_threshold: Scalar,
pub voxelization_size_limit: Scalar,
pub region_limit: Option<Aabb<Scalar>>,
pub depth_limit: usize,
}Fields§
§density_threshold: Scalar§voxelization_size_limit: Scalar§region_limit: Option<Aabb<Scalar>>§depth_limit: usizeImplementations§
Source§impl ShapeOverlapQuery
impl ShapeOverlapQuery
pub fn query_field_pair( &self, field: [&dyn DensityField; 2], info: [&BodyAccessInfo; 2], result: &mut Vec<ShapeOverlapCell>, ) -> Option<Aabb<Scalar>>
pub fn query_field_pair_mapped<T>( &self, field: [&dyn DensityField; 2], info: [&BodyAccessInfo; 2], result: &mut Vec<T>, converter: impl Fn(ShapeOverlapCell) -> T, ) -> Option<Aabb<Scalar>>
Trait Implementations§
Source§impl Clone for ShapeOverlapQuery
impl Clone for ShapeOverlapQuery
Source§fn clone(&self) -> ShapeOverlapQuery
fn clone(&self) -> ShapeOverlapQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShapeOverlapQuery
impl Debug for ShapeOverlapQuery
Source§impl Default for ShapeOverlapQuery
impl Default for ShapeOverlapQuery
Source§impl PartialEq for ShapeOverlapQuery
impl PartialEq for ShapeOverlapQuery
impl StructuralPartialEq for ShapeOverlapQuery
Auto Trait Implementations§
impl Freeze for ShapeOverlapQuery
impl RefUnwindSafe for ShapeOverlapQuery
impl Send for ShapeOverlapQuery
impl Sync for ShapeOverlapQuery
impl Unpin for ShapeOverlapQuery
impl UnwindSafe for ShapeOverlapQuery
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