Here is a class in C++ taking a 3D model (an array of vertices and an array of faces) and a plane and computing the polygon(s) resulting from the intersection of the model and the plane.
To illustrate its use, you can find a program computing the intersection between a plane and a simple model representing a rabbit (453 vertices and 902 faces).
This class is inspired by the tutorial "Clipping a mesh against a plane" written by David Eberly and available on his website www.magic-software.com.
- source code C++
- binary win32