|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.iso.util.algorithmND.CentroidPoint
public class CentroidPoint
Computes the centroid of a point geometry.
Constructor Summary | |
---|---|
CentroidPoint(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Creates a new Centroid operation |
Method Summary | |
---|---|
void |
add(GeometryImpl geom)
Adds the point(s) defined by a Geometry to the centroid total. |
DirectPositionImpl |
getCentroid()
Returns the centroid of the added points |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CentroidPoint(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
crs
- Method Detail |
---|
public void add(GeometryImpl geom)
geom
- the geometry to addpublic DirectPositionImpl getCentroid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |