fn check_inbounds(point: &Coordinates, point1: &Coordinates, point2: &Coordinates) -> bool {
    let within_x = check_if_within(point.lat, point1.lat, point2.lat);
    let within_y = check_if_within(point.lon, point1.lon, point2.lon);
    let mut retval = false;
    if within_x && within_y {
        retval = true
    }

    retval
}
/// This method will check if the a given lat or lon is within a particular
/// coordinate.
///
This method will check if the a given lat or lon is within a particular
coordinate.
This method will check if the a given lat or lon is within a particular coordinate .
fn check_inbounds(point: &Coordinates, point1: &Coordinates, point2: &Coordinates) -> bool {
    let within_x = check_if_within(point.lat, point1.lat, point2.lat);
    let within_y = check_if_within(point.lon, point1.lon, point2.lon);
    let mut retval = false;
    if within_x && within_y {
        retval = true
    }
    retval
}
fn check_inbounds ( point : & Coordinates , point1 : & Coordinates , point2 : & Coordinates ) -> bool { let within_x = check_if_within ( point . lat , point1 . lat , point2 . lat ) ; let within_y = check_if_within ( point . lon , point1 . lon , point2 . lon ) ; let mut retval = false ; if within_x && within_y { retval = true } retval }
This method will check if the a given lat or lon is within a particular
coordinate.
This method will check if the a given lat or lon is within a particular coordinate .
point
&Coordinates
point1
&Coordinates
point2
&Coordinates
point
&Coordinates
point1
&Coordinates
point2
&Coordinates