The following java method calculates the sum of a polygon given a list of the points in either clockwise or counter clockwise order: private double calculateArea(List<Point> orderedPoints) { //multiply each x coordinate by the following y int positiveDiagonalSum = 0; … Continue reading

# Find area of a polygon

Reply