Blame view

src/ExternLib/Tetrahedron/planarity/planarity.hh 903 Bytes
73157db7   Benjamin Renard   Add tetrahedron f...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * planarity.hh
 *
 *  Created on: 12 jul. 2022
 *      Author: Alexandre Schulz - BRE
 */

#ifndef PLANARITY_HH_
#define PLANARITY_HH_

#include <vector>

double planarity(const std::vector<float>& p1, const std::vector<float>& p2, const std::vector<float>& p3, const std::vector<float>& p4);

double planarity(const std::vector<double>& p1, const std::vector<double>& p2, const std::vector<double>& p3, const std::vector<double>& p4);

double planarity(const std::vector<long double>& p1, const std::vector<long double>& p2, const std::vector<long double>& p3, const std::vector<long double>& p4);

double planarity(const std::vector<int>& p1, const std::vector<int>& p2, const std::vector<int>& p3, const std::vector<int>& p4);

double planarity(const std::vector<short>& p1, const std::vector<short>& p2, const std::vector<short>& p3, const std::vector<short>& p4);

#endif /* PLANARITY_HH_ */