Class Polygon2dTest

java.lang.Object
org.djutils.draw.line.Polygon2dTest

public class Polygon2dTest extends Object
Polygon2dTest.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

    • Polygon2dTest

      public Polygon2dTest()
  • Method Details

    • testConstructors

      @Test public void testConstructors()
      Test the constructors.
    • filterTest

      @Test public void filterTest()
      Test the filtering constructors.
    • containsPointTest

      @Test public void containsPointTest()
      Test the contains method for a Point2D.
    • containsBoundsTest

      @Test public void containsBoundsTest()
      Test the contains method for a Bounds2d.
    • testIntersects

      @Test public final void testIntersects()
      Test the intersects intersects method.
    • testExports

      @Test public void testExports()
      Test the debugging output methods.
    • testIssue15

      @Test public void testIssue15()
      Test issue 15; simple polygon should contain a specified point, but the contains method says it does not.