[GIS] Addition and Subtraction of two TINs

tin

I am referring to the paper here, section 2.6.1.

Is there an existing library ( in C++ or .Net) that already has this implemented? Namely, taking two Triangulated Irregular Network (TIN), we create a new TIN by adding or subtracting the two.

Edit: I afraid applying polygon boolean operation between each triangle in one TIN against all the triangles in other TIN is not efficient; from what I know there ought to be efficient algorithm that computes polygon overlay operation; it is this kind of library that I'm looking for.

Best Answer

Constrained triangulation or boolean operation code should work. Promising places to start looking include

Michael Leonov's guide to 2D boolean operations. This is exactly what you're looking for, but it's a little old. Leonov sells a .Net library, Polyboolean.

CGAL's 2D Triangulation

MathTools.net guide to computational geometry algorithms

Google's computational geometry software directory

"Computational Geometry Software Libraries"

Related Question