pub struct TraversalEnvelope {
pub agent_radius: Scalar,
pub agent_height: Scalar,
pub max_step: Scalar,
pub max_slope: Scalar,
}Expand description
Explicit geometric envelope for traversal. Every field is caller-supplied.
Fields§
§agent_radius: ScalarLateral half-width kept free of blocking geometry, in local units.
agent_height: ScalarFree span required above a support layer, in local units.
max_step: ScalarLargest abrupt layer change accepted between adjacent cells.
max_slope: ScalarLargest 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