17 lines
553 B
C++
17 lines
553 B
C++
#include <array>
|
|
#include <vector>
|
|
|
|
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
|
|
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
|
#include <CGAL/IO/polygon_soup_io.h>
|
|
|
|
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
|
|
using Epick = CGAL::Exact_predicates_inexact_constructions_kernel;
|
|
|
|
int main() {
|
|
std::vector<Kernel::Point_3> points;
|
|
std::vector<std::array<std::size_t, 3>> polygons;
|
|
CGAL::IO::write_polygon_soup("xxx.off", points, polygons, CGAL::parameters::stream_precision(17));
|
|
return 0;
|
|
}
|