Package org.djutils.draw.point
Class Point2dTest
java.lang.Object
org.djutils.draw.point.Point2dTest
Point2dTest.java.
Copyright (c) 2020-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 circleIntersection method.void
Test the closestPointOnSegment and the closestPointOnLine methods.void
Test the direction method.void
Test the intersectionOfLines method.void
Test the intersectionOfLineSegments method.void
Test the Point2d construction methods.void
Test the Point2d operators.void
Test the Point2d operators for NPE.
-
Constructor Details
-
Point2dTest
public Point2dTest()
-
-
Method Details
-
testPoint2dConstruction
@Test public void testPoint2dConstruction()Test the Point2d construction methods. -
testPoint2dOperators
@Test public void testPoint2dOperators()Test the Point2d operators. -
testPoint2dOperatorsNPE
@Test public void testPoint2dOperatorsNPE()Test the Point2d operators for NPE. -
testIntersectionOfLineSegments
@Test public void testIntersectionOfLineSegments()Test the intersectionOfLineSegments method. -
testIntersectionOfLines
@Test public void testIntersectionOfLines()Test the intersectionOfLines method. -
testClosestPointOnSegmentAndLine
Test the closestPointOnSegment and the closestPointOnLine methods.- Throws:
DrawRuntimeException
- if that happens uncaught; this test has failed
-
circleIntersectionTest
@Test public void circleIntersectionTest()Test the circleIntersection method. -
testDirection
@Test public void testDirection()Test the direction method.
-