This group of functions is available for interacting with the Bogie list of a GearGeom through the API. Click here to return to the main page.
More...
◆ CreateAndAddBogie()
| string vsp::CreateAndAddBogie |
( |
const string & | gear_id | ) |
|
|
extern |
Create a new Bogie and add it to the end of the Bogie list of the specified GearGeom. A GearGeom's landing gear is described by its list of Bogies. Each Bogie is a ParmContainer, so once you have the returned Bogie ID you can query and set its Parms with the normal Parm API functions.
string gear_id =
AddGeom(
"GEAR",
"" );
string CreateAndAddBogie(const string &gear_id)
std::string AddGeom(const std::string &type, const std::string &parent=std::string())
double SetParmVal(const std::string &parm_id, double val)
- See also
- GetAllBogies, GetNumBogies, DelBogie, DelAllBogies
- Parameters
-
| [in] | gear_id | string GearGeom Geom ID |
- Returns
- string ParmContainer ID for the newly added Bogie
◆ DelAllBogies()
| void vsp::DelAllBogies |
( |
const string & | gear_id | ) |
|
|
extern |
Delete all Bogies from the specified GearGeom.
string gear_id =
AddGeom(
"GEAR",
"" );
void DelAllBogies(const string &gear_id)
- See also
- CreateAndAddBogie, DelBogie
- Parameters
-
| [in] | gear_id | string GearGeom Geom ID |
◆ DelBogie()
| void vsp::DelBogie |
( |
const string & | gear_id, |
|
|
const string & | bogie_id ) |
|
extern |
Delete the specified Bogie from the specified GearGeom.
string gear_id =
AddGeom(
"GEAR",
"" );
void DelBogie(const string &gear_id, const string &bogie_id)
- See also
- CreateAndAddBogie, DelAllBogies
- Parameters
-
| [in] | gear_id | string GearGeom Geom ID |
| [in] | bogie_id | string Bogie ParmContainer ID |
◆ GetAllBogies()
| vector< string > vsp::GetAllBogies |
( |
const string & | gear_id | ) |
|
|
extern |
Get the ParmContainer IDs of all the Bogies in the specified GearGeom, in list order.
string gear_id =
AddGeom(
"GEAR",
"" );
vector< string > GetAllBogies(const string &gear_id)
- See also
- CreateAndAddBogie, GetNumBogies, DelBogie
- Parameters
-
| [in] | gear_id | string GearGeom Geom ID |
- Returns
- vector<string> Vector of Bogie ParmContainer IDs
◆ GetNumBogies()
| int vsp::GetNumBogies |
( |
const string & | gear_id | ) |
|
|
extern |
Get the number of Bogies in the specified GearGeom.
string gear_id =
AddGeom(
"GEAR",
"" );
int GetNumBogies(const string &gear_id)
- See also
- CreateAndAddBogie, GetAllBogies
- Parameters
-
| [in] | gear_id | string GearGeom Geom ID |
- Returns
- int Number of Bogies in the specified GearGeom