1 package org.djutils.draw;
2
3 /**
4 * Oriented3d is an interface to indicate an object has a direction in three dimensions.
5 * <p>
6 * Copyright (c) 2020-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="https://djutils.org/docs/current/djutils/licenses.html">DJUTILS License</a>.
8 * </p>
9 * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
10 * @author <a href="https://www.tudelft.nl/pknoppers">Peter Knoppers</a>
11 * @param <O> the Oriented type
12 */
13 public interface Oriented3d<O extends Oriented<O>> extends Oriented<O>
14 {
15 /**
16 * Return the rotation around the x-axis in radians.
17 * @return double; the rotation around the x-axis in radians
18 */
19 double getDirX();
20
21 /**
22 * Return the rotation around the y-axis in radians.
23 * @return double; the rotation around the y-axis in radians
24 */
25 double getDirY();
26
27 }