The functions in this group allow for sets to be scaled, rotated, and translated.
Click here to return to the main page.
More...
|
void | ScaleSet (int set_index, double scale) |
|
void | RotateSet (int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg) |
|
void | TranslateSet (int set_index, const vec3d &in translation_vec) |
|
void | TransformSet (int set_index, const vec3d &in translation_vec, double x_rot_deg, double y_rot_deg, double z_rot_deg, double scale, bool scale_translations_flag) |
|
◆ RotateSet()
void RotateSet |
( |
int |
set_index, |
|
|
double |
x_rot_deg, |
|
|
double |
y_rot_deg, |
|
|
double |
z_rot_deg |
|
) |
| |
Rotate a set about the global X, Y, and Z axes
string fuseid =
AddGeom(
"FUSELAGE" );
- Parameters
-
[in] | set_index | Set index |
[in] | x_rot_deg | Rotation about the X axis (degrees) |
[in] | y_rot_deg | Rotation about the Y axis (degrees) |
[in] | z_rot_deg | Rotation about the Z axis (degrees) |
◆ ScaleSet()
void ScaleSet |
( |
int |
set_index, |
|
|
double |
scale |
|
) |
| |
Apply a scale factor to a set
string fuseid =
AddGeom(
"FUSELAGE" );
- Parameters
-
[in] | set_index | Set index |
[in] | scale | Scale factor |
◆ TransformSet()
void TransformSet |
( |
int |
set_index, |
|
|
const vec3d &in |
translation_vec, |
|
|
double |
x_rot_deg, |
|
|
double |
y_rot_deg, |
|
|
double |
z_rot_deg, |
|
|
double |
scale, |
|
|
bool |
scale_translations_flag |
|
) |
| |
Apply translation, rotation, and scale transformations to a set
string fuseid =
AddGeom(
"FUSELAGE" );
- See also
- TranslateSet, RotateSet, ScaleSet
- Parameters
-
[in] | set_index | Set index |
[in] | translation_vec | Translation vector |
[in] | x_rot_deg | Rotation about the X axis (degrees) |
[in] | y_rot_deg | Rotation about the Y axis (degrees) |
[in] | z_rot_deg | Rotation about the Z axis (degrees) |
[in] | scale | Scale factor |
[in] | scale_translations_flag | Flag to apply the scale factor to translations |
◆ TranslateSet()
void TranslateSet |
( |
int |
set_index, |
|
|
const vec3d &in |
translation_vec |
|
) |
| |
Translate a set along a given vector
string fuseid =
AddGeom(
"FUSELAGE" );
- Parameters
-
[in] | set_index | Set index |
[in] | translation_vec | Translation vector |
void TransformSet(int set_index, const vec3d &in translation_vec, double x_rot_deg, double y_rot_deg, double z_rot_deg, double scale, bool scale_translations_flag)