Package org.djutils.draw.line
Class Ray2dTest
java.lang.Object
org.djutils.draw.line.Ray2dTest
Ray2dTest.java.
Copyright (c) 2021-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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest the result of the getBounds method.voidTest the epsilonEquals method.voidTest the equals and hasCode methods.voidTest the closestPointOnRay and the projectOrthogonal methods.voidTest the various constructors of a Ray2d.voidTest the getLocation and getLocationExtended methods.voidTest the project methods.
-
Constructor Details
-
Ray2dTest
public Ray2dTest()
-
-
Method Details
-
testConstructors
@Test public void testConstructors()Test the various constructors of a Ray2d. -
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.
-