Skip to content
Snippets Groups Projects
Commit 9db5acd4 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MaL] Rm sqrDist that takes double pointer args.

parent 14dbcc9b
No related branches found
No related tags found
No related merge requests found
......@@ -81,14 +81,6 @@ double calcProjPntToLineAndDists(MathLib::Point3d const& pp,
MathLib::Point3d const& pb, double& lambda,
double& d0);
/** squared dist between double arrays p0 and p1 (size of arrays is 3) */
inline
double sqrDist(const double* p0, const double* p1)
{
const double v[3] = {p1[0] - p0[0], p1[1] - p0[1], p1[2] - p0[2]};
return scalarProduct<double,3>(v,v);
}
/**
* Let \f$p_0, p_1, p_2 \in R^3\f$. The function getAngle
* computes the angle between the edges \f$(p_0,p_1)\f$ and \f$(p_1,p_2)\f$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment