public class CentroidPoint extends Object
| Constructor and Description |
|---|
CentroidPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Coordinate pt)
Adds the length defined by an array of coordinates.
|
void |
add(Geometry geom)
Adds the point(s) defined by a Geometry to the centroid total.
|
Coordinate |
getCentroid() |
public void add(Geometry geom)
geom - the geometry to addpublic void add(Coordinate pt)
pts - an array of Coordinatespublic Coordinate getCentroid()
Copyright © 2016. All rights reserved.