Class Point2dTest

java.lang.Object
org.djutils.draw.point.Point2dTest

public class Point2dTest extends Object
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 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() throws DrawRuntimeException
      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.