planarity.hh 903 Bytes
/**
 * 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_ */