1 package org.opentrafficsim.core.object;
2
3 import org.djunits.value.vdouble.scalar.Length;
4 import org.djutils.base.Identifiable;
5 import org.djutils.event.EventProducer;
6 import org.opentrafficsim.base.geometry.OtsShape;
7
8 /**
9 * Generic object that can be placed in the model. This could be implemented for a traffic light, a road sign, or an obstacle.
10 * <p>
11 * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
12 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
13 * </p>
14 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
15 * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
16 */
17 public interface LocatedObject extends OtsShape, Identifiable, EventProducer
18 {
19
20 /**
21 * Returns the object height.
22 * @return the height of the object (can be Length.ZERO).
23 */
24 Length getHeight();
25
26 /**
27 * Returns the full id that makes the id unique in the network.
28 * @return the full id that makes the id unique in the network.
29 */
30 String getFullId();
31
32 }