Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomStructurePolygon2.cpp @ 1463:182bf3106ee2
dos2unix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jun 2020 07:19:31 +0200 |
parents | 2d8ab34c8c91 |
children |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructurePolygon2.cpp Fri Jun 12 07:18:07 2020 +0200 +++ b/Framework/Toolbox/DicomStructurePolygon2.cpp Fri Jun 12 07:19:31 2020 +0200 @@ -185,10 +185,10 @@ // alpha = (v2-planeV)/(v2-v1) // because the following two triangles are similar // [ (planeY,x) , (y2,x2), (planeY,x2) ] or - // [ (planeX,y) , (x2,y2), (planeX,y2) ] + // [ (planeX,y) , (x2,y2), (planeX,y2) ] // and // [ (y1 ,x1) , (y2,x2), (y1 ,x2) ] or - // [ (x1 ,y1) , (x2,y2), (x1 ,y2) ] + // [ (x1 ,y1) , (x2,y2), (x1 ,y2) ] /* void CoordinateSystem3D::ProjectPoint(double& offsetX, @@ -218,7 +218,7 @@ // we consider that the x axis is always parallel to the polygons // TODO: is this hypothesis safe?????? - uIntersections.insert(std::lower_bound(uIntersections.begin(), uIntersections.end(), xi), xi); + uIntersections.insert(std::lower_bound(uIntersections.begin(), uIntersections.end(), xi), xi); } } }