TM2IN  0.5.1
halfedge_string.h
Go to the documentation of this file.
1 //
2 // Created by dongmin on 18. 7. 24.
3 //
4 
5 #ifndef TM2IN_HALFEDGE_STRING_H
6 #define TM2IN_HALFEDGE_STRING_H
7 
8 #include <vector>
10 
11 using namespace TM2IN::Wall;
12 
13 namespace TM2IN{
14  namespace detail{
15  namespace HalfEdgeString{
20  void setParent(std::vector<HalfEdge *> edges, Wall::Surface *pSurface);
25  std::vector<Vertex*> getFirstVertexList(std::vector<HalfEdge*> halfEdges);
30  void connectOppositeHalfEdges(std::vector<Wall::Triangle*>& triangleList);
31  }
32  }
33 }
34 #endif //TM2IN_HALFEDGE_STRING_H
Definition: collinear.cpp:10
void setParent(std::vector< HalfEdge * > edges, Wall::Surface *pSurface)
Sets parents of all HalfEdge.
Definition: halfedge_string.cpp:24
void connectOppositeHalfEdges(std::vector< Wall::Triangle * > &triangleList)
Build opposite edge relation in a vector of Triangle.
Definition: halfedge_string.cpp:14
std::vector< Vertex * > getFirstVertexList(std::vector< HalfEdge * > halfEdges)
Returns a list of the start Vertex of each edges.
Definition: halfedge_string.cpp:30
Definition: IndoorComponent.h:21