Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/Internals/RectanglesIntegerProjection.cpp @ 1905:e318b524ad3f
use UnionOfRectangles algorithm to render RT-STRUCT
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 31 Jan 2022 18:50:35 +0100 |
parents | 08f2476e8f5e |
children | 07964689cb0b |
comparison
equal
deleted
inserted
replaced
1904:738814c24574 | 1905:e318b524ad3f |
---|---|
56 { | 56 { |
57 return true; | 57 return true; |
58 } | 58 } |
59 else if (value_ == other.value_) | 59 else if (value_ == other.value_) |
60 { | 60 { |
61 return isLow_; | 61 return static_cast<int>(isLow_) < static_cast<int>(other.isLow_); |
62 } | 62 } |
63 else | 63 else |
64 { | 64 { |
65 return false; | 65 return false; |
66 } | 66 } |