summaryrefslogblamecommitdiffstats
path: root/src/main/java/org/uic/barcode/ticket/api/impl/SimplePolygone.java
blob: e467f33ec85e8a5f104422b37d9a47dc9a3e0e2f (plain) (tree)
1
2
3
4
5
6
7
8
9
10


    
                                         



                                

                                                       


























                                                                                                  
/*
 * 
 */
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);
	} 
	
	

}