类 ConvexHullGenerator2DAbstractTest
java.lang.Object
org.hipparchus.geometry.euclidean.twod.hull.ConvexHullGenerator2DAbstractTest
2D凸包生成器的抽象基础测试类。
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected final voidcheckConvexHull(Collection<Vector2D> points, ConvexHull2D hull) protected final voidcheckConvexHull(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints) protected final voidcheckConvexHull(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints, double tolerance) protected final voidcheckPointsInsideHullRegion(Collection<Vector2D> points, ConvexHull2D hull, boolean includesCollinearPoints) protected abstract ConvexHullGenerator2DcreateConvexHullGenerator(boolean includeCollinearPoints) createRandomPoints(int size) protected final booleanisConvex(ConvexHull2D hull, boolean includesCollinearPoints, double tolerance) protected Collection<Vector2D> reducePoints(Collection<Vector2D> points) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
字段详细资料
-
generator
-
random
-
-
构造器详细资料
-
ConvexHullGenerator2DAbstractTest
public ConvexHullGenerator2DAbstractTest()
-
-
方法详细资料
-
createConvexHullGenerator
-
reducePoints
-
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
-
checkConvexHull
-
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)
-