package org.opentrafficsim.demo.geometry.shape; import java.io.Serializable; import java.util.LinkedHashMap; import java.util.Map; import org.djunits.value.vdouble.scalar.Time; import org.opentrafficsim.core.dsol.AbstractOTSModel; import org.opentrafficsim.core.dsol.OTSSimulatorInterface; import org.opentrafficsim.core.network.Link; import org.opentrafficsim.road.network.OTSRoadNetwork; import org.opentrafficsim.road.network.lane.OTSRoadNode; import nl.tudelft.simulation.dsol.SimRuntimeException; /** *
* Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License.
*
* $LastChangedDate$, @version $Revision$, by $Author$,
* initial version Sep 9, 2014
* @author Alexander Verbraeck
* @author Guus Tamminga
*/
public class ShapeModel extends AbstractOTSModel
{
/** */
private static final long serialVersionUID = 20140815L;
/** Nodes from shape file. */
private Map