in3Utils.geoTrans.areaPoly

areaPoly(X, Y)[source]

Gauss’s area formula to calculate polygon area

Parameters
  • - X coord of the vertices

  • - Y coord of the vertices

  • (Without repeating the first vertex!!!)

Returns

Return type

Area of the polygon