I'm supposed to derive an equation that will find whether or not a point is inside or outside a shape with only the coordinates of the vertices given.(adsbygoogle = window.adsbygoogle || []).push({});

The shape is expected to be something like this:

______

|........|.........._____

|........|______|.......|

|............................|_____

|.....................................|

|.....................................|

|...........___________.........|

|..........|.................|........|

|______|..................|_____|

with the coordinates of the corners given. The shape isn't exactly that but it's basically a collection of boxes.

I really have no idea where to start, if anyone could give me a starting point I'd appreciate it.

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Coordinates given, find whether a point is inside or outside

**Physics Forums | Science Articles, Homework Help, Discussion**