类 ConvexHullGenerator2DAbstractTest

java.lang.Object
org.hipparchus.geometry.euclidean.twod.hull.ConvexHullGenerator2DAbstractTest
直接已知子类:
AklToussaintHeuristicTest, MonotoneChainTest

public abstract class ConvexHullGenerator2DAbstractTest extends Object
2D凸包生成器的抽象基础测试类。
  • 字段详细资料

  • 构造器详细资料

    • ConvexHullGenerator2DAbstractTest

      public ConvexHullGenerator2DAbstractTest()
  • 方法详细资料

    • createConvexHullGenerator

      protected abstract ConvexHullGenerator2D createConvexHullGenerator(boolean includeCollinearPoints)
    • reducePoints

      protected Collection<Vector2D> reducePoints(Collection<Vector2D> points)
    • setUp

      public void setUp()
    • testNullArgument

      public void testNullArgument()
    • testEmpty

      public void testEmpty()
    • testOnePoint

      public void testOnePoint()
    • testTwoPoints

      public void testTwoPoints()
    • testAllIdentical

      public void testAllIdentical()
    • testConvexHull

      public void testConvexHull()
    • testCollinearPoints

      public void testCollinearPoints()
    • testCollinearPointsReverse

      public void testCollinearPointsReverse()
    • testCollinearPointsIncluded

      public void testCollinearPointsIncluded()
    • testCollinearPointsIncludedReverse

      public void testCollinearPointsIncludedReverse()
    • testIdenticalPoints

      public void testIdenticalPoints()
    • testIdenticalPoints2

      public void testIdenticalPoints2()
    • testClosePoints

      public void testClosePoints()
    • testCollinearPointOnExistingBoundary

      public void testCollinearPointOnExistingBoundary()
    • testCollinearPointsInAnyOrder

      public void testCollinearPointsInAnyOrder()
    • testIssue1123

      public void testIssue1123()
    • createRandomPoints

      protected final List<Vector2D> createRandomPoints(int size)
    • checkConvexHull

      protected final void checkConvexHull(Collection<Vector2D> points, ConvexHull2D hull)
    • checkConvexHull

      protected final void checkConvexHull(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints)
    • checkConvexHull

      protected final void checkConvexHull(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints, double tolerance)
    • isConvex

      protected final boolean isConvex(ConvexHull2D hull, boolean includesCollinearPoints, double tolerance)
    • checkPointsInsideHullRegion

      protected final void checkPointsInsideHullRegion(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints)