DGtal
1.5.beta
|
#include <iostream>
#include <vector>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/topology/KhalimskySpaceND.h"
#include "DGtal/geometry/volumes/CellGeometry.h"
#include "DGtal/geometry/volumes/DigitalConvexity.h"
#include "DGtalCatch.h"
Go to the source code of this file.
Functions | |
SCENARIO ("CellGeometry< Z2 > segment tests", "[cell_geometry][2d][segment]") | |
SCENARIO ("CellGeometry< Z3 > segment tests", "[cell_geometry][3d][segment]") | |
SCENARIO ("CellGeometry< Z2 > unit tests", "[cell_geometry][2d]") | |
SCENARIO ("CellGeometry< Z3 > unit tests", "[cell_geometry][3d]") | |
SCENARIO ("CellGeometry< Z2 > intersections", "[cell_geometry][2d]") | |
SCENARIO ("CellGeometry< Z3 > intersections", "[cell_geometry][3d]") | |
SCENARIO ("CellGeometry< Z2 > rational intersections", "[cell_geometry][2d][rational]") | |
SCENARIO ("CellGeometry< Z3 > rational intersections", "[cell_geometry][3d]{rational]") | |
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 CellGeometry.
This file is part of the DGtal library.
Definition in file testCellGeometry.cpp.
SCENARIO | ( | "CellGeometry< Z2 > intersections" | , |
"" | [cell_geometry][2d] | ||
) |
Definition at line 238 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z2 > rational intersections" | , |
"" | [cell_geometry][2d][rational] | ||
) |
Definition at line 331 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z2 > segment tests" | , |
"" | [cell_geometry][2d][segment] | ||
) |
Definition at line 50 of file testCellGeometry.cpp.
References CAPTURE(), DGtal::BoundedLatticePolytope< TSpace >::getKPoints(), GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, DGtal::DigitalConvexity< TKSpace >::makeSimplex(), and REQUIRE().
SCENARIO | ( | "CellGeometry< Z2 > unit tests" | , |
"" | [cell_geometry][2d] | ||
) |
Definition at line 177 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > intersections" | , |
"" | [cell_geometry][3d] | ||
) |
Definition at line 280 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > rational intersections" | ) |
Definition at line 387 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > segment tests" | , |
"" | [cell_geometry][3d][segment] | ||
) |
Definition at line 117 of file testCellGeometry.cpp.
References CAPTURE(), DGtal::BoundedLatticePolytope< TSpace >::getKPoints(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, DGtal::DigitalConvexity< TKSpace >::makeSimplex(), and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > unit tests" | , |
"" | [cell_geometry][3d] | ||
) |
Definition at line 200 of file testCellGeometry.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::HyperRectDomain< TSpace >::end(), GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, REQUIRE(), and DGtal::HyperRectDomain< TSpace >::size().