Class RectangleShape

java.lang.Object
org.opentrafficsim.base.geometry.OffsetRectangleShape
org.opentrafficsim.base.geometry.RectangleShape
All Implemented Interfaces:
Locatable, OtsShape

public abstract class RectangleShape extends OffsetRectangleShape
Shape defined by a rectangle.

Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Constructor Details

    • RectangleShape

      public RectangleShape(double dx, double dy)
      Constructor.
      Parameters:
      dx - complete length along x dimension.
      dy - complete length along y dimension.
  • Method Details