Skip to content
Snippets Groups Projects
Unverified Commit 99650f50 authored by blaicheo's avatar blaicheo Committed by GitHub
Browse files

Merge pull request #2 from blacheo/alt_triangulation

init new union
parents 807ba242 69cce454
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,19 @@
#include <intersections.h>
#include <triangulation.h>
std::vector<Triangle> unionize2(const Triangle &t1, const Triangle &t2) {
// if neighbours, do nothing
if (t1.neighbours(t2)) {
return std::vector{t1, t2};
}
// look for points in triangles
// if 0 points in triangles
// check if triangles intersect
// if 1 point in triangle
//
}
std::vector<Triangle> unionize(const Triangle &t1, const Triangle &t2) {
// if neighbours, do nothing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment