diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-01-03 10:47:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 10:47:21 +0100 |
commit | c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87 (patch) | |
tree | 3f30e28833d113bd4be1515da247c45911a0d89a /src/org/uic/ticket/api/impl/SimplePolygone.java | |
parent | asn.1 java model (diff) | |
download | UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar.gz UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar.bz2 UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar.lz UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar.xz UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.tar.zst UIC-barcode-c3ee0f35f58125a7a2b2e29ac8db8abc169f1b87.zip |
Diffstat (limited to '')
-rw-r--r-- | src/org/uic/ticket/api/impl/SimplePolygone.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/impl/SimplePolygone.java b/src/org/uic/ticket/api/impl/SimplePolygone.java new file mode 100644 index 0000000..86f3e77 --- /dev/null +++ b/src/org/uic/ticket/api/impl/SimplePolygone.java @@ -0,0 +1,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);
+ }
+
+
+
+}
|