package org.opentrafficsim.demo.geometry; import java.awt.Dimension; import java.awt.geom.Rectangle2D; import java.rmi.RemoteException; import javax.naming.NamingException; import nl.tudelft.simulation.dsol.SimRuntimeException; import nl.tudelft.simulation.dsol.animation.D2.AnimationPanel; import nl.tudelft.simulation.dsol.experiment.ReplicationMode; import nl.tudelft.simulation.dsol.gui.swing.DSOLApplication; import nl.tudelft.simulation.dsol.gui.swing.DSOLPanel; import nl.tudelft.simulation.dsol.simulators.SimulatorInterface; import nl.tudelft.simulation.event.Event; import org.opentrafficsim.core.dsol.OTSDEVSAnimator; import org.opentrafficsim.core.dsol.OTSModelInterface; import org.opentrafficsim.core.dsol.OTSReplication; import org.opentrafficsim.core.dsol.OTSSimTimeDouble; import org.opentrafficsim.core.unit.TimeUnit; import org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar; /** *
* Copyright (c) 2013-2015 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: pknoppers
* $, initial version Oct 16, 2014
* @author Alexander Verbraeck
*/
public class TestGeometry extends DSOLApplication
{
/** */
private static final long serialVersionUID = 1L;
/**
* @param title t
* @param panel p
*/
public TestGeometry(final String title,
final DSOLPanel