libigl v2.5.0
Loading...
Searching...
No Matches
signed_angle.h
Go to the documentation of this file.
1#ifndef IGL_SIGNED_ANGLE_H
2#define IGL_SIGNED_ANGLE_H
3#include "igl_inline.h"
4#include <Eigen/Dense>
5namespace igl
6{
13 template <
14 typename DerivedA,
15 typename DerivedB,
16 typename DerivedP>
17 IGL_INLINE typename DerivedA::Scalar signed_angle(
18 const Eigen::MatrixBase<DerivedA> & A,
19 const Eigen::MatrixBase<DerivedB> & B,
20 const Eigen::MatrixBase<DerivedP> & P);
21}
22#ifndef IGL_STATIC_LIBRARY
23# include "signed_angle.cpp"
24#endif
25#endif
26
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
DerivedA::Scalar signed_angle(const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, const Eigen::MatrixBase< DerivedP > &P)
Compute the signed angle subtended by the oriented 3d triangle (A,B,C) at some point P.