Package org.opentrafficsim.core
Interface SpatialObject
- All Known Subinterfaces:
DynamicSpatialObject
public interface SpatialObject
SpatialObject indicates that an object has a shape that can be requested. A spatial object can therefore be stored in a
spatial tree such as an R-Tree.
Copyright (c) 2022-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
-
Method Details
-
getShape
OtsShape getShape()Return the shape of the object.- Returns:
- OtsShape; the shape of the object
-