pub fn contains(shape: Shape, filename: &str, latitude: f64, longitude: f64) -> bool {
    match shape {
        Shape::Polygon => contains_in_polygon(filename, latitude, longitude),
        Shape::Circle => contains_in_circle(filename, latitude, longitude),
        Shape::Triangle => contains_in_triangle(filename, latitude, longitude),
    }
}
///
/// Calls the contains method depending on the Shape.
///
Calls the contains method depending on the Shape.
Calls the contains method depending on the Shape .
pub fn contains(shape: Shape, filename: &str, latitude: f64, longitude: f64) -> bool {
    match shape {
        Shape::Polygon => contains_in_polygon(filename, latitude, longitude),
        Shape::Circle => contains_in_circle(filename, latitude, longitude),
        Shape::Triangle => contains_in_triangle(filename, latitude, longitude),
    }
}
pub fn contains ( shape : Shape , filename : & str , latitude : f64 , longitude : f64 ) -> bool { match shape { Shape :: Polygon => contains_in_polygon ( filename , latitude , longitude ) , Shape :: Circle => contains_in_circle ( filename , latitude , longitude ) , Shape :: Triangle => contains_in_triangle ( filename , latitude , longitude ) , } }
Calls the contains method depending on the Shape.
Calls the contains method depending on the Shape .
shape
Shape
filename
&str
latitude
f64
longitude
f64
shape
Shape
filename
&str
latitude
f64
longitude
f64