As an example, let's say I use a set of random points to create a Voronoi mesh
pts = RandomReal[{-1, 1}, {100, 2}];
VoronoiMesh[pts, {-1, 1}]
and get something that looks like this:
My question is: Is there an efficient way to determine which of the regions (mesh elements, whatever you call them) are not touching the edge of the mesh? I know that there are a lot of built in functions that give properties of elements in a mesh, but I am unfamiliar with them, and I can't seem to find an efficient way to do this beyond "looping" through all elements and just picking which elements do not have points that touch the edge.




RegionBoundary? To get coordinates you can doRegionBoundary@mesh // MeshCoordinates– b3m2a1 Jan 07 '19 at 22:45