DGtal 1.4.0
|
#include <cstdlib>
#include <iostream>
#include <chrono>
#include "DGtal/base/Common.h"
#include "DGtal/geometry/tools/QuickHull.h"
Go to the source code of this file.
Functions | |
template<typename Point > | |
std::vector< Point > | randomPointsInBall (int nb, double R) |
template<typename Point > | |
std::vector< Point > | randomPointsInBallBigInteger (int nb, double R) |
template<DGtal::Dimension dim, typename Integer > | |
bool | checkQuickHull (int nb, double R) |
template<DGtal::Dimension dim> | |
bool | checkQuickHullBigInteger (int nb, double R) |
int | main (int argc, char *argv[]) |
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/.
An example file named checkLatticeBallQuickHull.
This file is part of the DGtal library.
Definition in file checkLatticeBallQuickHull.cpp.
bool checkQuickHull | ( | int | nb, |
double | R ) |
Definition at line 104 of file checkLatticeBallQuickHull.cpp.
References randomPointsInBall().
Referenced by main().
bool checkQuickHullBigInteger | ( | int | nb, |
double | R ) |
Definition at line 137 of file checkLatticeBallQuickHull.cpp.
References randomPointsInBallBigInteger().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 168 of file checkLatticeBallQuickHull.cpp.
References checkQuickHull(), checkQuickHullBigInteger(), dim, DGtal::Trace::error(), and DGtal::trace.
Definition at line 69 of file checkLatticeBallQuickHull.cpp.
Referenced by checkQuickHull().
Definition at line 86 of file checkLatticeBallQuickHull.cpp.
Referenced by checkQuickHullBigInteger().