|
DGtal 2.2.0
|
#include <iostream>#include <queue>#include "DGtal/base/Common.h"#include "DGtal/helpers/StdDefs.h"#include "DGtal/geometry/volumes/DigitalConvexity.h"Go to the source code of this file.
Functions | |
| template<typename Point> | |
| void | makeRandom (Point &p, int width) |
| template<typename Point> | |
| void | makeRandomRange (std::vector< Point > &X, int nb, int width) |
| template<typename ProjectedPoint, typename Point> | |
| void | project (ProjectedPoint &pp, const Point &p, Dimension a) |
| template<typename ProjectedPoint, typename Point> | |
| void | projectRange (std::vector< ProjectedPoint > &pp, const std::vector< Point > &p, Dimension a) |
| template<typename Space> | |
| bool | checkSkelStarCvxHFullConvexity (int width) |
| template<typename Space> | |
| bool | checkCvxHPlusHypercubeFullConvexity (int width) |
| template<typename Space> | |
| bool | checkProjectionFullConvexity (int width) |
| template<typename Point> | |
| void | displayPointRange2D (const std::vector< Point > &X) |
| template<typename Space> | |
| bool | checkFullConvexityCharacterization (int width) |
| int | main () |
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 checkFullConvexityTheorems
This file is part of the DGtal library.
Definition in file checkFullConvexityTheorems.cpp.
| bool checkCvxHPlusHypercubeFullConvexity | ( | int | width | ) |
Definition at line 134 of file checkFullConvexityTheorems.cpp.
References checkCvxHPlusHypercubeFullConvexity(), DGtal::SpaceND< 3, Integer >::dimension, DGtal::Trace::info(), makeRandomRange(), DGtal::trace, and DGtal::Trace::warning().
Referenced by checkCvxHPlusHypercubeFullConvexity(), and main().
| bool checkFullConvexityCharacterization | ( | int | width | ) |
Definition at line 243 of file checkFullConvexityTheorems.cpp.
References checkFullConvexityCharacterization(), DGtal::SpaceND< 3, Integer >::dimension, displayPointRange2D(), makeRandomRange(), phi(), project(), projectRange(), DGtal::trace, and DGtal::Trace::warning().
Referenced by checkFullConvexityCharacterization(), and main().
| bool checkProjectionFullConvexity | ( | int | width | ) |
Definition at line 180 of file checkFullConvexityTheorems.cpp.
References checkProjectionFullConvexity(), DGtal::SpaceND< 3, Integer >::dimension, makeRandomRange(), phi(), project(), projectRange(), DGtal::trace, and DGtal::Trace::warning().
Referenced by checkProjectionFullConvexity(), and main().
| bool checkSkelStarCvxHFullConvexity | ( | int | width | ) |
Definition at line 94 of file checkFullConvexityTheorems.cpp.
References checkSkelStarCvxHFullConvexity(), DGtal::SpaceND< 3, Integer >::dimension, DGtal::Trace::info(), makeRandomRange(), DGtal::trace, and DGtal::Trace::warning().
Referenced by checkSkelStarCvxHFullConvexity(), and main().
Definition at line 222 of file checkFullConvexityTheorems.cpp.
References displayPointRange2D().
Referenced by checkFullConvexityCharacterization(), and displayPointRange2D().
| int main | ( | void | ) |
Definition at line 298 of file checkFullConvexityTheorems.cpp.
References DGtal::Trace::beginBlock(), checkCvxHPlusHypercubeFullConvexity(), checkFullConvexityCharacterization(), checkProjectionFullConvexity(), checkSkelStarCvxHFullConvexity(), DGtal::Trace::endBlock(), DGtal::Trace::info(), main(), and DGtal::trace.
Definition at line 56 of file checkFullConvexityTheorems.cpp.
References makeRandom().
Referenced by makeRandom(), and makeRandomRange().
Definition at line 63 of file checkFullConvexityTheorems.cpp.
References makeRandom(), and makeRandomRange().
Referenced by checkCvxHPlusHypercubeFullConvexity(), checkFullConvexityCharacterization(), checkProjectionFullConvexity(), checkSkelStarCvxHFullConvexity(), and makeRandomRange().
| void project | ( | ProjectedPoint & | pp, |
| const Point & | p, | ||
| Dimension | a ) |
Definition at line 71 of file checkFullConvexityTheorems.cpp.
References project().
Referenced by checkFullConvexityCharacterization(), checkProjectionFullConvexity(), main(), project(), project(), project(), and projectRange().
| void projectRange | ( | std::vector< ProjectedPoint > & | pp, |
| const std::vector< Point > & | p, | ||
| Dimension | a ) |
Definition at line 79 of file checkFullConvexityTheorems.cpp.
References project(), and projectRange().
Referenced by checkFullConvexityCharacterization(), checkProjectionFullConvexity(), and projectRange().