Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/LinearAlgebra.cpp @ 1170:1644de437a7b broker
fixes related to swapped normal in sagittal geometry
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Nov 2019 13:09:15 +0100 |
parents | ad4e21df4e40 |
children | b1c5da789904 |
comparison
equal
deleted
inserted
replaced
1167:ad4e21df4e40 | 1170:1644de437a7b |
---|---|
20 | 20 |
21 | 21 |
22 #include "LinearAlgebra.h" | 22 #include "LinearAlgebra.h" |
23 | 23 |
24 #include "../StoneException.h" | 24 #include "../StoneException.h" |
25 #include "GenericToolbox.h" | |
25 | 26 |
26 #include <Core/Logging.h> | 27 #include <Core/Logging.h> |
27 #include <Core/OrthancException.h> | 28 #include <Core/OrthancException.h> |
28 #include <Core/Toolbox.h> | 29 #include <Core/Toolbox.h> |
29 | 30 |
121 end != items[i].c_str() + items[i].size()) | 122 end != items[i].c_str() + items[i].size()) |
122 { | 123 { |
123 return false; | 124 return false; |
124 } | 125 } |
125 | 126 |
127 #elif 1 | |
128 if (!GenericToolbox::StringToDouble(target[i], items[i].c_str())) | |
129 { | |
130 return false; | |
131 } | |
132 | |
126 #else | 133 #else |
127 /** | 134 /** |
128 * Fallback implementation using Boost (slower, but somewhat | 135 * Fallback implementation using Boost (slower, but somewhat |
129 * independent to locale). | 136 * independent to locale). |
130 **/ | 137 **/ |