|
Antiprism 0.23
|
Class for an isometry. More...
#include <symmetry.h>

Public Types | |
| enum | |
Rotation type. | |
Public Member Functions | |
| iso_type () | |
| Constructor. | |
| iso_type (const mat3d &m) | |
| Constructor. | |
| iso_type & | init (mat3d m) |
| Initialise with a transformation matrix. | |
| int | get_rot_type () const |
| Get the rotation type. | |
| vec3d | get_axis () const |
| Get principal axis. | |
| double | get_ang () const |
| Get rotation angle. | |
| vec3d | get_transl () const |
| Get translation. | |
| bool | is_direct () const |
| Check if isometry is direct. | |
| void | dump () const |
| Dump. | |
Class for an isometry.
| iso_type::iso_type | ( | const mat3d & | m | ) | [inline] |
Constructor.
Set up with the details for a particular transformation matrix.
| m | the transformation matrix. |
| void iso_type::dump | ( | ) | const |
Dump.
Print the object data to stdout for debugging.
| double iso_type::get_ang | ( | ) | const [inline] |
Get rotation angle.
The angle will be 0 if the rotation type doesn't have an angle.
| vec3d iso_type::get_axis | ( | ) | const [inline] |
Get principal axis.
The axis will be unset if the rotation type doesn't have an axis.
| int iso_type::get_rot_type | ( | ) | const [inline] |
Get the rotation type.
A return value of rt_none indicates that the object has not been initialised with an isometry.
| vec3d iso_type::get_transl | ( | ) | const [inline] |
Get translation.
The translation will be unset if the object has not been initialised with an isometry.
Initialise with a transformation matrix.
Set up with the details for a particular transformation matrix.
| m | the transformation matrix. |
| bool iso_type::is_direct | ( | ) | const [inline] |
Check if isometry is direct.
true if the isometry is direct, otherwise false
1.7.3