Add place_pwlin for morphology geometry queries. (#1062)
* Add new `isometry` class representing a direct Euclidean isometry comprising a rotation and translation. Translations are always taken with respect to absolute coordinates, but rotations are composed with respect to intrinsic coordinates. * Add new `place_pwlin` class, that takes a morphology and an isometry, and answers location queries: where in space does a particular `mlocation` lie? * Split out (some of) the common code between `place_pwlin` and `embed_pwlin`. * Add equality operator to `mpoint`. This functionality is added to aid the presentation of the local field potential example.
Showing
- arbor/CMakeLists.txt 1 addition, 0 deletionsarbor/CMakeLists.txt
- arbor/include/arbor/morph/place_pwlin.hpp 82 additions, 0 deletionsarbor/include/arbor/morph/place_pwlin.hpp
- arbor/include/arbor/morph/primitives.hpp 6 additions, 0 deletionsarbor/include/arbor/morph/primitives.hpp
- arbor/morph/embed_pwlin.cpp 1 addition, 21 deletionsarbor/morph/embed_pwlin.cpp
- arbor/morph/place_pwlin.cpp 144 additions, 0 deletionsarbor/morph/place_pwlin.cpp
- arbor/morph/pwlin_common.hpp 38 additions, 0 deletionsarbor/morph/pwlin_common.hpp
- test/unit/CMakeLists.txt 1 addition, 0 deletionstest/unit/CMakeLists.txt
- test/unit/test_morph_place.cpp 293 additions, 0 deletionstest/unit/test_morph_place.cpp
Please register or sign in to comment