Skip to main content

IntersectionPoint

Trait IntersectionPoint 

Source
pub trait IntersectionPoint<T>
where T: Float,
{ // Required method fn intersection_point(&self, line: &Line<T>) -> Coordinate<T>; }
Expand description

Returns the coordinate at which two geometries intersect

Required Methods§

Source

fn intersection_point(&self, line: &Line<T>) -> Coordinate<T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> IntersectionPoint<T> for Line<T>
where T: Float,

Source§

fn intersection_point(&self, line: &Line<T>) -> Coordinate<T>

Implementors§