Question: Write a VBA sub-program to verify whether a point (with x and y coordinates) es within a specified irregular polygon If the polygon considered has


Write a VBA sub-program to verify whether a point (with x and y coordinates) es within a specified irregular polygon If the polygon considered has eight edges, there will be 9 points that userhas to provide as input. Define the number of edges for irregular polygon first and then use this input furtherin the program Hint: use the formula yc y Left- Right-yLeftxRight-xLeft (KA-xLeft) Specific Requirements: Define a polygon with a maximumof 8 edges. Define a maximum of 20 points to evaluate whethereach point lies inside or outside the area The program should: Classify whether "The point is outside the area" or "The point is inside the area Specify the points (x and y coordinates) which ar inside the area
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
