blob: 86f3e77289f5a17a401e517eda2960db8f5a615e (
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
33
34
35
36
37
|
/*
*
*/
package org.uic.ticket.api.impl;
import java.util.Collection;
import java.util.LinkedHashSet;
import org.uic.ticket.api.spec.IGeoCoordinate;
import org.uic.ticket.api.spec.IPolygone;
// TODO: Auto-generated Javadoc
/**
* The Class SimplePolygone.
*/
public class SimplePolygone implements IPolygone{
/** The edges. */
protected Collection<IGeoCoordinate> edges = new LinkedHashSet<IGeoCoordinate>();
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IPolygone#getEdges()
*/
public Collection<IGeoCoordinate> getEdges() {
return edges;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IPolygone#addEdge(org.uic.ticket.api.spec.IGeoCoordinate)
*/
public void addEdge(IGeoCoordinate edge) {
this.edges.add(edge);
}
}
|