CGAL 5.1 - Surface Mesh
Surface_mesh/draw_surface_mesh.cpp
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/draw_surface_mesh.h>
#include <fstream>
typedef Kernel::Point_3 Point;
int main(int argc, char* argv[])
{
Mesh sm1;
std::ifstream in1((argc>1)?argv[1]:"data/elephant.off");
in1 >> sm1;
CGAL::draw(sm1);
return EXIT_SUCCESS;
}
CGAL::draw
void draw(const POLY &apoly)
CGAL::Surface_mesh
Definition: Surface_mesh.h:331
Kernel::Point_3
Kernel
CGAL::Simple_cartesian