Data in a polygon.

45romeo

New Member
Joined
Apr 2, 2010
Messages
4
I have a bunch of x,y point data that I have reduced to a regular polygon that is bounded by straight lines on the north, south ,east and west. What I want to do is farther sort the data by weather it is inside or out sided of a four sided polygon that is not oriented to the cardinal directions. the four corners of the polygon starting in the nw and working clockwise are :
987664.3312
16274156.0668

989619.8648
16273133.5327

989036.7498
16271869.6288

987203.9753
16273209.5904

Any help on how to define this polygon or to tell if a point was left or right of a line between two points would be appreciated!

Thanks in Advance
45romeo
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Are the lines joining each corner, straight ?

If so, I think it would be possible, by evaluating the slope of each line, to determine which side of each line any point is on.
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,539
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top