|
DGtal 2.1.0
|
#include <iostream>#include <vector>#include <random>#include "DGtal/base/Common.h"#include "DGtal/geometry/tools/AffineGeometry.h"#include "ConfigExamples.h"Go to the source code of this file.
Functions | |
| std::mt19937 | g (rd()) |
| template<typename Point > | |
| std::vector< Point > | makeRandomLatticePointsFromDirVectors (int nb, const std::vector< Point > &V) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &out, const std::vector< T > &object) |
| template<typename Point > | |
| bool | checkAffineGeometry (int nb, const std::vector< Point > &V) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::random_device | rd |
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 exampleAffineGeometry.
This file is part of the DGtal library.
Definition in file exampleAffineGeometry.cpp.
Definition at line 109 of file exampleAffineGeometry.cpp.
References DGtal::functions::computeAffineDimension(), DGtal::functions::computeAffineSubset(), DGtal::functions::computeIndependentVector(), DGtal::functions::computeOrthogonalVectorToBasis(), DGtal::functions::computeSimplifiedVector(), DGtal::functions::getAffineBasis(), and makeRandomLatticePointsFromDirVectors().
Referenced by main().
| std::mt19937 g | ( | rd() | ) |
Referenced by makeRandomLatticePointsFromDirVectors().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 136 of file exampleAffineGeometry.cpp.
References checkAffineGeometry(), and dim.
| std::vector< Point > makeRandomLatticePointsFromDirVectors | ( | int | nb, |
| const std::vector< Point > & | V | ||
| ) |
Definition at line 74 of file exampleAffineGeometry.cpp.
References g().
Referenced by checkAffineGeometry().
| std::ostream & operator<< | ( | std::ostream & | out, |
| const std::vector< T > & | object | ||
| ) |
Definition at line 99 of file exampleAffineGeometry.cpp.
| std::random_device rd |
Definition at line 69 of file exampleAffineGeometry.cpp.