Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomStructureSet.cpp @ 516:11fa6f00e33c bgo-commands-codegen
Dummy changes (warnings, dummy dtor to check proper deletion, line wrapping) +
fixes for AM changes (Corner renamed to ControlPoint...)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 12 Mar 2019 08:51:15 +0100 |
parents | b70e9be013e4 |
children | 8e31b174ab26 |
comparison
equal
deleted
inserted
replaced
515:1dbf2d9ed1e4 | 516:11fa6f00e33c |
---|---|
752 polygon != structure.polygons_.end(); ++polygon) | 752 polygon != structure.polygons_.end(); ++polygon) |
753 { | 753 { |
754 double x1, y1, x2, y2; | 754 double x1, y1, x2, y2; |
755 if (polygon->Project(x1, y1, x2, y2, slice)) | 755 if (polygon->Project(x1, y1, x2, y2, slice)) |
756 { | 756 { |
757 projected.push_back(CreateRectangle(x1, y1, x2, y2)); | 757 projected.push_back(CreateRectangle( |
758 static_cast<float>(x1), | |
759 static_cast<float>(y1), | |
760 static_cast<float>(x2), | |
761 static_cast<float>(y2))); | |
758 } | 762 } |
759 } | 763 } |
760 | 764 |
761 BoostMultiPolygon merged; | 765 BoostMultiPolygon merged; |
762 Union(merged, projected); | 766 Union(merged, projected); |