CPolygon:CalcCenter
The CalcCenter method calculates the center of mass of the CPolygon.
| x, y = CPolygon:CalcCenter() where | 
 x, y are the
coordinates of the center of mass.
    x, y are the
coordinates of the center of mass.
The following script creates a CPolygon from 2 arrays and calculates its center of mass coordinates:
|  | -- create CPolygon A | 
|  | -- result: CalcCenter = 5.5,1.25 |