Use a list instead of a vector inside intersection tests.
The lists are small so traversal time is not an issue but it is quicker to push back to a list. Refs #10169
Showing
- Code/Mantid/Framework/Geometry/inc/MantidGeometry/Surfaces/Line.h 5 additions, 5 deletions...tid/Framework/Geometry/inc/MantidGeometry/Surfaces/Line.h
- Code/Mantid/Framework/Geometry/inc/MantidGeometry/Surfaces/LineIntersectVisit.h 6 additions, 6 deletions...Geometry/inc/MantidGeometry/Surfaces/LineIntersectVisit.h
- Code/Mantid/Framework/Geometry/src/Objects/Object.cpp 8 additions, 6 deletionsCode/Mantid/Framework/Geometry/src/Objects/Object.cpp
- Code/Mantid/Framework/Geometry/src/Surfaces/Line.cpp 6 additions, 6 deletionsCode/Mantid/Framework/Geometry/src/Surfaces/Line.cpp
- Code/Mantid/Framework/Geometry/test/LineIntersectVisitTest.h 15 additions, 24 deletionsCode/Mantid/Framework/Geometry/test/LineIntersectVisitTest.h
- Code/Mantid/Framework/Geometry/test/LineTest.h 19 additions, 19 deletionsCode/Mantid/Framework/Geometry/test/LineTest.h
Loading
Please register or sign in to comment