## Initial rework/clean-up After #36, it is time to clean the algorithm a bit. Some issues: - [x] Inconsistent descriptions, non-transparent naming choices. - [x] Unnecessary copies - use refs when possible. - [x] Avoid raw ptrs if possible. - [x] Sanity/safety checks in init and doDetection are missing. Addressed in #47 to #53. ## Use of `Operation` classes in `InsertionAlgorithm` - [x] Use operations for geometric checks to include proximities instead of explicit dynamic casts at the top-level algorithm - [x] Use operations to decide based on geometric criteria whether the needle is retracting or not
Initial rework/clean-up
After #36, it is time to clean the algorithm a bit. Some issues:
Addressed in #47 to #53.
Use of
Operationclasses inInsertionAlgorithm