[][src]Function kalman_rs::traits::quadralateral_contains

pub fn quadralateral_contains(
    points: &[Point3<f32>; 4],
    check_point: &Point3<f32>
) -> bool

Checks if an input point is contained within the within the XY bounds of the sensor. A point with any nonzero Z value needs to also use traits::Plane::on_plane to ensure that the point falls on the same plane as the sensor.