DGtal
0.9.3
|
#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/PointVector.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/base/CConstBidirectionalRange.h"
Go to the source code of this file.
Functions | |
bool | testSimpleHyperRectDomain () |
bool | testIterator () |
bool | testReverseIterator () |
bool | testSTLCompat () |
bool | testEmptyDomain () |
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/.
This file is part of the DGtal library
Definition in file testHyperRectDomain.cpp.
int main | ( | ) |
Definition at line 360 of file testHyperRectDomain.cpp.
References testEmptyDomain(), testIterator(), testReverseIterator(), testSimpleHyperRectDomain(), and testSTLCompat().
bool testEmptyDomain | ( | ) |
Definition at line 288 of file testHyperRectDomain.cpp.
References DGtal::Trace::beginBlock(), domain(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.
Referenced by main().
bool testIterator | ( | ) |
Definition at line 102 of file testHyperRectDomain.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), DGtal::HyperRectDomain< TSpace >::rbegin(), DGtal::HyperRectDomain< TSpace >::rend(), DGtal::HyperRectDomain< TSpace >::subRange(), DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
bool testReverseIterator | ( | ) |
Definition at line 228 of file testHyperRectDomain.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::endBlock(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), and DGtal::trace.
Referenced by main().
bool testSimpleHyperRectDomain | ( | ) |
Simple test of HyperRectDomain construction.
Empty domain using the default constructor
Domain characterized by points a and b
Definition at line 53 of file testHyperRectDomain.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), DGtal::HyperRectDomain< TSpace >::size(), and DGtal::trace.
Referenced by main().
bool testSTLCompat | ( | ) |
Definition at line 264 of file testHyperRectDomain.cpp.
References DGtal::HyperRectDomain< TSpace >::begin(), DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::HyperRectDomain< TSpace >::end(), DGtal::Trace::endBlock(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), and DGtal::trace.
Referenced by main().