blob: 25ff2d3114f82471fba4f3066e329df958996149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _ADMMPD_MATH_H
#define _ADMMPD_MATH_H
#include <Eigen/Geometry>
namespace admmpd {
namespace barycoords {
Eigen::Vector4d point_tet(
const Eigen::Vector3d &p,
const Eigen::Vector3d &a,
const Eigen::Vector3d &b,
const Eigen::Vector3d &c,
const Eigen::Vector3d &d);
bool point_in_tet(
const Eigen::Vector3d &p,
const Eigen::Vector3d &a,
const Eigen::Vector3d &b,
const Eigen::Vector3d &c,
const Eigen::Vector3d &d);
} // namespace barycoords
} // namespace admmpd
#endif //_ADMMPD_MATH_H
|