File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,27 @@ void Structure::computeOptimalPosition(unsigned int lowViewpoint){
279
279
280
280
}
281
281
282
+ // void Structure::computeOptimalPosition(){
283
+ // Eigen::Vector3d acc(Eigen::Vector3d::Zero());
284
+ // unsigned int count(0);
285
+ //
286
+ // for(unsigned int i(0); i<features.size(); i++){
287
+ // for(unsigned int j(i+1); j<features.size(); j++){
288
+ //
289
+ // acc+=compute_intersection(
290
+ // features[i]->getViewpoint()->getPosition(),
291
+ // features[i]->getModel(),
292
+ // features[j]->getViewpoint()->getPosition(),
293
+ // features[j]->getModel()
294
+ // );
295
+ // count++;
296
+ //
297
+ // }
298
+ // }
299
+ // position=acc/count;
300
+ // optimised=true;
301
+ // }
302
+
282
303
void Structure::computeRadius (unsigned int lowViewpoint){
283
304
284
305
// Feature position in absolute frame
You can’t perform that action at this time.
0 commit comments