Public Member Functions | |
patch4 () | |
Empty constructor. | |
patch4 (const v3 &x00, const v3 &x01, const v3 &x02, const v3 &x03, const v3 &x10, const v3 &x11, const v3 &x12, const v3 &x13, const v3 &x20, const v3 &x21, const v3 &x22, const v3 &x23, const v3 &x30, const v3 &x31, const v3 &x32, const v3 &x33) | |
Direct constructor. | |
const v3 & | operator() (const unsigned int &ku, const unsigned int &kv) const |
Get value. | |
v3 & | operator() (const unsigned int &ku, const unsigned int &kv) |
Get value. | |
matrix4 | get_x () const |
Get x coordinate in matrix4 form. | |
matrix4 | get_y () const |
Get y coordinate in matrix4 form. | |
matrix4 | get_z () const |
Get z coordinate in matrix4 form. | |
Private Member Functions | |
void | assert_size (const unsigned int &ku, const unsigned int &kv) const |
Private Attributes | |
v3 | internal_data [16] |
internal data |
cpe::patch4::patch4 | ( | ) |
Empty constructor.
References internal_data.
cpe::patch4::patch4 | ( | const v3 & | x00, | |
const v3 & | x01, | |||
const v3 & | x02, | |||
const v3 & | x03, | |||
const v3 & | x10, | |||
const v3 & | x11, | |||
const v3 & | x12, | |||
const v3 & | x13, | |||
const v3 & | x20, | |||
const v3 & | x21, | |||
const v3 & | x22, | |||
const v3 & | x23, | |||
const v3 & | x30, | |||
const v3 & | x31, | |||
const v3 & | x32, | |||
const v3 & | x33 | |||
) |
Direct constructor.
References internal_data.
void cpe::patch4::assert_size | ( | const unsigned int & | ku, | |
const unsigned int & | kv | |||
) | const [private] |
Ensure (ku,kv) is within [[0,3]]
Referenced by operator()().
matrix4 cpe::patch4::get_x | ( | ) | const |
Get x coordinate in matrix4 form.
References internal_data.
matrix4 cpe::patch4::get_y | ( | ) | const |
Get y coordinate in matrix4 form.
References internal_data.
matrix4 cpe::patch4::get_z | ( | ) | const |
Get z coordinate in matrix4 form.
References internal_data.
v3 & cpe::patch4::operator() | ( | const unsigned int & | ku, | |
const unsigned int & | kv | |||
) |
const v3 & cpe::patch4::operator() | ( | const unsigned int & | ku, | |
const unsigned int & | kv | |||
) | const |
v3 cpe::patch4::internal_data[16] [private] |
internal data
Referenced by get_x(), get_y(), get_z(), operator()(), and patch4().