summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/impl/SimplePolygone.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/uic/barcode/ticket/api/impl/SimplePolygone.java')
-rw-r--r--src/org/uic/barcode/ticket/api/impl/SimplePolygone.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/org/uic/barcode/ticket/api/impl/SimplePolygone.java b/src/org/uic/barcode/ticket/api/impl/SimplePolygone.java
new file mode 100644
index 0000000..e467f33
--- /dev/null
+++ b/src/org/uic/barcode/ticket/api/impl/SimplePolygone.java
@@ -0,0 +1,37 @@
+/*
+ *
+ */
+package org.uic.barcode.ticket.api.impl;
+
+import java.util.Collection;
+import java.util.LinkedHashSet;
+
+import org.uic.barcode.ticket.api.spec.IGeoCoordinate;
+import org.uic.barcode.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);
+ }
+
+
+
+}