STIR
6.2.0
|
A few functions to compute distances between lines etc. More...
Go to the source code of this file.
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
template<class coordT > | |
coordT | stir::coordinate_between_2_lines (CartesianCoordinate3D< coordT > &result, const LORAs2Points< coordT > &line0, const LORAs2Points< coordT > &line1) |
find a point half-way between 2 lines and their distance More... | |
template<class coordT > | |
coordT | stir::distance_between_line_and_point (const LORAs2Points< coordT > &line, const CartesianCoordinate3D< coordT > &r1) |
find the distance between a point and a line | |
template<class coordT > | |
void | stir::project_point_on_a_line (const CartesianCoordinate3D< coordT > &p1, const CartesianCoordinate3D< coordT > &p2, CartesianCoordinate3D< coordT > &r1) |
Project a point on a line. More... | |
A few functions to compute distances between lines etc.