Forgive me, I thought we had to assign coordinates to point and boundary data.
If the locations for the inny and outy points, along with the boundary points is given, and if the boundary is closed, it should be quick and easy to determine if a data point is inside or outside the boundary.
The procedure would be like this. If the point is inside the boundary, the x coordinate of the point in question, will have a minimum of two common x coordinates in the boundary table on that axis. As long as the data point is within the inner range of the boundary points on that axis........it's inside.
Now do the same to the y coordinate. As long as both of the data point coordinates are inside the inner range of the matching boundary coordinates..................on both axis..........the point would be on the inside.
If both of these conditions are not met....the point is on the outside.
Even if the boundary is a multi shaped manifold, this should be easy....because in and out alternate with boundary. Then just check if point is inside one of the inside ranges.
This can all be done with just the data and boundary coordinates.
Does that make any sense?
If the locations for the inny and outy points, along with the boundary points is given, and if the boundary is closed, it should be quick and easy to determine if a data point is inside or outside the boundary.
The procedure would be like this. If the point is inside the boundary, the x coordinate of the point in question, will have a minimum of two common x coordinates in the boundary table on that axis. As long as the data point is within the inner range of the boundary points on that axis........it's inside.
Now do the same to the y coordinate. As long as both of the data point coordinates are inside the inner range of the matching boundary coordinates..................on both axis..........the point would be on the inside.
If both of these conditions are not met....the point is on the outside.
Even if the boundary is a multi shaped manifold, this should be easy....because in and out alternate with boundary. Then just check if point is inside one of the inside ranges.
This can all be done with just the data and boundary coordinates.
Does that make any sense?