1 package org.djutils.draw;
2
3 /**
4 * Directed is the interface to specify a Direction in the XY-plane (a vector without a length, pointing in a direction). This
5 * is <b>not</b> the direction of the object as seen from the origin (0,0,0).
6 * <p>
7 * Copyright (c) 2020-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8 * BSD-style license. See <a href="https://djutils.org/docs/current/djutils/licenses.html">DJUTILS License</a>.
9 * </p>
10 * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11 * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
12 * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
13 */
14 public interface Directed
15 {
16 /**
17 * Retrieve the angle from the positive x-axis. Positive rotates towards the positive y-axis (and beyond).
18 * @return the angle from the positive x-axis
19 */
20 double getDirZ();
21
22 }