C ceaser Active Member Licensed User Feb 1, 2009 #1 Hi This is more of a mathematical question than a programming one. Here is my problem: I have a rock face that I want to monitor for any movement. I define the border (the outside parameters) of the area to be monitored by coordinates. Usually the area will have the shape of a polygon. Then I define the intervals say 0.1m by 0.1m which the Robotic Total Station must scan inside the defined area. The Total Station is set up at a known point and uses a lazer beam to determine the coordinates there where it hits the surface. This will be repeated everyday and the coordinates compared to see if there is any movement. Now my question is, does anybody know of a VERY short formulae to check whether the coordinate calculated at the rock face is inside the defined area:sign0085: Thanks ceaser
Hi This is more of a mathematical question than a programming one. Here is my problem: I have a rock face that I want to monitor for any movement. I define the border (the outside parameters) of the area to be monitored by coordinates. Usually the area will have the shape of a polygon. Then I define the intervals say 0.1m by 0.1m which the Robotic Total Station must scan inside the defined area. The Total Station is set up at a known point and uses a lazer beam to determine the coordinates there where it hits the surface. This will be repeated everyday and the coordinates compared to see if there is any movement. Now my question is, does anybody know of a VERY short formulae to check whether the coordinate calculated at the rock face is inside the defined area:sign0085: Thanks ceaser
klaus Expert Licensed User Longtime User Feb 1, 2009 #2 Hi Michael, Is this what you are looking for ? The equations come from here: Determining if a point lies on the interior of a polygon The different If statements can be grouped into one, I left them so for easyer understanding. Best regards. Attachments PointInsidePolygone.sbp PointInsidePolygone.sbp 1.7 KB · Views: 511 Last edited: Feb 1, 2009
Hi Michael, Is this what you are looking for ? The equations come from here: Determining if a point lies on the interior of a polygon The different If statements can be grouped into one, I left them so for easyer understanding. Best regards.
C ceaser Active Member Licensed User Feb 1, 2009 #3 Klaus.........what would I have done without you!!:sign0188::sign0188::sign0188: Danke Michael
agraham Expert Licensed User Longtime User Feb 1, 2009 #4 This is effectively the algorithm I used in my Delaunay2D example MathGroup Archive (2000/09) - Point inside a plygon?
This is effectively the algorithm I used in my Delaunay2D example MathGroup Archive (2000/09) - Point inside a plygon?
C ceaser Active Member Licensed User Feb 1, 2009 #5 Hi Agraham You guys are great! I cannot believe the help that I am getting here on this forum:sign0060: I wish the guys at NSBasic could see this! Thanks again:sign0188: Michael
Hi Agraham You guys are great! I cannot believe the help that I am getting here on this forum:sign0060: I wish the guys at NSBasic could see this! Thanks again:sign0188: Michael