I was wondering if anybody knows a way to quantify the "density" of points contained within a polygon.
Here are my assumptions:
- The polygon is convex.
- All of the points' location is known.
- Currently, I would like to limit the problem to two dimensions, but would like to know the implications of moving it to higher dimensions (n-polytope).
I realize this is similar to the following question: Density of points on graph however I am only concerned about the density within the polygon.
Idea so far:
- Compute all the distances between each object in the polygon.
- Compute the standard deviation between the distances.
- A higher deviation would signify a greater variation between the distances between points.