|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Detailed info on translational degrees of freedom of a rigid body or a point in the 3D-space. More...
#include <gcm_types.h>
Collaboration diagram for GCM_tdof_record:Public Attributes | |
| GCM_dof_number | num |
| Number of translational degrees of freedom. | |
| GCM_dof_vector | dir1 |
| Direction vector of first permitted translation. | |
| GCM_dof_vector | dir2 |
| Direction vector of second permitted translation. | |
Detailed info on translational degrees of freedom of a rigid body or a point in the 3D-space.
This structure represents a result obtainable by functions implementing degrees-of-freedom analysis. On success, num is written with number of translational degrees of freedom while dir1 and dir2 are optionally defined by corresponding vectors of possible motions. On failure, num is written with -1. If num equals to 1, then only dir1 is defined. If num equals to 2, then both dir1 and dir2 are defined. A vector left undefined is guaranted to be zero-valued and featured by code GCM_DOF_FEATURE_Unused.