Functions

testHyperRectDomain.cpp File Reference

#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
Include dependency graph for testHyperRectDomain.cpp:

Functions

bool testSimpleHyperRectDomain ()
bool testIterator ()
bool testReverseIterator ()
bool testSTLCompat ()
int main ()

Detailed Description

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/>.

Author:
David Coeurjolly (david.coeurjolly@liris.cnrs.fr )
Guillaume Damiand (guillaume.damiand@liris.cnrs.fr )
Date:
2010/05/25

This file is part of the DGtal library


Function Documentation

int main (  ) 
bool testIterator (  ) 
bool testReverseIterator (  ) 
bool testSimpleHyperRectDomain (  ) 

Simple test of HyperRectDomain construction.

Empty domain using the default constructor

Domain characterized by points a and b

References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::HyperRectDomain< TSpace >::extent(), DGtal::Trace::info(), DGtal::HyperRectDomain< TSpace >::isValid(), and DGtal::trace.

Referenced by main().

bool testSTLCompat (  )