Package org.djutils.draw
Interface Directed
- All Known Subinterfaces:
Directed3d
,Oriented3d
,Ray<R,
D, P>
- All Known Implementing Classes:
DirectedPoint2d
,DirectedPoint3d
,OrientedPoint3d
,Ray2d
,Ray3d
public interface Directed
Directed is the interface to specify a Direction in the XY-plane (a vector without a length, pointing in a direction). This
is not the direction of the object as seen from the origin (0,0,0).
Copyright (c) 2020-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
-
Method Details
-
getDirZ
double getDirZ()Retrieve the angle from the positive x-axis. Positive rotates towards the positive y-axis (and beyond).- Returns:
- the angle from the positive x-axis
-