Package org.djutils.draw.point
Class Point2dTest
java.lang.Object
org.djutils.draw.point.Point2dTest
Point2dTest.java.
Copyright (c) 2020-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 circleIntersection method.voidTest the closestPointOnSegment and the closestPointOnLine methods.voidTest the direction method.voidTest the intersectionOfLines method.voidTest the intersectionOfLineSegments method.voidTest the Point2d construction methods.voidTest the Point2d operators.voidTest 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 public void testClosestPointOnSegmentAndLine()Test the closestPointOnSegment and the closestPointOnLine methods. -
circleIntersectionTest
@Test public void circleIntersectionTest()Test the circleIntersection method. -
testDirection
@Test public void testDirection()Test the direction method.
-