pub struct SupportCoverageRequest { /* private fields */ }Expand description
Asks whether the tops of supports hold a clearance footprint (the
plan of frame and shape, as for ContainmentRequest): the
upward-facing surfaces of the supports between from and to metres of
elevation, such as a slab or landing near the floor under a door’s clear
area.
Only the plan and the elevation band are compared. The supports are the rule’s selection, sorted and deduplicated; with none, nothing holds the footprint.
Implementations§
Source§impl SupportCoverageRequest
impl SupportCoverageRequest
Sourcepub fn try_new(
frame: MetricFrame,
shape: ClearanceShape,
supports: Vec<ObjectId>,
from_metres: f64,
to_metres: f64,
) -> Result<Self, FreeSpaceError>
pub fn try_new( frame: MetricFrame, shape: ClearanceShape, supports: Vec<ObjectId>, from_metres: f64, to_metres: f64, ) -> Result<Self, FreeSpaceError>
Refuses a band that is not finite or whose ends are reversed.
pub fn frame(&self) -> &MetricFrame
pub fn shape(&self) -> ClearanceShape
pub fn supports(&self) -> &[ObjectId]
Sourcepub fn from_metres(&self) -> f64
pub fn from_metres(&self) -> f64
The lowest elevation a top may lie at, in metres.
Trait Implementations§
Source§impl Clone for SupportCoverageRequest
impl Clone for SupportCoverageRequest
Source§impl Debug for SupportCoverageRequest
impl Debug for SupportCoverageRequest
Source§impl PartialEq for SupportCoverageRequest
impl PartialEq for SupportCoverageRequest
impl StructuralPartialEq for SupportCoverageRequest
Auto Trait Implementations§
impl Freeze for SupportCoverageRequest
impl RefUnwindSafe for SupportCoverageRequest
impl Send for SupportCoverageRequest
impl Sync for SupportCoverageRequest
impl Unpin for SupportCoverageRequest
impl UnsafeUnpin for SupportCoverageRequest
impl UnwindSafe for SupportCoverageRequest
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