pub struct FreeFaces { /* private fields */ }Expand description
The bounded free faces of a FreeSpaceInput (module docs).
Implementations§
Source§impl FreeFaces
impl FreeFaces
Sourcepub fn locate(&self, point: DVec2) -> Result<FaceLocation, FreeFacesError>
pub fn locate(&self, point: DVec2) -> Result<FaceLocation, FreeFacesError>
Where point lies: in a face, on a ring edge, in a closed gap, in an
obstacle, or in none of them.
§Errors
FreeFacesError::NonFinitePoint for a point with a non-finite
coordinate.
Source§impl FreeFaces
impl FreeFaces
Sourcepub fn closed_gaps(&self) -> &[FreeFace]
pub fn closed_gaps(&self) -> &[FreeFace]
The bounded free regions narrower than the closing width, in the same form and order as the faces.
Sourcepub fn evidence(&self) -> &FreeFaceEvidence
pub fn evidence(&self) -> &FreeFaceEvidence
What the operation did besides the faces.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FreeFaces
impl RefUnwindSafe for FreeFaces
impl Send for FreeFaces
impl Sync for FreeFaces
impl Unpin for FreeFaces
impl UnsafeUnpin for FreeFaces
impl UnwindSafe for FreeFaces
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more