pub struct TraversalEnvelope {
pub agent_radius: f64,
pub agent_height: f64,
pub max_step: f64,
pub max_slope: f64,
}Expand description
Explicit geometric envelope for traversal. Every field is caller-supplied.
Fields§
§agent_radius: f64Lateral half-width kept free of blocking geometry, in local units.
agent_height: f64Free span required above a support layer, in local units.
max_step: f64Largest abrupt layer change accepted between adjacent cells.
max_slope: f64Largest accepted rise over run between adjacent cells.
Implementations§
Source§impl TraversalEnvelope
impl TraversalEnvelope
Sourcepub fn validate(&self) -> Result<(), LayeredFieldError>
pub fn validate(&self) -> Result<(), LayeredFieldError>
Validate the envelope. All values must be finite and non-negative.
Trait Implementations§
Source§impl Clone for TraversalEnvelope
impl Clone for TraversalEnvelope
Source§fn clone(&self) -> TraversalEnvelope
fn clone(&self) -> TraversalEnvelope
Returns a copy 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 TraversalEnvelope
impl Debug for TraversalEnvelope
Source§impl PartialEq for TraversalEnvelope
impl PartialEq for TraversalEnvelope
impl Copy for TraversalEnvelope
impl StructuralPartialEq for TraversalEnvelope
Auto Trait Implementations§
impl Freeze for TraversalEnvelope
impl RefUnwindSafe for TraversalEnvelope
impl Send for TraversalEnvelope
impl Sync for TraversalEnvelope
impl Unpin for TraversalEnvelope
impl UnwindSafe for TraversalEnvelope
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
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