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

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


    }
  }

  private LineString execute(LineString lineString) {
    oldPosition = (Coordinate) lineString.getCoordinateN(index.getCoordinateIndex()).clone();
    SetCoordinateOperation op = new SetCoordinateOperation(index.getCoordinateIndex(), newPosition);
    return (LineString) op.execute(lineString);
  }
View Full Code Here


      setInteriorRingN(polygon, (LinearRing) lineString, index.getInteriorRingIndex());
    }
  }

  private LineString undo(LineString lineString) {
    SetCoordinateOperation op = new SetCoordinateOperation(index.getCoordinateIndex(), oldPosition);
    return (LineString) op.execute(lineString);
  }
View Full Code Here

TOP

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

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.