TM2IN  0.5.1
triangle.h
Go to the documentation of this file.
1 //
2 // Created by dongmin on 18. 7. 24.
3 //
4 #ifndef TM2IN_TRIANGLE_H
5 #define TM2IN_TRIANGLE_H
6 
7 #include "detail/cgal_config.h"
8 #include "features/Vertex.h"
9 
10 namespace TM2IN {
11  namespace cgal{
21  double triangle_area(Vertex *va, Vertex *vb, Vertex *vc);
26  double triangle_area(Point_3 &p1, Point_3 &p2, Point_3 &p3);
27  }
28 }
29 
30 #endif //TM2IN_TRIANGLE_H
Kernel::Point_3 Point_3
Definition: cgal_config.h:41
Kernel::Vector_3 Vector_3
Definition: cgal_config.h:42
Definition: collinear.cpp:10
Vector_3 triangle_normal(TM2IN::Vertex *va, TM2IN::Vertex *vb, TM2IN::Vertex *vc)
Returns normal vector of triangle.
Definition: triangle.cpp:23
Vertex imply one coordinate in 3-D indoor space.
Definition: Vertex.h:15
double triangle_area(Vertex *va, Vertex *vb, Vertex *vc)
Returns the area of triangle.
Definition: triangle.cpp:11