Class Ray3dTest

java.lang.Object
org.djutils.draw.line.Ray3dTest

public class Ray3dTest extends Object
Ray3dTest.java.

Copyright (c) 2021-2024 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
  • Constructor Details

    • Ray3dTest

      public Ray3dTest()
  • Method Details

    • testConstructors

      @Test public void testConstructors()
      Test the various constructors of a Ray3d.
    • boundsTest

      @Test public void boundsTest()
      Test the result of the getBounds method.
    • testLocation

      @Test public void testLocation()
      Test the getLocation and getLocationExtended methods.
    • testClosestPointAndProjectOrthogonal

      @Test public void testClosestPointAndProjectOrthogonal()
      Test the closestPointOnRay and the projectOrthogonal methods.
    • testProject

      @Test public void testProject()
      Test the project methods.
    • epsilonEqualsTest

      @Test public void epsilonEqualsTest()
      Test the epsilonEquals method.
    • equalsAndHashCodeTest

      @Test public void equalsAndHashCodeTest()
      Test the equals and hasCode methods.