# Efficiently check if points are contained in polygons

**URL:** <https://discourse.julialang.org/t/efficiently-check-if-points-are-contained-in-polygons/74415>\
**Category:** Geo\
**Tags:** question\
**Created:** [January 11, 2022, 5:50pm UTC](https://discourse.julialang.org/t/efficiently-check-if-points-are-contained-in-polygons/74415 "2022-01-11T17:50:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)\
**Post date:** [January 13, 2022, 9:44am UTC](https://discourse.julialang.org/t/efficiently-check-if-points-are-contained-in-polygons/74415/8 "2022-01-13T09:44:11Z")

</div>

Meshes.jl also has an “in” operator for Polygons

I went to all the trouble of coding up BoundingBox code and found _afterwards_ that it wasn’t needed, even for NGons with thousands of N

[https://juliageometry.github.io/Meshes.jl/](https://juliageometry.github.io/Meshes.jl/)

---

_[View the full topic](https://discourse.julialang.org/t/efficiently-check-if-points-are-contained-in-polygons/74415)._
