TM2IN  0.5.1
merge_surfaces.h
Go to the documentation of this file.
1 //
2 // Created by dongmin on 18. 7. 19.
3 //
4 
5 #ifndef TM2IN_MERGE_SURFACES_H
6 #define TM2IN_MERGE_SURFACES_H
7 
9 
10 using namespace std;
11 
12 namespace TM2IN{
13  namespace algorithm{
18  bool mergeSurfaces(TM2IN::RoomBoundary::TriangulatedSurfaceMesh* tsm, double thres1, double thres2);
23  bool mergeSurfaces(vector<Wall::TriangulatedSurface*>& surfaceList, double thres1, double thres2, vector<Wall::TriangulatedSurface*>& newSurfaceList);
28  bool mergeTriangles(vector<Wall::Triangle*>& triangleList, double thres1, double thres2, vector<Wall::TriangulatedSurface*>& newSurfaceList);
34  }
35 }
36 #endif //TM2IN_MERGE_SURFACES_H
bool mergeSurfaces(vector< Wall::TriangulatedSurface * > &surfaceList, double thres1, double thres2, vector< Wall::TriangulatedSurface * > &newSurfaceList)
Merges the list of Surface. Result will be stored in 4th parameter.
Definition: TriangulatedSurfaceMesh.h:19
Definition: collinear.cpp:10
int cleanMergedSurfaces(TriangulatedSurfaceMesh *tsm)
Cleans TM2IN::RoomBoundary::TriangulatedSurfaceMesh after merging.
Definition: merge_surfaces.cpp:26
bool mergeTriangles(vector< Wall::Triangle * > &triangleList, double thres1, double thres2, vector< Wall::TriangulatedSurface * > &newSurfaceList)
Merges the list of Triangle. Result will be stored in 4th parameter.