pub struct ViewshedConfig {
pub observer_x: u64,
pub observer_y: u64,
pub observer_height: f64,
pub target_height: f64,
pub max_distance: Option<f64>,
pub cell_size: f64,
pub algorithm: ViewshedAlgorithm,
pub curvature_correction: Option<CurvatureCorrection>,
}Expand description
Configuration for viewshed analysis
Fields§
§observer_x: u64Observer X coordinate (column)
observer_y: u64Observer Y coordinate (row)
observer_height: f64Observer height above ground (meters)
target_height: f64Target height above ground (meters)
max_distance: Option<f64>Maximum viewing distance (None = unlimited)
cell_size: f64Cell size (ground distance per pixel)
algorithm: ViewshedAlgorithmAlgorithm to use
curvature_correction: Option<CurvatureCorrection>Earth curvature correction (None = no correction)
Trait Implementations§
Source§impl Clone for ViewshedConfig
impl Clone for ViewshedConfig
Source§fn clone(&self) -> ViewshedConfig
fn clone(&self) -> ViewshedConfig
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 moreAuto Trait Implementations§
impl Freeze for ViewshedConfig
impl RefUnwindSafe for ViewshedConfig
impl Send for ViewshedConfig
impl Sync for ViewshedConfig
impl Unpin for ViewshedConfig
impl UnsafeUnpin for ViewshedConfig
impl UnwindSafe for ViewshedConfig
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