Examples of CentroidArea2D


Examples of org.geotools.geometry.iso.util.algorithm2D.CentroidArea2D

     
    // Surface: the average of the surface (considers holes)
    // MultiSurface: the average of all contained surfaces (considers holes)
    if (this instanceof SurfaceImpl ||
      this instanceof MultiSurfaceImpl) {
      CentroidArea2D ca = new CentroidArea2D(this.crs);
      ca.add(this);
      return ca.getCentroid();
         
    }
   
    // Missing: CompositePoint, CompositeCurve, CompositeSurface
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.