Mercurial > hg > orthanc-stone
diff Framework/Toolbox/CoordinateSystem3D.h @ 647:6af3099ed8da
uncoupling OrthancStone::SlicesSorter from OrthancStone::Slice
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 13 May 2019 17:03:46 +0200 |
parents | b70e9be013e4 |
children | f7c236894c1a |
line wrap: on
line diff
--- a/Framework/Toolbox/CoordinateSystem3D.h Mon May 13 15:22:08 2019 +0200 +++ b/Framework/Toolbox/CoordinateSystem3D.h Mon May 13 17:03:46 2019 +0200 @@ -102,5 +102,10 @@ bool IntersectLine(Vector& p, const Vector& origin, const Vector& direction) const; + + // Returns "false" is the two planes are not parallel + static bool GetDistance(double& distance, + const CoordinateSystem3D& a, + const CoordinateSystem3D& b); }; }