Struct kurbo::LineIntersection
source · pub struct LineIntersection {
pub line_t: f64,
pub segment_t: f64,
}
Expand description
An intersection of a Line
and a PathSeg
.
This can be generated with the PathSeg::intersect_line
method.
Fields§
§line_t: f64
The ‘time’ that the intersection occurs, on the line.
This value is in the range 0..1.
segment_t: f64
The ‘time’ that the intersection occurs, on the path segment.
This value is nominally in the range 0..1, although it may slightly exceed that range at the boundaries of segments.
Implementations§
Trait Implementations§
source§impl Clone for LineIntersection
impl Clone for LineIntersection
source§fn clone(&self) -> LineIntersection
fn clone(&self) -> LineIntersection
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 more