pub struct ContourBandOptions {
pub interpolation: ContourInterpolation,
pub value_tolerance: f64,
pub geometry_tolerance: f64,
pub include_lower_extreme: bool,
pub include_upper_extreme: bool,
}Expand description
Backend-independent options for piecewise-linear filled contour bands.
Geometric rings use the same tolerance model as ContourOptions. Bands are numerically classified as lower-inclusive and upper-exclusive; unbounded extreme bands own their respective infinities. Polygon boundaries remain closed geometrically, so adjacent bands may share a boundary without overlapping in positive area.
Fields§
§interpolation: ContourInterpolationInterpolation used to construct the regions. Only linear interpolation is currently supported.
value_tolerance: f64Finite positive scalar equality tolerance.
geometry_tolerance: f64Finite positive composition-space cleanup tolerance.
include_lower_extreme: boolInclude the unbounded band below the first break.
include_upper_extreme: boolInclude the unbounded band above the last break.
Implementations§
Source§impl ContourBandOptions
impl ContourBandOptions
Sourcepub const fn linear() -> ContourBandOptions
pub const fn linear() -> ContourBandOptions
Construct options for the always-available piecewise-linear band model.
Trait Implementations§
Source§impl Clone for ContourBandOptions
impl Clone for ContourBandOptions
Source§fn clone(&self) -> ContourBandOptions
fn clone(&self) -> ContourBandOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContourBandOptions
Source§impl Debug for ContourBandOptions
impl Debug for ContourBandOptions
Source§impl Default for ContourBandOptions
impl Default for ContourBandOptions
Source§fn default() -> ContourBandOptions
fn default() -> ContourBandOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContourBandOptions
impl PartialEq for ContourBandOptions
impl StructuralPartialEq for ContourBandOptions
Auto Trait Implementations§
impl Freeze for ContourBandOptions
impl RefUnwindSafe for ContourBandOptions
impl Send for ContourBandOptions
impl Sync for ContourBandOptions
impl Unpin for ContourBandOptions
impl UnsafeUnpin for ContourBandOptions
impl UnwindSafe for ContourBandOptions
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