DGtal 1.3.0
|
#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 248 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 345 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 183 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > intersections" | , |
"" | [cell_geometry][3d] | ||
) |
Definition at line 292 of file testCellGeometry.cpp.
References GIVEN(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, and REQUIRE().
SCENARIO | ( | "CellGeometry< Z3 > rational intersections" | ) |
Definition at line 403 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 120 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 208 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().