Calculate the centroid from curve based geometries. Implementation based on the JTS (Java Topology Suite) CentroidLine.
Constructor Constructor
Add a curve based dimension 1 geometry to the centroid total. Ignores dimension 0 geometries.
geometry
Get the centroid point
centroid point
Generated using TypeDoc
Calculate the centroid from curve based geometries. Implementation based on the JTS (Java Topology Suite) CentroidLine.