Add angle(Point_3, Point_3,Point_3,Vector_3)

This commit is contained in:
Andreas Fabri
2017-05-12 09:48:23 +02:00
committed by Sébastien Loriot
parent 061a9b1ecd
commit 5f8bc52082
7 changed files with 63 additions and 1 deletions
@@ -96,6 +96,13 @@ namespace CartesianKernelFunctors {
r.x(), r.y(), r.z(),
s.x(), s.y(), s.z());
}
result_type
operator()(const Point_3& p, const Point_3& q,
const Point_3& r, const Vector_3& n) const
{
return enum_cast<Angle>(orientation(p,q,r,r+n));
}
};
template <typename K>