CGAL 5.1 - 3D Minkowski Sum of Polyhedra
Minkowski_sum_3/cube_offset.cpp
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
#include <CGAL/minkowski_sum_3.h>
#include <fstream>
#include <iostream>
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;
int main() {
Nef_polyhedron N0, N1;
std::ifstream in("cube.nef3");
in >> N0;
std::cin >> N1;
Nef_polyhedron result = CGAL::minkowski_sum_3(N0, N1);
}