Combine two orientation tests in one with only the third point being different

This commit is contained in:
Andreas Fabri
2026-05-07 18:52:39 +01:00
parent 2e165ee808
commit 3076b2850f
9 changed files with 242 additions and 4 deletions
@@ -4122,6 +4122,17 @@ namespace CartesianKernelFunctors {
typedef typename K::Sphere_3 Sphere_3;
public:
std::pair<Orientation, Orientation>
operator()( const Point_3& p, const Point_3& q,
const Point_3& r, const Point_3& s, const Point_3& t) const
{
return orientationsC3(p.x(), p.y(), p.z(),
q.x(), q.y(), q.z(),
r.x(), r.y(), r.z(),
s.x(), s.y(), s.z(),
t.x(), t.y(), t.z());
}
Orientation
operator()( const Point_3& p, const Point_3& q,
const Point_3& r, const Point_3& s) const