comparison Framework/Toolbox/SlicesSorter.cpp @ 110:53025eecbc95 wasm

renamed SliceGeometry as CoordinateSystem3D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Jun 2017 15:50:38 +0200
parents f5f54ed8d307
children 2eca030792aa
comparison
equal deleted inserted replaced
109:53bd9277b025 110:53025eecbc95
193 return found; 193 return found;
194 } 194 }
195 195
196 196
197 bool SlicesSorter::LookupSlice(size_t& index, 197 bool SlicesSorter::LookupSlice(size_t& index,
198 const SliceGeometry& slice) const 198 const CoordinateSystem3D& slice) const
199 { 199 {
200 // TODO Turn this linear-time lookup into a log-time lookup, 200 // TODO Turn this linear-time lookup into a log-time lookup,
201 // keeping track of whether the slices are sorted along the normal 201 // keeping track of whether the slices are sorted along the normal
202 202
203 for (size_t i = 0; i < slices_.size(); i++) 203 for (size_t i = 0; i < slices_.size(); i++)