pub struct PlineOverlappingIntersect<T = f64> {
pub start_index1: usize,
pub start_index2: usize,
pub point1: Vector2<T>,
pub point2: Vector2<T>,
}
Expand description
Represents an overlapping polyline intersect segment.
Fields§
§start_index1: usize
Starting vertex index of the first polyline segment involved in the overlapping intersect.
start_index2: usize
Starting vertex index of the second polyline segment involved in the intersect.
point1: Vector2<T>
First end point of the overlapping intersect (closest to the second segment start).
point2: Vector2<T>
Second end point of the overlapping intersect (furthest from the second segment start).
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for PlineOverlappingIntersect<T>
impl<T: Clone> Clone for PlineOverlappingIntersect<T>
source§fn clone(&self) -> PlineOverlappingIntersect<T>
fn clone(&self) -> PlineOverlappingIntersect<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 PlineOverlappingIntersect<T>
impl<T: Debug> Debug for PlineOverlappingIntersect<T>
impl<T: Copy> Copy for PlineOverlappingIntersect<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for PlineOverlappingIntersect<T>where
T: RefUnwindSafe,
impl<T> Send for PlineOverlappingIntersect<T>where
T: Send,
impl<T> Sync for PlineOverlappingIntersect<T>where
T: Sync,
impl<T> Unpin for PlineOverlappingIntersect<T>where
T: Unpin,
impl<T> UnwindSafe for PlineOverlappingIntersect<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