CGAL 6.1.2 - 3D Minkowski Sum of Polyhedra

Loading...
Searching...
No Matches
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::Exact_predicates_exact_constructions_kernel Kernel;
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);
}
CGAL::Exact_predicates_exact_constructions_kernel
CGAL::Nef_polyhedron_3
CGAL::minkowski_sum_3
Nef_polyhedron_3 minkowski_sum_3(Nef_polyhedron_3 &N0, Nef_polyhedron_3 &N1)
The function minkowski_sum_3() computes the Minkowski sum of two given 3D Nef polyhedra and .
Definition: minkowski_sum_3.h:65
Kernel