public class CentroidLine extends Object
Constructor and Description |
---|
CentroidLine()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Coordinate[] pts)
Deprecated.
Adds the length defined by an array of coordinates.
|
void |
add(Geometry geom)
Deprecated.
Adds the linear components of by a Geometry to the centroid total.
|
Coordinate |
getCentroid()
Deprecated.
|
public void add(Geometry geom)
geom
- the geometry to addpublic Coordinate getCentroid()
public void add(Coordinate[] pts)
pts
- an array of Coordinate
sCopyright © 2016. All rights reserved.