This group of functions is available for manipulating VSPAERO control surface groups through the API. Note, VSPAERO also includes rectangle type sub-surfaces as possible control surfaces. Click here to return to the main page. More...
Functions | |
| void | vsp::AutoGroupVSPAEROControlSurfaces () |
| std::string | vsp::AddCpSlice (int cut_type, double location) |
| int | vsp::GetNumCpSlices () |
| std::string | vsp::GetCpSliceID (int slice_index) |
| void | vsp::DelCpSlice (int slice_index) |
| void | vsp::DeleteAllCpSlices () |
| void | vsp::AddAllToVSPAEROControlSurfaceGroup (int CSGroupIndex) |
| void | vsp::RemoveAllFromVSPAEROControlSurfaceGroup (int CSGroupIndex) |
| std::vector< std::string > | vsp::GetActiveCSNameVec (int CSGroupIndex) |
| std::vector< std::string > | vsp::GetCompleteCSNameVec () |
| std::vector< std::string > | vsp::GetAvailableCSNameVec (int CSGroupIndex) |
| void | vsp::SetVSPAEROControlGroupName (const std::string &name, int CSGroupIndex) |
| std::string | vsp::GetVSPAEROControlGroupName (int CSGroupIndex) |
| void | vsp::AddSelectedToCSGroup (const std::vector< int > &selected, int CSGroupIndex) |
| void | vsp::RemoveSelectedFromCSGroup (const std::vector< int > &selected, int CSGroupIndex) |
| int | vsp::GetNumControlSurfaceGroups () |
|
extern |
Add all available control surfaces to the control surface group at the specified index
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Add a new VSPAERO control surface group using the default naming convention. The control surface group will not contain any control surfaces until they are added.
Delete a VSPAERO control surface group. The control surfaces it held go back to being available, and the groups above it slide down to fill the gap.
| [in] | CSGroupIndex | int Index of the control surface group |
Add a Cp slice to the VSPAERO Cp Slicer. The CpSlicer analysis has nothing to slice until at least one has been added.
| [in] | cut_type | int Slice direction enum (X_DIR, Y_DIR or Z_DIR) |
| [in] | location | double Location of the cut along that axis |
|
extern |
Add each control surfaces in the array of control surface indexes to the control surface group at the specified index.
| [in] | selected | vector <int> Array of control surface indexes to add to the group. Note, the integer values are one based. |
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Creates the initial default grouping for the control surfaces. The initial grouping collects all surface copies of the sub-surface into a single group. For example if a wing is defined with an aileron and that wing is symmetrical about the xz plane there will be a surface copy of the master wing surface as well as a copy of the sub-surface. The two sub-surfaces may get deflected differently during analysis routines and can be identified uniquely by their full name.
|
extern |
Delete a single Cp slice from the VSPAERO Cp Slicer
| [in] | slice_index | int Cp slice index |
|
extern |
Delete all Cp slices from the VSPAERO Cp Slicer
|
extern |
Get the names of each active (used) control surface in the control surface group at the specified index
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Get the names of each available (not used) control surface in the control surface group at the specified index
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Get the names of all control surfaces. Some may be active (used) while others may be available.
|
extern |
Get the ID of the Cp slice at the specified index
| [in] | slice_index | int Cp slice index |
|
extern |
Get the total number of control surface groups
|
extern |
Get the number of Cp slices in the VSPAERO Cp Slicer
|
extern |
Get the name of the control surface group at the specified index
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Remove all used control surfaces from the control surface group at the specified index
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Remove each control surfaces in the array of control surface indexes from the control surface group at the specified index.
| [in] | selected | vector <int> Array of control surface indexes to remove from the group. Note, the integer values are one based. |
| [in] | CSGroupIndex | int Index of the control surface group |
|
extern |
Set the name for the control surface group at the specified index
| [in] | name | string Name to set for the control surface group |
| [in] | CSGroupIndex | int Index of the control surface group |