Mercurial > hg > orthanc-stone
diff Framework/Toolbox/SliceGeometry.cpp @ 89:f244018a4e4b wasm
BUGGY- trying to remove IVolumeSlicesObserver
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 18:27:59 +0200 |
parents | 298f375dcb68 |
children |
line wrap: on
line diff
--- a/Framework/Toolbox/SliceGeometry.cpp Fri May 26 16:11:52 2017 +0200 +++ b/Framework/Toolbox/SliceGeometry.cpp Fri May 26 18:27:59 2017 +0200 @@ -152,14 +152,4 @@ offsetX = boost::numeric::ublas::inner_prod(axisX_, projection - origin_); offsetY = boost::numeric::ublas::inner_prod(axisY_, projection - origin_); } - - - bool SliceGeometry::IsSamePlane(const SliceGeometry& other, - double sliceThickness) const - { - return (GeometryToolbox::IsParallel(GetNormal(), other.GetNormal()) && - GeometryToolbox::IsNear(ProjectAlongNormal(other.GetOrigin()), - ProjectAlongNormal(GetOrigin()), - sliceThickness / 2.0)); - } }