Package org.geomajas.command.dto

Examples of org.geomajas.command.dto.SplitPolygonResponse


        dtoConverter.toDto(geoService.createCircle(factory.createPoint(new Coordinate(0, 0)), 10, 10)));
    request.setSplitter(
        dtoConverter.toDto(factory.createLineString(new Coordinate[] {
            new Coordinate(-10, -10), new Coordinate(10, 10)
        })));
    SplitPolygonResponse response = (SplitPolygonResponse) dispatcher.execute(
        SplitPolygonRequest.COMMAND, request, null, "en");
    if (response.isError()) {
      response.getErrors().get(0).printStackTrace();
    }
    Assert.assertFalse(response.isError());
    Assert.assertNotNull(response.getGeometries());
    // @todo should verify that split is correct
  }
View Full Code Here


  @Autowired
  private DtoConverterService converter;

  public SplitPolygonResponse getEmptyCommandResponse() {
    return new SplitPolygonResponse();
  }
View Full Code Here

TOP

Related Classes of org.geomajas.command.dto.SplitPolygonResponse

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.