Interface Directed2d<D extends Directed<D>>

Type Parameters:
D - the Directed type
All Superinterfaces:
Directed<D>
All Known Implementing Classes:
DirectedPoint2d, Ray2d

public interface Directed2d<D extends Directed<D>> extends Directed<D>
Directed2d.java.

Copyright (c) 2023-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.

Author:
Alexander Verbraeck, Peter Knoppers
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Retrieve the angle from the positive x-axis.

    Methods inherited from interface org.djutils.draw.Directed

    epsilonEquals, neg
  • Method Details

    • getDirZ

      double getDirZ()
      Retrieve the angle from the positive x-axis. Positive rotates towards the positive y-axis (and beyond).
      Returns:
      double; dirZ