Package org.djutils.draw.line
Class Polygon2dTest
java.lang.Object
org.djutils.draw.line.Polygon2dTest
Polygon2dTest.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 contains method for a Bounds2d.voidTest the contains method for a Point2D.voidTest the filtering constructors.voidTest the constructors.voidTest the debugging output methods.final voidTest the intersects intersects method.voidTest 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 the constructors. -
filterTest
Test the filtering constructors. -
containsPointTest
Test the contains method for a Point2D. -
containsBoundsTest
Test the contains method for a Bounds2d. -
testIntersects
Test the intersects intersects method. -
testExports
Test the debugging output methods. -
testIssue15
Test issue 15; simple polygon should contain a specified point, but the contains method says it does not.
-