Function nannou::geom::line::contains
[−]
[src]
pub fn contains<S>(
a: Point2<S>,
b: Point2<S>,
thickness: S,
point: &Point2<S>
) -> Option<Tri<S>> where
S: BaseFloat,
Describes whether or not the given point touches the line described by a -> b with the given thickness.
If so, the Tri
containing the point will be returned.
None
is returned otherwise.