#include <iostream>
#include <vector>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/geometry/tools/QuickHull.h"
#include "DGtalCatch.h"
Go to the source code of this file.
Functions | |
template<typename Point > | |
std::vector< Point > | randomPointsInBall (int nb, int R) |
SCENARIO ("QuickHull< ConvexHullIntegralKernel< 2 > > unit tests", "[quickhull][integral_kernel][2d]") | |
SCENARIO ("QuickHull< ConvexHullIntegralKernel< 3 > > unit tests", "[quickhull][integral_kernel][3d]") | |
SCENARIO ("QuickHull< ConvexHullIntegralKernel< 4 > > unit tests", "[quickhull][integral_kernel][4d]") | |
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/.
jacqu.nosp@m.es-o.nosp@m.livie.nosp@m.r.la.nosp@m.chaud.nosp@m.@uni.nosp@m.v-sav.nosp@m.oie..nosp@m.fr
) Laboratory of Mathematics (CNRS, UMR 5127), University of Savoie, FranceFunctions for testing class QuickHull.
This file is part of the DGtal library.
Definition in file testQuickHull.cpp.
Definition at line 45 of file testQuickHull.cpp.
References DGtal::R.
Referenced by SCENARIO(), SCENARIO(), and SCENARIO().
SCENARIO | ( | "QuickHull< ConvexHullIntegralKernel< 2 > > unit tests" | , |
"" | [quickhull][integral_kernel][2d] ) |
Definition at line 63 of file testQuickHull.cpp.
References GIVEN(), randomPointsInBall(), and REQUIRE().
SCENARIO | ( | "QuickHull< ConvexHullIntegralKernel< 3 > > unit tests" | , |
"" | [quickhull][integral_kernel][3d] ) |
Definition at line 143 of file testQuickHull.cpp.
References GIVEN(), DGtal::R, randomPointsInBall(), and REQUIRE().
SCENARIO | ( | "QuickHull< ConvexHullIntegralKernel< 4 > > unit tests" | , |
"" | [quickhull][integral_kernel][4d] ) |
Definition at line 195 of file testQuickHull.cpp.
References GIVEN(), DGtal::R, randomPointsInBall(), and REQUIRE().