#include <CGAL/Generalized_map.h>
#include <iostream>
#include <cstdlib>
#include <cassert>
typedef GMap_4::Dart_descriptor Dart_descriptor;
int main()
{
GMap_4 gm;
Dart_descriptor d1 = gm.make_combinatorial_tetrahedron();
Dart_descriptor d2 = gm.make_combinatorial_tetrahedron();
assert(gm.is_valid());
gm.sew<4>(d1,d2);
gm.display_characteristics(std::cout);
std::cout<<", valid="<<gm.is_valid()<<std::endl;
return EXIT_SUCCESS;
}
The class Generalized_map represents a dD generalized map.
Definition: Generalized_map.h:40