Revision 8ec61532ff4505cd3fb92f7960e04e0107966840 authored by Sébastien Loriot on 29 December 2016, 12:44:27 UTC, committed by Sébastien Loriot on 29 December 2016, 12:44:27 UTC
1 parent 853d89d
polyhedron2vrml.cpp
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/IO/Polyhedron_VRML_1_ostream.h>
#include <iostream>
typedef CGAL::Simple_cartesian<double> Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
int main() {
Polyhedron P;
std::cin >> P;
CGAL::VRML_1_ostream out( std::cout);
out << P;
return ( std::cin && std::cout) ? 0 : 1;
}
Computing file changes ...