comparison Framework/Toolbox/GeometryToolbox.h @ 122:e3433dabfb8d wasm

refactoring DicomStructureSet
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Oct 2017 17:25:08 +0200
parents a4d0b6c82b29
children e2fe9352f240
comparison
equal deleted inserted replaced
121:e66b2c757790 122:e3433dabfb8d
110 const double& ymax); 110 const double& ymax);
111 111
112 void GetPixelSpacing(double& spacingX, 112 void GetPixelSpacing(double& spacingX,
113 double& spacingY, 113 double& spacingY,
114 const Orthanc::DicomMap& dicom); 114 const Orthanc::DicomMap& dicom);
115
116 inline double ProjectAlongNormal(const Vector& point,
117 const Vector& normal)
118 {
119 return boost::numeric::ublas::inner_prod(point, normal);
120 }
115 }; 121 };
116 } 122 }