summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/ticket/api/spec/IPolygone.java
blob: 41f9d9c9b5879be68b85c84ca3341379df3c76bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * 
 */
package org.uic.barcode.ticket.api.spec;

import java.util.Collection;

/**
 * The Interface IPolygone.
 * 
 * 
 * IPolygone provides a description of a region valid for traveling by a polygon of geo-coordinates.
 * 
 */
public interface IPolygone extends IRegionalValidity {
	
	/**
	 * Gets the edges of the polygon.
	 *
	 * @return the edges
	 */
	public Collection<IGeoCoordinate> getEdges();

	/**
	 * Adds an  edge to the polygon.
	 *
	 * @param edge the geo-coordinate of the edge
	 */
	public void addEdge(IGeoCoordinate edge);
	

}