pub struct TraceOptions {
pub search_radius: Option<f64>,
pub gps_accuracy: Option<f64>,
pub breakage_distance: Option<f64>,
pub interpolation_distance: Option<f64>,
}Expand description
Options to fine-tune the GPS trace matching algorithm.
Fields§
§search_radius: Option<f64>Search radius in meters around each input point within which to search for candidate edges.
Default: 25
gps_accuracy: Option<f64>GPS accuracy in meters for the input points.
Default: 5
breakage_distance: Option<f64>Distance in meters beyond which a new breakage will be created.
Default: 2000
interpolation_distance: Option<f64>Distance in meters to interpolate between input points.
Default: 10
Trait Implementations§
Source§impl Clone for TraceOptions
impl Clone for TraceOptions
Source§fn clone(&self) -> TraceOptions
fn clone(&self) -> TraceOptions
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 moreSource§impl Debug for TraceOptions
impl Debug for TraceOptions
Source§impl Default for TraceOptions
impl Default for TraceOptions
Source§fn default() -> TraceOptions
fn default() -> TraceOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceOptions
impl RefUnwindSafe for TraceOptions
impl Send for TraceOptions
impl Sync for TraceOptions
impl Unpin for TraceOptions
impl UnsafeUnpin for TraceOptions
impl UnwindSafe for TraceOptions
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