1 package org.opentrafficsim.core.object; 2 3 import java.io.Serializable; 4 5 import org.djunits.value.vdouble.scalar.Length; 6 import org.djutils.base.Identifiable; 7 import org.djutils.event.EventProducer; 8 import org.opentrafficsim.base.geometry.OtsLocatable; 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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 14 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 15 * </p> 16 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a> 17 * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a> 18 */ 19 public interface LocatedObject extends OtsLocatable, Identifiable, EventProducer, Serializable 20 { 21 22 /** 23 * Returns the object height. 24 * @return the height of the object (can be Length.ZERO). 25 */ 26 Length getHeight(); 27 28 29 /** 30 * Returns the full id that makes the id unique in the network. 31 * @return the full id that makes the id unique in the network. 32 */ 33 String getFullId(); 34 35 }