Keep the old solve()

This commit is contained in:
Andreas Fabri 2021-03-21 19:35:41 +01:00
parent a522818877
commit a4c57e6f66
1 changed files with 14 additions and 0 deletions

View File

@ -38,6 +38,20 @@ void solve (const VectorC3<R> &v0,
alpha, beta, gamma, denom);
}
template <class R>
void solve (const VectorC3<R> &v0,
const VectorC3<R> &v1,
const VectorC3<R> &v2,
const VectorC3<R> &d,
typename R::FT &alpha, typename R::FT &beta, typename R::FT &gamma)
{
CGAL::solve(v0.x(), v0.y(), v0.z(),
v1.x(), v1.y(), v1.z(),
v2.x(), v2.y(), v2.z(),
d.x(), d.y(), d.z(),
alpha, beta, gamma);
}
} // namespace Cartesian_internal
} //namespace CGAL