VCG Library
trimesh_intersection_plane.cpp File Reference

An example of computing the intersection of a mesh with a plane, saving this polyline as a well projected 2D SVG and splicing the mesh in the two components below and over the plane. More...

#include <vcg/complex/complex.h>
#include <vcg/complex/algorithms/clean.h>
#include <vcg/complex/algorithms/intersection.h>
#include <vcg/complex/algorithms/refine.h>
#include <vcg/complex/algorithms/create/platonic.h>
#include <wrap/io_edgemesh/export_svg.h>
#include <wrap/io_edgemesh/export_dxf.h>
#include <wrap/io_trimesh/export_off.h>

Go to the source code of this file.

Detailed Description

An example of computing the intersection of a mesh with a plane, saving this polyline as a well projected 2D SVG and splicing the mesh in the two components below and over the plane.

Definition in file trimesh_intersection_plane.cpp.