pub fn are_multiple_points_in_polygon<T>(
points: &[Point2<T>],
polygon: &[Point2<T>],
) -> Option<Vec<bool>>Expand description
This function will run the is_single_point_in_polygon for each on of the points given, and the provided polygon,
But pre-calculates the polygon extents to reduce workloads for larger datasets, please profile this for you specific use-case.
§Arguments
§Generics:
§Returns
A Vec of booleans, with the same size as points, containing the result for each point.