computes the centroid point of a geometry . concode_field_sep Coordinate cg3 concode_elem_sep Coordinate triangleCent3 concode_elem_sep Coordinate lineCentSum concode_elem_sep double totalLength concode_elem_sep int ptCount concode_elem_sep double areasum2 concode_elem_sep Coordinate areaBasePt concode_elem_sep Coordinate ptCentSum concode_field_sep void add concode_elem_sep void add concode_elem_sep void addLineSegments concode_elem_sep void centroid3 concode_elem_sep void addHole concode_elem_sep void addShell concode_elem_sep double area2 concode_elem_sep void setBasePoint concode_elem_sep void addTriangle concode_elem_sep void addPoint
Coordinate function ( Geometry arg0 ) { Centroid loc0 = new Centroid ( arg0 ) ; return loc0 . getCentroid ( ) ; }