pub struct ShapeOffsetOptions<T> {
pub pos_equal_eps: T,
pub offset_dist_eps: T,
pub slice_join_eps: T,
}
Expand description
Struct to hold options parameters when performing shape offset.
Fields§
§pos_equal_eps: T
Fuzzy comparison epsilon used for determining if two positions are equal.
offset_dist_eps: T
Fuzzy comparison epsilon used when testing distance of slices to original polyline for validity.
slice_join_eps: T
Fuzzy comparison epsilon used for determining if two positions are equal when stitching polyline slices together.
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for ShapeOffsetOptions<T>
impl<T: Clone> Clone for ShapeOffsetOptions<T>
source§fn clone(&self) -> ShapeOffsetOptions<T>
fn clone(&self) -> ShapeOffsetOptions<T>
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<T: Debug> Debug for ShapeOffsetOptions<T>
impl<T: Debug> Debug for ShapeOffsetOptions<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ShapeOffsetOptions<T>where
T: RefUnwindSafe,
impl<T> Send for ShapeOffsetOptions<T>where
T: Send,
impl<T> Sync for ShapeOffsetOptions<T>where
T: Sync,
impl<T> Unpin for ShapeOffsetOptions<T>where
T: Unpin,
impl<T> UnwindSafe for ShapeOffsetOptions<T>where
T: UnwindSafe,
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