32 #include "DGtal/base/Common.h"
33 #include "ConfigTest.h"
34 #include "DGtalCatch.h"
35 #include "DGtal/helpers/StdDefs.h"
36 #include "DGtal/geometry/tools/Hull2DHelpers.h"
37 #include "DGtal/geometry/tools/determinant/InHalfPlaneBySimple3x3Matrix.h"
43 using namespace DGtal;
49 TEST_CASE(
"Testing Rotating Caliper of ConvexHull2D (basic convex hull)" )
69 SECTION(
"Testing computation of horizontal/vertical thickness of ConvexHull2D")
78 SECTION(
"Testing computation of euclidean thickness of ConvexHull2D")
89 TEST_CASE(
"Testing Rotating Caliper of ConvexHull2D (convex hull with floating coordinates)" )
120 SECTION(
"Testing antipodal points of ConvexHull2D")
126 SECTION(
"Testing antipodal points of ConvexHull2D")
140 SECTION(
"Testing same antipodal points after hull reversing ")
Aim: Class that implements an orientation functor, ie. it provides a way to compute the orientation o...
Aim: This class implements the on-line algorithm of Melkman for the computation of the convex hull of...
Aim: Implements basic operations that will be used in Point and Vector classes.
double computeHullThickness(const ForwardIterator &itb, const ForwardIterator &ite, const ThicknessDefinition &def)
Procedure to compute the convex hull thickness given from different definitions (Horizontal/vertical ...
@ HorizontalVerticalThickness
DGtal is the top-level namespace which contains all DGtal functions and types.
TEST_CASE("int container traits", "[int][traits]")
InHalfPlaneBySimple3x3Matrix< Point, DGtal::int64_t > Functor
DGtal::MelkmanConvexHull< Point, Functor > ch
SECTION("Testing computation of horizontal/vertical thickness of ConvexHull2D")
REQUIRE(domain.isInside(aPoint))