DGtal 1.4.0
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtalCatch.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/geometry/tools/Hull2DHelpers.h"
#include "DGtal/geometry/tools/MelkmanConvexHull.h"
#include "DGtal/geometry/tools/determinant/InHalfPlaneBySimple3x3Matrix.h"
Go to the source code of this file.
Typedefs | |
typedef InHalfPlaneBySimple3x3Matrix< Point, double > | Functor |
Functions | |
ch | add (Point(102.2, 50.2)) |
ch | add (Point(101.0, 50.0)) |
ch | add (Point(101.0, 49.1)) |
ch | add (Point(101.2, 48.2)) |
ch | add (Point(100.0, 48.2)) |
ch | add (Point(100.4, 47.4)) |
ch | reverse () |
ch | add (Point(102.2, 51.0)) |
ch | add (Point(102.3, 52.3)) |
ch | add (Point(103.3, 52.3)) |
ch | add (Point(103.2, 53.4)) |
ch | add (Point(104.2, 53.2)) |
ch | add (Point(104.0, 54.2)) |
CAPTURE (thicknessHV) | |
CAPTURE (thicknessE) | |
SECTION ("Testing antipodal points of ConvexHull2D") | |
CAPTURE (thicknessEb) | |
SECTION ("Testing same antipodal points after hull reversing ") | |
Variables | |
DGtal::MelkmanConvexHull< Point, Functor > | ch |
Point | pHV |
Point | qHV |
Point | sHV |
Point | pE |
Point | qE |
Point | sE |
const double | thicknessHV |
const double | thicknessE |
const double | thicknessEb |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class ConvexHull2D.
This file is part of the DGtal library.
Definition in file testConvexHull2DReverse.cpp.
typedef InHalfPlaneBySimple3x3Matrix< Point, double > Functor |
Definition at line 51 of file testConvexHull2DReverse.cpp.
CAPTURE | ( | thicknessE | ) |
CAPTURE | ( | thicknessEb | ) |
CAPTURE | ( | thicknessHV | ) |
Referenced by SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), SCENARIO(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE_METHOD(), testCellularGridSpaceNDCoFaces(), testCellularGridSpaceNDFaces(), testForwardBackwardFFT(), and testSurfelAdjacency().
ch reverse | ( | ) |
SECTION | ( | "Testing antipodal points of ConvexHull2D" | ) |
Definition at line 84 of file testConvexHull2DReverse.cpp.
SECTION | ( | "Testing same antipodal points after hull reversing " | ) |
Definition at line 104 of file testConvexHull2DReverse.cpp.
DGtal::MelkmanConvexHull< Point, Functor > ch |
Point pE |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION().
Point pHV |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION(), and testThicknessDefinitions().
Point qE |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION().
Point qHV |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION(), and testThicknessDefinitions().
Point sE |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION().
Point sHV |
Definition at line 71 of file testConvexHull2DReverse.cpp.
Referenced by SECTION(), and testThicknessDefinitions().
const double thicknessE |
Definition at line 77 of file testConvexHull2DReverse.cpp.
Referenced by testConvexHullCompThickness().
const double thicknessEb |
Definition at line 98 of file testConvexHull2DReverse.cpp.
const double thicknessHV |
Definition at line 73 of file testConvexHull2DReverse.cpp.
Referenced by testConvexHullCompThickness().