|
| cubic (const vec3< T > &a_p0, const vec3< T > &a_v0, const vec3< T > &a_p1, const vec3< T > &a_v1) |
|
| cubic (const T &a_p0_x, const T &a_p0_y, const T &a_p0_z, const T &a_v0_x, const T &a_v0_y, const T &a_v0_z, const T &a_p1_x, const T &a_p1_y, const T &a_p1_z, const T &a_v1_x, const T &a_v1_y, const T &a_v1_z) |
|
virtual | ~cubic () |
|
| cubic (const cubic &a_from) |
|
cubic & | operator= (const cubic &a_from) |
|
void | get_point (unsigned int a_index, unsigned int a_num, vec3< T > &a_p) |
|
void | get_point (unsigned int a_index, unsigned int a_num, T &a_x, T &a_y, T &a_z) |
|
|
void | initialize (const T &a_p0_x, const T &a_p0_y, const T &a_p0_z, const T &a_v0_x, const T &a_v0_y, const T &a_v0_z, const T &a_p1_x, const T &a_p1_y, const T &a_p1_z, const T &a_v1_x, const T &a_v1_y, const T &a_v1_z) |
|
template<class T>
class tools::cubic< T >
Definition at line 14 of file geom3.
◆ cubic() [1/3]
Definition at line 16 of file geom3.
20 a_v0.x(),a_v0.y(),a_v0.z(),
21 a_p1.x(),a_p1.y(),a_p1.z(),
22 a_v1.x(),a_v1.y(),a_v1.z());
◆ cubic() [2/3]
template<class T >
tools::cubic< T >::cubic |
( |
const T & |
a_p0_x, |
|
|
const T & |
a_p0_y, |
|
|
const T & |
a_p0_z, |
|
|
const T & |
a_v0_x, |
|
|
const T & |
a_v0_y, |
|
|
const T & |
a_v0_z, |
|
|
const T & |
a_p1_x, |
|
|
const T & |
a_p1_y, |
|
|
const T & |
a_p1_z, |
|
|
const T & |
a_v1_x, |
|
|
const T & |
a_v1_y, |
|
|
const T & |
a_v1_z |
|
) |
| |
|
inline |
Definition at line 24 of file geom3.
31 a_v1_x,a_v1_y,a_v1_z);
◆ ~cubic()
Definition at line 34 of file geom3.
◆ cubic() [3/3]
Definition at line 36 of file geom3.
◆ get_point() [1/2]
template<class T >
void tools::cubic< T >::get_point |
( |
unsigned int |
a_index, |
|
|
unsigned int |
a_num, |
|
|
T & |
a_x, |
|
|
T & |
a_y, |
|
|
T & |
a_z |
|
) |
| |
|
inline |
Definition at line 58 of file geom3.
61 T s = T(a_index)/T(a_num-1);
◆ get_point() [2/2]
template<class T >
void tools::cubic< T >::get_point |
( |
unsigned int |
a_index, |
|
|
unsigned int |
a_num, |
|
|
vec3< T > & |
a_p |
|
) |
| |
|
inline |
Definition at line 50 of file geom3.
53 T s = T(a_index)/T(a_num-1);
◆ initialize()
template<class T >
void tools::cubic< T >::initialize |
( |
const T & |
a_p0_x, |
|
|
const T & |
a_p0_y, |
|
|
const T & |
a_p0_z, |
|
|
const T & |
a_v0_x, |
|
|
const T & |
a_v0_y, |
|
|
const T & |
a_v0_z, |
|
|
const T & |
a_p1_x, |
|
|
const T & |
a_p1_y, |
|
|
const T & |
a_p1_z, |
|
|
const T & |
a_v1_x, |
|
|
const T & |
a_v1_y, |
|
|
const T & |
a_v1_z |
|
) |
| |
|
inlineprotected |
Definition at line 69 of file geom3.
91 T a_x = -2*a_p1_x + a_v0_x + 2*a_p0_x + a_v1_x;
92 T a_y = -2*a_p1_y + a_v0_y + 2*a_p0_y + a_v1_y;
93 T a_z = -2*a_p1_z + a_v0_z + 2*a_p0_z + a_v1_z;
94 m_a.set_value(a_x,a_y,a_z);
96 T b_x = 3*(a_p1_x - a_v0_x - a_p0_x) - (a_v1_x - a_v0_x);
97 T b_y = 3*(a_p1_y - a_v0_y - a_p0_y) - (a_v1_y - a_v0_y);
98 T b_z = 3*(a_p1_z - a_v0_z - a_p0_z) - (a_v1_z - a_v0_z);
99 m_b.set_value(b_x,b_y,b_z);
101 m_c.set_value(a_v0_x,a_v0_y,a_v0_z);
102 m_d.set_value(a_p0_x,a_p0_y,a_p0_z);
◆ operator=()
Definition at line 42 of file geom3.
◆ m_a
◆ m_b
◆ m_c
◆ m_d
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/lina/geom3