1 package org.opentrafficsim.core.object; 2 3 import org.djunits.value.vdouble.scalar.Length; 4 import org.opentrafficsim.base.Identifiable; 5 import org.opentrafficsim.core.geometry.OTSLine3D; 6 7 import nl.tudelft.simulation.dsol.animation.Locatable; 8 import nl.tudelft.simulation.event.EventProducerInterface; 9 10 /** 11 * Generic object that can be placed in the model. This could be implemented for a traffic light, a road sign, or an obstacle. 12 * <p> 13 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 14 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 15 * </p> 16 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, 17 * initial version Dec 16, 2015 <br> 18 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 19 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 20 */ 21 public interface ObjectInterface extends Locatable, Identifiable, EventProducerInterface 22 { 23 /** @return the outline geometry of the object. */ 24 OTSLine3D getGeometry(); 25 26 /** @return the height of the object (can be Length.ZERO). */ 27 Length getHeight(); 28 29 /** @return the full id that makes the id unique in the network. */ 30 String getFullId(); 31 }