|
Celeritas 0.7+cf8d83d
|
Apply a translation (no rotation). More...
#include <Translation.hh>
Type aliases | |
| using | StorageSpan = LdgSpan< real_type const, 3 > |
| Transform type identifier. | |
| static constexpr TransformType | transform_type () |
| Transform type identifier. | |
| Translation () | |
| Construct with an identity translation. | |
| Translation (Real3 const &trans) | |
| Construct with the translation vector. | |
| Translation (StorageSpan s) | |
| Construct inline from storage. | |
| Real3 const & | translation () const |
| Translation vector. | |
| StorageSpan | data () const |
| Get a view to the data for type-deleted storage. | |
| Real3 | transform_up (Real3 const &pos) const |
| Transform from daughter to parent. | |
| Real3 | transform_down (Real3 const &parent_pos) const |
| Transform from parent to daughter. | |
| Real3 const & | rotate_up (Real3 const &d) const |
| Rotate from daughter to parent (identity). | |
| Real3 const & | rotate_down (Real3 const &d) const |
| Rotate from parent to daughter (identity). | |
| Translation | calc_inverse () const |
| Calculate the inverse during preprocessing. | |
| bool | operator== (Translation const &a, Translation const &b) |
| bool | operator!= (Translation const &a, Translation const &b) |
| Transform type identifier. | |
Apply a translation (no rotation).
The input translation is specified by translating the daughter's coordinate into the parent.
|
friend |
Host-only comparators