/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contributors License Agreement. For full licensing
* details, see LICENSE.txt in the project root.
*/
package org.geomajas.plugin.jsapi.client.spatial;
import org.geomajas.annotation.Api;
import org.timepedia.exporter.client.Export;
import org.timepedia.exporter.client.Exportable;
/**
* Service that defines all possible operations on bounding boxes.
*
* @author Pieter De Graef
* @since 1.0.0
*/
@Api(allMethods = true)
@Export
public interface BboxService extends Exportable {
/**
* Calculate the union of two bounding boxes.
*
* @param one
* The first bounding box.
* @param two
* The second bounding box.
* @return The union of the two given bounding boxes.
*/
org.geomajas.geometry.Bbox union(org.geomajas.geometry.Bbox one, org.geomajas.geometry.Bbox two);
}