Go to the documentation of this file.
15 typedef typename VEC3::elem_t
T;
18 line(
const VEC3& a_p0,
const VEC3& a_p1) {
30 line(
const T& a_0_x,
const T& a_0_y,
const T& a_0_z,
31 const T& a_1_x,
const T& a_1_y,
const T& a_1_z) {
32 m_pos.set_value(a_0_x,a_0_y,a_0_z);
33 m_dir.set_value(a_1_x-a_0_x,a_1_y-a_0_y,a_1_z-a_0_z);
56 const T& a_1_x,
const T& a_1_y,
const T& a_1_z) {
57 m_pos.set_value(a_0_x,a_0_y,a_0_z);
58 m_dir.set_value(a_1_x-a_0_x,a_1_y-a_0_y,a_1_z-a_0_z);