Package org.djutils.draw.line
Class Polygon2dTest
java.lang.Object
org.djutils.draw.line.Polygon2dTest
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the contains method for a Bounds2d.void
Test the contains method for a Point2D.void
Test the filtering constructors.void
Test the constructors.void
Test the debugging output methods.final void
Test the intersects intersects method.void
Test issue 15; simple polygon should contain a specified point, but the contains method says it does not.
-
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.
-