Package org.geomajas.gwt.client.spatial.geometry.operation

Examples of org.geomajas.gwt.client.spatial.geometry.operation.AddRingOperation


  // Private functions:
  // -------------------------------------------------------------------------

  private Polygon addRing(Polygon polygon) {
    LinearRing interiorRing = polygon.getGeometryFactory().createLinearRing(new Coordinate[] {});
    AddRingOperation op = new AddRingOperation(interiorRing);
    index.setInteriorRingIndex(polygon.getNumInteriorRing());
    index.setExteriorRing(false);
    return (Polygon) op.execute(polygon);
  }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.spatial.geometry.operation.AddRingOperation

Copyright © 2018 www.massapicom. 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.