Synopsis

double mth_GetPolygonArea(long n_points, MTH_3DPNT points[])

Purpose

Calculate polygon area

Description

Perform area calculation based on triangle formula 1/2bh.

Input

n_points

Number of points in polygon

points

3D points defining polygon

Return

The area of the polygon.