TM2IN  0.5.1
plane.h
Go to the documentation of this file.
1 //
2 // Created by dongmin on 18. 7. 19.
3 //
4 
5 #ifndef TM2IN_PCA_H
6 #define TM2IN_PCA_H
7 
8 #include <vector>
9 
11 #include "detail/cgal_config.h"
12 
13 namespace TM2IN {
14  namespace detail {
15  namespace cgal {
20  Plane_3 make_PCA_plane(std::vector<Vertex *> vertices, Vector_3 normal);
29  std::vector<Point_2> project_to_plane(std::vector<Vertex*> vertexList, Plane_3 plane);
30  }
31  }
32 }
33 
34 #endif //TM2IN_PCA_H
Plane_3 make_simple_plane(Vector_3 pNormal)
Definition: plane.cpp:29
Kernel::Vector_3 Vector_3
Definition: cgal_config.h:42
Definition: collinear.cpp:10
Plane_3 make_PCA_plane(std::vector< Vertex * > vertices, Vector_3 normal)
Creates PCA plane with Vertex and normal vector.
Definition: plane.cpp:12
Kernel::Plane_3 Plane_3
Definition: cgal_config.h:44
std::vector< Point_2 > project_to_plane(std::vector< Vertex * > vertexList, Plane_3 plane)
Projects Vertex list to plane and returns a vector of Kernel::Point_2.
Definition: plane.cpp:37