summaryrefslogblamecommitdiffstats
path: root/src/org/uic/ticket/api/impl/SimplePolygone.java
blob: 86f3e77289f5a17a401e517eda2960db8f5a615e (plain) (tree)




































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

}