Package org.djutils.draw.line
Class Ray2dTest
java.lang.Object
org.djutils.draw.line.Ray2dTest
Ray2dTest.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the result of the getBounds method.void
Test the epsilonEquals method.void
Test the equals and hasCode methods.void
Test the closestPointOnRay and the projectOrthogonal methods.void
Test the various constructors of a Ray2d.void
Test the getLocation and getLocationExtended methods.void
Test 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.
-