|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.algorithm.CentroidPoint
Computes the centroid of a point geometry.
| Constructor Summary | |
CentroidPoint()
|
|
| Method Summary | |
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CentroidPoint()
| Method Detail |
public void add(Geometry geom)
geom - the geometry to addpublic void add(Coordinate pt)
public Coordinate getCentroid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||