189#if !defined(VSPAPI__INCLUDED_)
190#define VSPAPI__INCLUDED_
193%feature(
"autodoc", 1);
194%feature(
"doxygen:ignore:forcpponly", range=
"end");
195%feature(
"doxygen:ignore:beginPythonOnly", range=
"end:endPythonOnly", contents=
"parse");
201#include "APIErrorMgr.h"
202#include "APIUpdateCountMgr.h"
324extern void Update(
bool update_managers =
true );
696extern void RegisterCFDMeshAnalyses();
969extern void InsertVSPFile(
const std::string & file_name,
const std::string & parent_geom_id );
1008extern std::string
ExportFile(
const std::string & file_name,
int thick_set,
int file_type,
int subsFlag = 1,
int thin_set =
vsp::SET_NONE );
1022extern std::string
ImportFile(
const std::string & file_name,
int file_type,
const std::string & parent );
1320 double start_bnd = 0,
double end_bnd = 0,
bool measureduct =
false );
1537extern void AddCFDSource(
int type,
const std::string & geom_id,
int surf_index,
1539 double l1,
double r1,
double u1,
double w1,
1540 double l2 = 0,
double r2 = 0,
double u2 = 0,
double w2 = 0 );
1871extern const std::vector< int > &
GetIntAnalysisInput(
const std::string & analysis,
const std::string & name,
int index = 0 );
1904extern const std::vector< double > &
GetDoubleAnalysisInput(
const std::string & analysis,
const std::string & name,
int index = 0 );
1937extern const std::vector<std::string> &
GetStringAnalysisInput(
const std::string & analysis,
const std::string & name,
int index = 0 );
1972extern const std::vector< vec3d > &
GetVec3dAnalysisInput(
const std::string & analysis,
const std::string & name,
int index = 0 );
2043extern void SetIntAnalysisInput(
const std::string & analysis,
const std::string & name,
const std::vector< int > & indata,
int index = 0 );
2086extern void SetDoubleAnalysisInput(
const std::string & analysis,
const std::string & name,
const std::vector< double > & indata,
int index = 0 );
2119extern void SetStringAnalysisInput(
const std::string & analysis,
const std::string & name,
const std::vector<std::string> & indata,
int index = 0 );
2154extern void SetVec3dAnalysisInput(
const std::string & analysis,
const std::string & name,
const std::vector< vec3d > & indata,
int index = 0 );
2403extern std::string GetResultsEntryDoc(
const std::string & results_id,
const std::string & data_name );
2524extern int GetNumData(
const std::string & results_id,
const std::string & data_name );
2567extern int GetResultsType(
const std::string & results_id,
const std::string & data_name );
2617extern const std::vector< int > &
GetIntResults(
const std::string &
id,
const std::string & name,
int index = 0 );
2657extern const std::vector< double > &
GetDoubleResults(
const std::string &
id,
const std::string & name,
int index = 0 );
2670extern const std::vector< std::vector< double > > &
GetDoubleMatResults(
const std::string &
id,
const std:: string & name,
int index = 0 );
2708extern const std::vector<std::string> &
GetStringResults(
const std::string &
id,
const std::string & name,
int index = 0 );
2766extern const std::vector< vec3d > &
GetVec3dResults(
const std::string &
id,
const std::string & name,
int index = 0 );
3454extern void ScreenGrab(
const string & fname,
int w,
int h,
bool transparentBG,
bool autocrop =
false );
3637extern void AddMaterial(
const string &name,
const vec3d & ambient,
const vec3d & diffuse,
const vec3d & specular,
const vec3d & emissive,
const double & alpha,
const double & shininess );
3915extern std::string
AddGeom(
const std::string & type,
const std::string & parent = std::string() );
4269extern std::string
FindGeom(
const std::string & name,
int index );
4309extern void SetGeomName(
const std::string & geom_id,
const std::string & name );
4447extern std::string
GetParm(
const std::string & geom_id,
const std::string & name,
const std::string & group );
4758extern vec3d GetGeomBBoxMax(
const std::string& geom_id,
int main_surf_ind = 0,
bool ref_frame_is_absolute =
true );
4800extern vec3d GetGeomBBoxMin(
const std::string& geom_id,
int main_surf_ind = 0,
bool ref_frame_is_absolute =
true );
4837extern std::string
AddSubSurf(
const std::string & geom_id,
int type,
int surfindex = 0 );
4880extern std::string
GetSubSurf(
const std::string & geom_id,
int index );
4923extern std::vector<std::string>
GetSubSurf(
const std::string & geom_id,
const std::string & name );
4971extern void DeleteSubSurf(
const std::string & geom_id,
const std::string & sub_id );
5053extern void SetSubSurfName(
const std::string & geom_id,
const std::string & sub_id,
const std::string & name);
5126extern std::string
GetSubSurfName(
const std::string & geom_id,
const std::string & sub_id );
5466extern int AddFeaStruct(
const std::string & geom_id,
bool init_skin =
true,
int surfindex = 0 );
5759extern void SetFeaStructName(
const std::string & geom_id,
int fea_struct_ind,
const std::string & name );
5885extern std::string
AddFeaPart(
const std::string & geom_id,
int fea_struct_ind,
int type );
5934extern void DeleteFeaPart(
const std::string & geom_id,
int fea_struct_ind,
const std::string & part_id );
5988extern std::string
GetFeaPartID(
const std::string & fea_struct_id,
int fea_part_index );
6459extern std::string
AddFeaSubSurf(
const std::string & geom_id,
int fea_struct_ind,
int type );
6508extern void DeleteFeaSubSurf(
const std::string & geom_id,
int fea_struct_ind,
const std::string & ss_id );
6751extern std::string
AddFeaBC(
const string & fea_struct_id,
int type = -1 );
6797extern void DelFeaBC(
const string & fea_struct_id,
const std::string &bc_id );
6990extern void SetFeaMeshVal(
const std::string & geom_id,
int fea_struct_ind,
int type,
double val );
7042extern void SetFeaMeshFileName(
const std::string & geom_id,
int fea_struct_ind,
int file_type,
const string & file_name );
7095extern void ComputeFeaMesh(
const std::string & geom_id,
int fea_struct_ind,
int file_type );
7189extern void CutXSec(
const std::string & geom_id,
int index );
7226extern void CopyXSec(
const std::string & geom_id,
int index );
7263extern void PasteXSec(
const std::string & geom_id,
int index );
7293extern void InsertXSec(
const std::string & geom_id,
int index,
int type );
7345extern void SetDriverGroup(
const std::string & geom_id,
int section_index,
int driver_0,
int driver_1 = -1,
int driver_2 = -1 );
7378extern std::string
GetXSecSurf(
const std::string & geom_id,
int index );
7468extern std::string
GetXSec(
const std::string & xsec_surf_id,
int xsec_index );
7879extern std::string
GetXSecParm(
const std::string& xsec_id,
const std::string& name );
7921extern std::vector<vec3d>
ReadFileXSec(
const std::string& xsec_id,
const std::string& file_name );
7976extern void SetXSecPnts(
const std::string& xsec_id, std::vector< vec3d > & pnt_vec );
8201extern void SetXSecTanAngles(
const std::string& xsec_id,
int side,
double top,
double right,
double bottom,
double left );
8253extern void SetXSecTanSlews(
const std::string& xsec_id,
int side,
double top,
double right,
double bottom,
double left );
8307extern void SetXSecTanStrengths(
const std::string& xsec_id,
int side,
double top,
double right,
double bottom,
double left );
8361extern void SetXSecCurvatures(
const std::string& xsec_id,
int side,
double top,
double right,
double bottom,
double left );
8581extern void SetAirfoilPnts(
const std::string& xsec_id,
const std::vector< vec3d > & up_pnt_vec,
const std::vector< vec3d > & low_pnt_vec );
8631extern std::vector<vec3d>
GetHersheyBarLiftDist(
const int &npts,
const double &alpha,
const double &Vinf,
const double &span,
bool full_span_flag =
false );
8681extern std::vector<vec3d>
GetHersheyBarDragDist(
const int &npts,
const double &alpha,
const double &Vinf,
const double &span,
bool full_span_flag =
false );
8735extern std::vector<vec3d>
GetVKTAirfoilPnts(
const int &npts,
const double &alpha,
const double &epsilon,
const double &kappa,
const double &tau );
8790extern std::vector<double>
GetVKTAirfoilCpDist(
const double &alpha,
const double &epsilon,
const double &kappa,
const double &tau,
const std::vector<vec3d> &xyz_data );
8903extern double IntegrateEllipsoidFlow(
const vec3d &abc_rad,
const int &abc_index );
9054extern void SetUpperCST(
const std::string& xsec_id,
int deg,
const std::vector<double> &coefs );
9067extern void SetLowerCST(
const std::string& xsec_id,
int deg,
const std::vector<double> &coefs );
9123extern void FitAfCST(
const std::string & xsec_surf_id,
int xsec_index,
int deg );
9742extern std::vector<vec3d>
ReadBORFileXSec(
const std::string& bor_id,
const std::string& file_name );
9788extern void SetBORXSecPnts(
const std::string& bor_id, std::vector< vec3d > & pnt_vec );
10044extern void SetBORAirfoilPnts(
const std::string& bor_id,
const std::vector< vec3d > & up_pnt_vec,
const std::vector< vec3d > & low_pnt_vec );
10179extern void SetBORUpperCST(
const std::string& bor_id,
int deg,
const std::vector<double> &coefs );
10192extern void SetBORLowerCST(
const std::string& bor_id,
int deg,
const std::vector<double> &coefs );
10285extern void WriteBezierAirfoil(
const std::string & file_name,
const std::string & geom_id,
const double &foilsurf_u );
10321extern void WriteSeligAirfoil(
const std::string & file_name,
const std::string & geom_id,
const double &foilsurf_u );
10651extern void SetEditXSecPnts(
const std::string & xsec_id,
const std::vector < double > &u_vec,
const std::vector < vec3d > &control_pts,
const std::vector < double > &r_vec );
11245extern std::vector<std::string>
GetGeomSet(
const std::string & name );
11343extern void SetSetFlag(
const std::string & geom_id,
int set_index,
bool flag );
11461extern void RotateSet(
int set_index,
double x_rot_deg,
double y_rot_deg,
double z_rot_deg );
11535extern void TransformSet(
int set_index,
const vec3d &translation_vec,
double x_rot_deg,
double y_rot_deg,
double z_rot_deg,
double scale,
bool scale_translations_flag );
11671extern double SetParmVal(
const std::string & geom_id,
const std::string & name,
const std::string & group,
double val );
11709extern double SetParmValLimits(
const std::string & parm_id,
double val,
double lower_limit,
double upper_limit );
11779extern double SetParmValUpdate(
const std::string & geom_id,
const std::string & parm_name,
const std::string & parm_group_name,
double val );
11877extern double GetParmVal(
const std::string & geom_id,
const std::string & name,
const std::string & group );
12459extern std::string
FindParm(
const std::string & parm_container_id,
const std::string& parm_name,
const std::string& group_name );
12841extern string AddUserParm(
int type,
const string & name,
const string & group );
12985extern double SnapParm(
const std::string & parm_id,
double target_min_dist,
bool inc_flag,
int set =
SET_ALL );
13222extern void EditVarPresetParm(
const std::string &parm_id,
double parm_val,
const std::string &group_name,
const std::string &setting_name );
13855extern void SetPCurve(
const std::string & geom_id,
const int & pcurveid,
const std::vector < double > & tvec,
13857 const std::vector < double > & valvec,
const int & newtype );
13869extern void PCurveConvertTo(
const std::string & geom_id,
const int & pcurveid,
const int & newtype );
13894extern std::vector < double >
PCurveGetTVec(
const std::string & geom_id,
const int & pcurveid );
13906extern std::vector < double >
PCurveGetValVec(
const std::string & geom_id,
const int & pcurveid );
13918extern void PCurveDeletePt(
const std::string & geom_id,
const int & pcurveid,
const int & indx );
13931extern int PCurveSplit(
const std::string & geom_id,
const int & pcurveid,
const double & tsplit );
15006extern void AddExcrescence(
const std::string & excresName,
const int & excresType,
const double & excresVal);
15117extern void CalcAtmosphere(
const double & alt,
const double & delta_temp,
const int & atmos_type,
15119 double & temp,
double & pres,
double & pres_ratio,
double & rho_ratio );
15257extern vec3d CompPnt01(
const std::string &geom_id,
const int &surf_indx,
const double &u,
const double &w);
15302extern vec3d CompNorm01(
const std::string &geom_id,
const int &surf_indx,
const double &u,
const double &w);
15347extern vec3d CompTanU01(
const std::string &geom_id,
const int &surf_indx,
const double &u,
const double &w);
15392extern vec3d CompTanW01(
const std::string &geom_id,
const int &surf_indx,
const double &u,
const double &w);
15444extern void CompCurvature01(
const std::string &geom_id,
const int &surf_indx,
const double &u,
const double &w,
15445 double &k1_out,
double &k2_out,
double &ka_out,
double &kg_out);
15510extern double ProjPnt01(
const std::string &geom_id,
const int &surf_indx,
const vec3d &pt,
double &u_out,
double &w_out);
15582extern double ProjPnt01I(
const std::string &geom_id,
const vec3d &pt,
int &surf_indx_out,
double &u_out,
double &w_out);
15654extern double ProjPnt01Guess(
const std::string &geom_id,
const int &surf_indx,
const vec3d &pt,
const double &u0,
const double &w0,
double &u_out,
double &w_out);
15718extern double AxisProjPnt01(
const std::string &geom_id,
const int &surf_indx,
const int &iaxis,
const vec3d &pt,
double &u_out,
double &w_out);
15783extern double AxisProjPnt01I(
const std::string &geom_id,
const int &iaxis,
const vec3d &pt,
int &surf_indx_out,
double &u_out,
double &w_out);
15858extern double AxisProjPnt01Guess(
const std::string &geom_id,
const int &surf_indx,
const int &iaxis,
const vec3d &pt,
const double &u0,
const double &w0,
double &u_out,
double &w_out);
15971extern vec3d CompPntRST(
const std::string &geom_id,
const int &surf_indx,
const double &r,
const double &s,
const double &t );
16029extern double FindRST(
const std::string &geom_id,
const int &surf_indx,
const vec3d &pt,
double &r_out,
double &s_out,
double &t_out );
16099extern double FindRSTGuess(
const std::string &geom_id,
const int &surf_indx,
const vec3d &pt,
const double &r0,
const double &s0,
const double &t0,
double &r_out,
double &s_out,
double &t_out );
16149extern void ConvertRSTtoLMN(
const std::string &geom_id,
const int &surf_indx,
const double &r,
const double &s,
const double &t,
double &l_out,
double &m_out,
double &n_out );
16190extern void ConvertRtoL(
const std::string &geom_id,
const int &surf_indx,
const double &r,
double &l_out );
16239extern void ConvertLMNtoRST(
const std::string &geom_id,
const int &surf_indx,
const double &l,
const double &m,
const double &n,
double &r_out,
double &s_out,
double &t_out );
16278extern void ConvertLtoR(
const std::string &geom_id,
const int &surf_indx,
const double &l,
double &r_out );
16318extern void ConvertUtoEta(
const std::string &geom_id,
const double &u,
double &eta_out );
16358extern void ConvertEtatoU(
const std::string &geom_id,
const double &eta,
double &u_out );
16415extern std::vector < vec3d >
CompVecPnt01(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &u_in_vec,
const std::vector < double > &w_in_vec);
16471extern std::vector < vec3d >
CompVecNorm01(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &us,
const std::vector < double > &ws);
16534extern void CompVecCurvature01(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &us,
const std::vector < double > &ws, std::vector < double > &k1_out_vec, std::vector < double > &k2_out_vec, std::vector < double > &ka_out_vec, std::vector < double > &kg_out_vec);
16612extern void ProjVecPnt01(
const std::string &geom_id,
const int &surf_indx,
const std::vector < vec3d > &pts, std::vector < double > &u_out_vec, std::vector < double > &w_out_vec, std::vector < double > &d_out_vec );
16712extern void ProjVecPnt01Guess(
const std::string &geom_id,
const int &surf_indx,
const std::vector < vec3d > &pts,
const std::vector < double > &u0s,
const std::vector < double > &w0s, std::vector < double > &u_out_vec, std::vector < double > &w_out_vec, std::vector < double > &d_out_vec );
16816extern void AxisProjVecPnt01(
const std::string &geom_id,
const int &surf_indx,
const int &iaxis,
const std::vector < vec3d > &pts, std::vector < double > &u_out_vec, std::vector < double > &w_out_vec, std::vector < double > &d_out_vec );
16930extern void AxisProjVecPnt01Guess(
const std::string &geom_id,
const int &surf_indx,
const int &iaxis,
const std::vector < vec3d > &pts,
const std::vector < double > &u0s,
const std::vector < double > &w0s, std::vector < double > &u_out_vec, std::vector < double > &w_out_vec, std::vector < double > &d_out_vec );
17005extern std::vector < bool >
VecInsideSurf(
const std::string &geom_id,
const int &surf_indx,
const std::vector < vec3d > &pts );
17069extern std::vector < vec3d >
CompVecPntRST(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &r_in_vec,
const std::vector < double > &s_in_vec,
const std::vector < double > &t_in_vec );
17143extern void FindRSTVec(
const std::string &geom_id,
const int &surf_indx,
const std::vector < vec3d > &pts, std::vector < double > &r_out_vec, std::vector < double > &s_out_vec, std::vector < double > &t_out_vec, std::vector < double > &d_out_vec );
17228extern void FindRSTVecGuess(
const std::string &geom_id,
const int &surf_indx,
const std::vector < vec3d > &pts,
const std::vector < double > &r0s,
const std::vector < double > &s0s,
const std::vector < double > &t0s, std::vector < double > &r_out_vec, std::vector < double > &s_out_vec, std::vector < double > &t_out_vec, std::vector < double > &d_out_vec );
17298extern void ConvertRSTtoLMNVec(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &r_vec,
const std::vector < double > &s_vec,
const std::vector < double > &t_vec,
17299 std::vector < double > &l_out_vec, std::vector < double > &m_out_vec, std::vector < double > &n_out_vec );
17367extern void ConvertLMNtoRSTVec(
const std::string &geom_id,
const int &surf_indx,
const std::vector < double > &l_vec,
const std::vector < double > &m_vec,
const std::vector < double > &n_vec,
17368 std::vector < double > &r_out_vec, std::vector < double > &s_out_vec, std::vector < double > &t_out_vec );
17404extern void GetUWTess01(
const std::string &geom_id,
const int &surf_indx, std::vector < double > &u_out_vec, std::vector < double > &w_out_vec);
17456extern string AddRuler(
const string & startgeomid,
int startsurfindx,
double startu,
double startw,
17457 const string & endgeomid,
int endsurfindx,
double endu,
double endw,
const string & name );
17646extern string AddProbe(
const string & geomid,
int surfindx,
double u,
double w,
const string & name );
bool CheckForVSPAERO(const std::string &path)
bool CheckForVSPHelp(const std::string &path)
int GetVSPVersionChange()
std::string GetVSPVersion()
bool SetVSPHelpPath(const std::string &path)
std::string GetVSPHelpPath()
bool SetVSPAEROPath(const std::string &path)
std::string GetVSPExePath()
std::string GetVSPAEROPath()
void SearchReplaceAdvLinkCode(int index, const string &from, const string &to)
void AddAdvLinkInput(int index, const string &parm_id, const string &var_name)
void SetAdvLinkCode(int index, const string &code)
void DelAdvLinkOutput(int index, const string &var_name)
int GetLinkIndex(const string &name)
std::vector< std::string > GetAdvLinkNames()
std::string GetAdvLinkCode(int index)
void AddAdvLink(const string &name)
void AddAdvLinkOutput(int index, const string &parm_id, const string &var_name)
std::vector< std::string > GetAdvLinkInputParms(int index)
bool ValidateAdvLinkParms(int index)
std::vector< std::string > GetAdvLinkOutputParms(int index)
std::vector< std::string > GetAdvLinkInputNames(int index)
void DelAdvLinkInput(int index, const string &var_name)
std::vector< std::string > GetAdvLinkOutputNames(int index)
void DelAdvLink(int index)
bool BuildAdvLinkScript(int index)
std::vector< std::string > GetAnalysisInputNames(const std::string &analysis)
const std::vector< int > & GetIntAnalysisInput(const std::string &analysis, const std::string &name, int index=0)
void SetIntAnalysisInput(const std::string &analysis, const std::string &name, const std::vector< int > &indata, int index=0)
void PrintAnalysisDocs(const std::string &analysis_name)
std::string ExecAnalysis(const std::string &analysis)
std::vector< std::string > ListAnalysis()
void SetVec3dAnalysisInput(const std::string &analysis, const std::string &name, const std::vector< vec3d > &indata, int index=0)
void SetStringAnalysisInput(const std::string &analysis, const std::string &name, const std::vector< std::string > &indata, int index=0)
void PrintAnalysisInputs(const std::string &analysis_name)
int GetAnalysisInputType(const std::string &analysis, const std::string &name)
void SetAnalysisInputDefaults(const std::string &analysis)
const std::vector< double > & GetDoubleAnalysisInput(const std::string &analysis, const std::string &name, int index=0)
std::string GetAnalysisDoc(const std::string &analysis)
const std::vector< vec3d > & GetVec3dAnalysisInput(const std::string &analysis, const std::string &name, int index=0)
void SetDoubleAnalysisInput(const std::string &analysis, const std::string &name, const std::vector< double > &indata, int index=0)
std::string GetAnalysisInputDoc(const std::string &analysis, const std::string &name)
const std::vector< std::string > & GetStringAnalysisInput(const std::string &analysis, const std::string &name, int index=0)
int GetNumAnalysisInputData(const std::string &analysis, const std::string &name)
void SetBORAirfoilUpperPnts(const std::string &bor_id, const std::vector< vec3d > &up_pnt_vec)
void ReadBORFileAirfoil(const std::string &bor_id, const std::string &file_name)
void FitBORAfCST(const std::string &bor_id, int deg)
std::vector< double > GetBORLowerCSTCoefs(const std::string &bor_id)
vec3d ComputeBORXSecPnt(const std::string &bor_id, double fract)
std::vector< vec3d > GetBORAirfoilLowerPnts(const std::string &bor_id)
void SetBORXSecPnts(const std::string &bor_id, std::vector< vec3d > &pnt_vec)
void PromoteBORCSTUpper(const std::string &bor_id)
void SetBORUpperCST(const std::string &bor_id, int deg, const std::vector< double > &coefs)
void SetBORLowerCST(const std::string &bor_id, int deg, const std::vector< double > &coefs)
void ChangeBORXSecShape(const string &bor_id, int type)
vec3d ComputeBORXSecTan(const std::string &bor_id, double fract)
int GetBORUpperCSTDegree(const std::string &bor_id)
void DemoteBORCSTLower(const std::string &bor_id)
void PromoteBORCSTLower(const std::string &bor_id)
int GetBORXSecShape(const string &bor_id)
std::vector< double > GetBORUpperCSTCoefs(const std::string &bor_id)
std::vector< vec3d > ReadBORFileXSec(const std::string &bor_id, const std::string &file_name)
std::vector< vec3d > GetBORAirfoilUpperPnts(const std::string &bor_id)
void DemoteBORCSTUpper(const std::string &bor_id)
int GetBORLowerCSTDegree(const std::string &bor_id)
void SetBORAirfoilPnts(const std::string &bor_id, const std::vector< vec3d > &up_pnt_vec, const std::vector< vec3d > &low_pnt_vec)
void SetBORAirfoilLowerPnts(const std::string &bor_id, const std::vector< vec3d > &low_pnt_vec)
void SetBackground3DRelativePath(const string &id, const string &fname)
void ShowAllBackground3Ds()
int GetNumBackground3Ds()
vector< string > GetAllBackground3DAbsolutePaths()
vector< string > GetAllBackground3Ds()
string GetBackground3DRelativePath(const string &id)
void SetBackground3DAbsolutePath(const string &id, const string &fname)
void DelBackground3D(const string &id)
vector< string > GetAllBackground3DRelativePaths()
void DelAllBackground3Ds()
string GetBackground3DAbsolutePath(const string &id)
void HideAllBackground3Ds()
void AddCFDSource(int type, const std::string &geom_id, int surf_index, double l1, double r1, double u1, double w1, double l2=0, double r2=0, double u2=0, double w2=0)
void DeleteAllCFDSources()
void ComputeCFDMesh(int set, int degenset, int file_export_types)
void SetCFDWakeFlag(const std::string &geom_id, bool flag)
void SetCFDMeshVal(int type, double val)
void SetComputationFileName(int file_type, const std::string &file_name)
void AddSelectedToCSGroup(const vector< int > &selected, int CSGroupIndex)
void SetVSPAEROControlGroupName(const string &name, int CSGroupIndex)
std::vector< std::string > GetActiveCSNameVec(int CSGroupIndex)
void RemoveSelectedFromCSGroup(const vector< int > &selected, int CSGroupIndex)
void AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex)
std::vector< std::string > GetAvailableCSNameVec(int CSGroupIndex)
int CreateVSPAEROControlSurfaceGroup()
int GetNumControlSurfaceGroups()
std::string GetVSPAEROControlGroupName(int CSGroupIndex)
std::vector< std::string > GetCompleteCSNameVec()
void RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex)
void AutoGroupVSPAEROControlSurfaces()
std::string ComputeCompGeom(int set, bool half_mesh, int file_export_types)
std::string ComputeMassProps(int set, int num_slices, int idir)
std::string ComputePlaneSlice(int set, int num_slices, const vec3d &norm, bool auto_bnd, double start_bnd=0, double end_bnd=0, bool measureduct=false)
void ComputeDegenGeom(int set, int file_export_types)
void WriteDESFile(const std::string &file_name)
void AddDesignVar(const std::string &parm_id, int type)
void DeleteAllDesignVars()
void ReadApplyXDDMFile(const std::string &file_name)
void ReadApplyDESFile(const std::string &file_name)
void WriteXDDMFile(const std::string &file_name)
std::string GetDesignVar(int index)
int GetDesignVarType(int index)
void MoveEditXSecPnt(const std::string &xsec_id, const int &indx, const vec3d &new_pnt)
void EditXSecDelPnt(const std::string &xsec_id, const int &indx)
void EditXSecConvertTo(const std::string &xsec_id, const int &newtype)
std::vector< bool > GetEditXSecFixedUVec(const std::string &xsec_id)
void ConvertXSecToEdit(const std::string &geom_id, const int &indx=0)
void SetEditXSecFixedUVec(const std::string &xsec_id, std::vector< bool > fixed_u_vec)
std::vector< vec3d > GetEditXSecCtrlVec(const std::string &xsec_id, bool non_dimensional=true)
void SetEditXSecPnts(const std::string &xsec_id, const std::vector< double > &u_vec, const std::vector< vec3d > &control_pts, const std::vector< double > &r_vec)
int EditXSecSplit01(const std::string &xsec_id, const double &u)
std::vector< double > GetEditXSecUVec(const std::string &xsec_id)
void EditXSecInitShape(const std::string &xsec_id)
void ReparameterizeEditXSec(const std::string &xsec_id)
std::string GetFeaPartID(const std::string &fea_struct_id, int fea_part_index)
std::string GetFeaStructName(const std::string &geom_id, int fea_struct_ind)
std::vector< std::string > GetFeaSubSurfIDVec(const std::string &fea_struct_id)
void DeleteFeaPart(const std::string &geom_id, int fea_struct_ind, const std::string &part_id)
std::vector< std::string > GetFeaStructIDVec()
void DeleteFeaSubSurf(const std::string &geom_id, int fea_struct_ind, const std::string &ss_id)
int GetFeaSubSurfIndex(const string &ss_id)
int GetFeaPartType(const std::string &part_id)
int NumFeaParts(const std::string &fea_struct_id)
int NumFeaSubSurfs(const std::string &fea_struct_id)
void SetFeaMeshStructIndex(int struct_index)
void SetFeaMeshVal(const std::string &geom_id, int fea_struct_ind, int type, double val)
std::string AddFeaBC(const string &fea_struct_id, int type=-1)
void DeleteFeaStruct(const std::string &geom_id, int fea_struct_ind)
int GetFeaStructIndex(const std::string &struct_id)
void SetFeaSubSurfName(const std::string &subsurf_id, const std::string &name)
std::vector< std::string > GetFeaPartIDVec(const std::string &fea_struct_id)
std::string GetFeaStructParentGeomID(const std::string &struct_id)
void SetFeaPartName(const std::string &part_id, const std::string &name)
void SetFeaStructName(const std::string &geom_id, int fea_struct_ind, const std::string &name)
void ComputeFeaMesh(const std::string &geom_id, int fea_struct_ind, int file_type)
std::string GetFeaPartName(const std::string &part_id)
std::string GetFeaPartPerpendicularSparID(const std::string &part_id)
std::string AddFeaSubSurf(const std::string &geom_id, int fea_struct_ind, int type)
std::vector< std::string > GetFeaBCIDVec(const string &fea_struct_id)
std::string AddFeaProperty(int property_type=0)
void SetFeaMeshFileName(const std::string &geom_id, int fea_struct_ind, int file_type, const string &file_name)
void SetFeaPartPerpendicularSparID(const std::string &part_id, const std::string &perpendicular_spar_id)
void DelFeaBC(const string &fea_struct_id, const std::string &bc_id)
std::string AddFeaMaterial()
std::string AddFeaPart(const std::string &geom_id, int fea_struct_ind, int type)
int NumFeaBCs(const string &fea_struct_id)
std::string GetFeaSubSurfName(const std::string &subsurf_id)
int AddFeaStruct(const std::string &geom_id, bool init_skin=true, int surfindex=0)
std::string GetFeaStructID(const std::string &geom_id, int fea_struct_ind)
void ReadVSPFile(const std::string &file_name)
void SetVSP3FileName(const std::string &file_name)
void SetBEMPropID(const string &prop_id)
std::string ImportFile(const std::string &file_name, int file_type, const std::string &parent)
std::string ExportFile(const std::string &file_name, int thick_set, int file_type, int subsFlag=1, int thin_set=vsp::SET_NONE)
void WriteVSPFile(const std::string &file_name, int set=SET_ALL)
void InsertVSPFile(const std::string &file_name, const std::string &parent_geom_id)
void DeleteGeom(const std::string &geom_id)
std::string GetGeomName(const std::string &geom_id)
std::vector< std::string > GetGeomTypes()
vec3d GetGeomBBoxMax(const std::string &geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=true)
std::vector< std::string > GetGeomParmIDs(const std::string &geom_id)
int GetGeomVSPSurfType(const std::string &geom_id, int main_surf_ind=0)
std::vector< std::string > FindGeomsWithName(const std::string &name)
std::string FindGeom(const std::string &name, int index)
int GetTotalNumSurfs(const std::string &geom_id)
void UpdateGeom(const std::string &geom_id)
std::string GetGeomParent(const std::string &geom_id)
void SetDriverGroup(const std::string &geom_id, int section_index, int driver_0, int driver_1=-1, int driver_2=-1)
int GetNumMainSurfs(const std::string &geom_id)
std::vector< std::string > PasteGeomClipboard(const std::string &parent=std::string())
void CutGeomToClipboard(const std::string &geom_id)
std::vector< std::string > FindGeoms()
void SetGeomName(const std::string &geom_id, const std::string &name)
std::vector< std::string > GetGeomChildren(const std::string &geom_id)
std::string AddGeom(const std::string &type, const std::string &parent=std::string())
std::string GetGeomTypeName(const std::string &geom_id)
vec3d GetGeomBBoxMin(const std::string &geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=true)
void CopyGeomToClipboard(const std::string &geom_id)
int GetGeomVSPSurfCfdType(const std::string &geom_id, int main_surf_ind=0)
void DeleteGeomVec(const std::vector< std::string > &del_vec)
void TranslateSet(int set_index, const vec3d &translation_vec)
void TransformSet(int set_index, const vec3d &translation_vec, double x_rot_deg, double y_rot_deg, double z_rot_deg, double scale, bool scale_translations_flag)
void ScaleSet(int set_index, double scale)
void RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg)
string AddProbe(const string &geomid, int surfindx, double u, double w, const string &name)
void DelProbe(const string &id)
string AddRuler(const string &startgeomid, int startsurfindx, double startu, double startw, const string &endgeomid, int endsurfindx, double endu, double endw, const string &name)
std::vector< string > GetAllProbes()
std::vector< string > GetAllRulers()
void DelRuler(const string &id)
void SetPCurve(const std::string &geom_id, const int &pcurveid, const std::vector< double > &tvec, const std::vector< double > &valvec, const int &newtype)
std::vector< double > PCurveGetValVec(const std::string &geom_id, const int &pcurveid)
std::vector< double > PCurveGetTVec(const std::string &geom_id, const int &pcurveid)
void ApproximateAllPropellerPCurves(const std::string &geom_id)
void PCurveDeletePt(const std::string &geom_id, const int &pcurveid, const int &indx)
void ResetPropellerThicknessCurve(const std::string &geom_id)
int PCurveSplit(const std::string &geom_id, const int &pcurveid, const double &tsplit)
int PCurveGetType(const std::string &geom_id, const int &pcurveid)
void PCurveConvertTo(const std::string &geom_id, const int &pcurveid, const int &newtype)
void WriteBodyFFCSVFile(const std::string &file_name)
void AddExcrescence(const std::string &excresName, const int &excresType, const double &excresVal)
void UpdateParasiteDrag()
void WriteCfEqnCSVFile(const std::string &file_name)
void WritePartialCfMethodCSVFile(const std::string &file_name)
void WriteAtmosphereCSVFile(const std::string &file_name, const int &atmos_type)
void WriteWingFFCSVFile(const std::string &file_name)
void CalcAtmosphere(const double &alt, const double &delta_temp, const int &atmos_type, double &temp, double &pres, double &pres_ratio, double &rho_ratio)
void DeleteExcrescence(const int &index)
std::string GetVehicleID()
std::string GetUserParmContainer()
std::vector< std::string > FindContainerGroupNames(const std::string &parm_container_id)
std::vector< std::string > GetAllUserParms()
void DeleteUserParm(const std::string &id)
std::string FindContainer(const std::string &name, int index)
std::vector< std::string > FindContainerParmIDs(const std::string &parm_container_id)
int GetNumPredefinedUserParms()
std::vector< std::string > FindContainers()
std::vector< std::string > FindContainersWithName(const std::string &name)
std::string GetContainerName(const std::string &parm_container_id)
string AddUserParm(int type, const string &name, const string &group)
std::string FindParm(const std::string &parm_container_id, const std::string &parm_name, const std::string &group_name)
void SetParmUpperLimit(const std::string &parm_id, double val)
double GetParmLowerLimit(const std::string &parm_id)
std::string GetParmName(const std::string &parm_id)
int GetParmType(const std::string &parm_id)
bool ValidParm(const std::string &id)
std::string GetParmDescript(const std::string &parm_id)
int GetIntParmVal(const std::string &parm_id)
double SetParmVal(const std::string &parm_id, double val)
double SetParmValUpdate(const std::string &parm_id, double val)
double GetParmVal(const std::string &parm_id)
std::string GetParm(const std::string &geom_id, const std::string &name, const std::string &group)
void SetParmDescript(const std::string &parm_id, const std::string &desc)
double GetParmUpperLimit(const std::string &parm_id)
void SetParmLowerLimit(const std::string &parm_id, double val)
double SetParmValLimits(const std::string &parm_id, double val, double lower_limit, double upper_limit)
std::string GetParmDisplayGroupName(const std::string &parm_id)
bool GetBoolParmVal(const std::string &parm_id)
std::string GetParmGroupName(const std::string &parm_id)
std::string GetParmContainer(const std::string &parm_id)
int GetNumResults(const std::string &name)
int GetNumData(const std::string &results_id, const std::string &data_name)
void PrintResults(const std::string &results_id)
const std::vector< vec3d > & GetVec3dResults(const std::string &id, const std::string &name, int index=0)
std::vector< std::string > GetAllResultsNames()
void DeleteResult(const std::string &id)
std::string FindLatestResultsID(const std::string &name)
const std::vector< int > & GetIntResults(const std::string &id, const std::string &name, int index=0)
std::string GetResultsName(const std::string &results_id)
const std::vector< std::vector< double > > & GetDoubleMatResults(const std::string &id, const std::string &name, int index=0)
const std::vector< double > & GetDoubleResults(const std::string &id, const std::string &name, int index=0)
int GetResultsType(const std::string &results_id, const std::string &data_name)
std::string GetResultsSetDoc(const std::string &results_id)
std::vector< std::string > GetAllDataNames(const std::string &results_id)
void WriteResultsCSVFile(const std::string &id, const std::string &file_name)
std::string FindResultsID(const std::string &name, int index=0)
void PrintResultsDocs(const std::string &results_id)
std::string CreateGeomResults(const std::string &geom_id, const std::string &name)
const std::vector< std::string > & GetStringResults(const std::string &id, const std::string &name, int index=0)
void CopyPasteSet(int copyIndex, int pasteIndex)
void SetSetName(int index, const std::string &name)
bool GetSetFlag(const std::string &geom_id, int set_index)
std::vector< std::string > GetGeomSet(const std::string &name)
int GetSetIndex(const std::string &name)
std::vector< std::string > GetGeomSetAtIndex(int index)
void SetSetFlag(const std::string &geom_id, int set_index, bool flag)
std::string GetSetName(int index)
double ComputeMinClearanceDistance(const std::string &geom_id, int set=SET_ALL)
double SnapParm(const std::string &parm_id, double target_min_dist, bool inc_flag, int set=SET_ALL)
int GetNumSubSurf(const std::string &geom_id)
std::vector< std::string > GetSubSurfIDVec(const std::string &geom_id)
std::string GetSubSurfName(const std::string &geom_id, const std::string &sub_id)
std::vector< std::string > GetAllSubSurfIDs()
std::string AddSubSurf(const std::string &geom_id, int type, int surfindex=0)
void DeleteSubSurf(const std::string &geom_id, const std::string &sub_id)
int GetSubSurfType(const std::string &sub_id)
void SetSubSurfName(const std::string &geom_id, const std::string &sub_id, const std::string &name)
std::vector< std::string > GetSubSurfParmIDs(const std::string &sub_id)
int GetSubSurfIndex(const std::string &sub_id)
std::string GetSubSurf(const std::string &geom_id, int index)
void CompVecCurvature01(const std::string &geom_id, const int &surf_indx, const std::vector< double > &us, const std::vector< double > &ws, std::vector< double > &k1_out_vec, std::vector< double > &k2_out_vec, std::vector< double > &ka_out_vec, std::vector< double > &kg_out_vec)
vec3d CompTanU01(const std::string &geom_id, const int &surf_indx, const double &u, const double &w)
void AxisProjVecPnt01(const std::string &geom_id, const int &surf_indx, const int &iaxis, const std::vector< vec3d > &pts, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec)
double ProjPnt01(const std::string &geom_id, const int &surf_indx, const vec3d &pt, double &u_out, double &w_out)
vec3d CompPntRST(const std::string &geom_id, const int &surf_indx, const double &r, const double &s, const double &t)
void ConvertLMNtoRST(const std::string &geom_id, const int &surf_indx, const double &l, const double &m, const double &n, double &r_out, double &s_out, double &t_out)
void ProjVecPnt01Guess(const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, const std::vector< double > &u0s, const std::vector< double > &w0s, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec)
void ProjVecPnt01(const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec)
bool InsideSurf(const std::string &geom_id, const int &surf_indx, const vec3d &pt)
vec3d CompPnt01(const std::string &geom_id, const int &surf_indx, const double &u, const double &w)
void FindRSTVec(const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec, std::vector< double > &d_out_vec)
double ProjPnt01Guess(const std::string &geom_id, const int &surf_indx, const vec3d &pt, const double &u0, const double &w0, double &u_out, double &w_out)
void ConvertLMNtoRSTVec(const std::string &geom_id, const int &surf_indx, const std::vector< double > &l_vec, const std::vector< double > &m_vec, const std::vector< double > &n_vec, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec)
void ConvertRSTtoLMN(const std::string &geom_id, const int &surf_indx, const double &r, const double &s, const double &t, double &l_out, double &m_out, double &n_out)
vec3d CompTanW01(const std::string &geom_id, const int &surf_indx, const double &u, const double &w)
void AxisProjVecPnt01Guess(const std::string &geom_id, const int &surf_indx, const int &iaxis, const std::vector< vec3d > &pts, const std::vector< double > &u0s, const std::vector< double > &w0s, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec, std::vector< double > &d_out_vec)
void ConvertRSTtoLMNVec(const std::string &geom_id, const int &surf_indx, const std::vector< double > &r_vec, const std::vector< double > &s_vec, const std::vector< double > &t_vec, std::vector< double > &l_out_vec, std::vector< double > &m_out_vec, std::vector< double > &n_out_vec)
double ProjPnt01I(const std::string &geom_id, const vec3d &pt, int &surf_indx_out, double &u_out, double &w_out)
void FindRSTVecGuess(const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts, const std::vector< double > &r0s, const std::vector< double > &s0s, const std::vector< double > &t0s, std::vector< double > &r_out_vec, std::vector< double > &s_out_vec, std::vector< double > &t_out_vec, std::vector< double > &d_out_vec)
void ConvertRtoL(const std::string &geom_id, const int &surf_indx, const double &r, double &l_out)
std::vector< bool > VecInsideSurf(const std::string &geom_id, const int &surf_indx, const std::vector< vec3d > &pts)
std::vector< vec3d > CompVecPntRST(const std::string &geom_id, const int &surf_indx, const std::vector< double > &r_in_vec, const std::vector< double > &s_in_vec, const std::vector< double > &t_in_vec)
double AxisProjPnt01Guess(const std::string &geom_id, const int &surf_indx, const int &iaxis, const vec3d &pt, const double &u0, const double &w0, double &u_out, double &w_out)
double AxisProjPnt01I(const std::string &geom_id, const int &iaxis, const vec3d &pt, int &surf_indx_out, double &u_out, double &w_out)
void CompCurvature01(const std::string &geom_id, const int &surf_indx, const double &u, const double &w, double &k1_out, double &k2_out, double &ka_out, double &kg_out)
void ConvertLtoR(const std::string &geom_id, const int &surf_indx, const double &l, double &r_out)
void ConvertUtoEta(const std::string &geom_id, const double &u, double &eta_out)
double FindRST(const std::string &geom_id, const int &surf_indx, const vec3d &pt, double &r_out, double &s_out, double &t_out)
vec3d CompNorm01(const std::string &geom_id, const int &surf_indx, const double &u, const double &w)
void ConvertEtatoU(const std::string &geom_id, const double &eta, double &u_out)
std::vector< vec3d > CompVecNorm01(const std::string &geom_id, const int &surf_indx, const std::vector< double > &us, const std::vector< double > &ws)
std::vector< vec3d > CompVecPnt01(const std::string &geom_id, const int &surf_indx, const std::vector< double > &u_in_vec, const std::vector< double > &w_in_vec)
void GetUWTess01(const std::string &geom_id, const int &surf_indx, std::vector< double > &u_out_vec, std::vector< double > &w_out_vec)
double FindRSTGuess(const std::string &geom_id, const int &surf_indx, const vec3d &pt, const double &r0, const double &s0, const double &t0, double &r_out, double &s_out, double &t_out)
double AxisProjPnt01(const std::string &geom_id, const int &surf_indx, const int &iaxis, const vec3d &pt, double &u_out, double &w_out)
int GetNumUnsteadyGroups()
std::string GetUnsteadyGroupName(int group_index)
int GetNumUnsteadyRotorGroups()
std::vector< int > GetUnsteadyGroupSurfIndexes(int group_index)
std::vector< std::string > GetUnsteadyGroupCompIDs(int group_index)
int GetNumActuatorDisks()
std::string FindActuatorDisk(int disk_index)
std::string FindUnsteadyGroup(int group_index)
string GetVSPAERORefWingID()
string SetVSPAERORefWingID(const std::string &geom_id)
void AddVarPresetParm(const std::string &parm_id)
std::vector< std::string > GetVarPresetParmIDs()
bool DeleteVarPresetSet(const std::string &group_name, const std::string &setting_name)
std::vector< double > GetVarPresetParmValsWNames(const std::string &group_name, const std::string &setting_name)
std::string GetCurrentSettingName()
std::vector< std::string > GetVarPresetGroupNames()
std::vector< std::string > GetVarPresetParmIDsWName(const std::string &group_name)
std::vector< double > GetVarPresetParmVals()
void DeleteVarPresetParm(const std::string &parm_id)
void AddVarPresetGroup(const std::string &group_name)
std::string GetCurrentGroupName()
void AddVarPresetSetting(const std::string &setting_name)
void EditVarPresetParm(const std::string &parm_id, double parm_val)
std::vector< std::string > GetVarPresetSettingNamesWName(const std::string &group_name)
std::vector< std::string > GetVarPresetSettingNamesWIndex(int group_index)
void SwitchVarPreset(const std::string &group_name, const std::string &setting_name)
void VSPExit(int error_code)
int GetAndResetUpdateCount()
void Update(bool update_managers=true)
std::string GetVSPFileName()
void VSPCrash(int crash_type)
void PopupMsg(const std::string &msg)
bool IsEventLoopRunning()
void SetViewAxis(bool vaxis)
void SetGeomMaterialName(const string &geom_id, const string &name)
void SetGeomDisplayType(const string &geom_id, int type)
void SetShowBorders(bool brdr)
vector< string > GetMaterialNames()
void SetGUIElementDisable(int e, bool state)
void SetWindowLayout(int r, int c)
void SetAllViews(int view)
void SetView(int viewport, int view)
void SetGeomScreenDisable(int s, bool state)
void SetGeomDrawType(const string &geom_id, int type)
void SetGeomWireColor(const string &geom_id, int r, int g, int b)
void SetBackground(double r, double g, double b)
void DisableStopGUIMenuItem()
void ScreenGrab(const string &fname, int w, int h, bool transparentBG, bool autocrop=false)
void EnableStopGUIMenuItem()
void SetGUIScreenDisable(int s, bool state)
void AddMaterial(const string &name, const vec3d &ambient, const vec3d &diffuse, const vec3d &specular, const vec3d &emissive, const double &alpha, const double &shininess)
void InsertXSec(const std::string &geom_id, int index, int type)
std::vector< vec3d > ReadFileXSec(const std::string &xsec_id, const std::string &file_name)
void SetXSecContinuity(const std::string &xsec_id, int cx)
int GetLowerCSTDegree(const std::string &xsec_id)
void SetXSecWidthHeight(const std::string &xsec_id, double w, double h)
void SetXSecPnts(const std::string &xsec_id, std::vector< vec3d > &pnt_vec)
void DemoteCSTUpper(const std::string &xsec_id)
std::vector< vec3d > GetAirfoilLowerPnts(const std::string &xsec_id)
void SetXSecWidth(const std::string &xsec_id, double w)
double GetXSecWidth(const std::string &xsec_id)
std::vector< std::string > GetXSecParmIDs(const std::string &xsec_id)
std::vector< vec3d > GetFeatureLinePnts(const string &geom_id)
void SetXSecHeight(const std::string &xsec_id, double h)
void SetLowerCST(const std::string &xsec_id, int deg, const std::vector< double > &coefs)
void PasteXSec(const std::string &geom_id, int index)
std::vector< double > GetUpperCSTCoefs(const std::string &xsec_id)
vec3d ComputeXSecTan(const std::string &xsec_id, double fract)
void SetAirfoilPnts(const std::string &xsec_id, const std::vector< vec3d > &up_pnt_vec, const std::vector< vec3d > &low_pnt_vec)
std::string GetXSecParm(const std::string &xsec_id, const std::string &name)
std::vector< vec3d > GetAirfoilCoordinates(const std::string &geom_id, const double &foilsurf_u)
void PromoteCSTUpper(const std::string &xsec_id)
void PromoteCSTLower(const std::string &xsec_id)
std::vector< double > GetVKTAirfoilCpDist(const double &alpha, const double &epsilon, const double &kappa, const double &tau, const std::vector< vec3d > &xyz_data)
void DemoteCSTLower(const std::string &xsec_id)
void FitAfCST(const std::string &xsec_surf_id, int xsec_index, int deg)
void CopyXSec(const std::string &geom_id, int index)
vec3d ComputeXSecPnt(const std::string &xsec_id, double fract)
std::vector< double > GetLowerCSTCoefs(const std::string &xsec_id)
void SetXSecTanStrengths(const std::string &xsec_id, int side, double top, double right, double bottom, double left)
void ReadFileAirfoil(const std::string &xsec_id, const std::string &file_name)
void SetXSecTanAngles(const std::string &xsec_id, int side, double top, double right, double bottom, double left)
std::vector< vec3d > GetHersheyBarDragDist(const int &npts, const double &alpha, const double &Vinf, const double &span, bool full_span_flag=false)
void ResetXSecSkinParms(const std::string &xsec_id)
std::vector< vec3d > GetAirfoilUpperPnts(const std::string &xsec_id)
std::vector< vec3d > GetHersheyBarLiftDist(const int &npts, const double &alpha, const double &Vinf, const double &span, bool full_span_flag=false)
std::vector< vec3d > GetVKTAirfoilPnts(const int &npts, const double &alpha, const double &epsilon, const double &kappa, const double &tau)
std::vector< vec3d > GetEllipsoidSurfPnts(const vec3d ¢er, const vec3d &abc_rad, int u_npts=20, int w_npts=20)
void CutXSec(const std::string &geom_id, int index)
std::vector< double > GetEllipsoidCpDist(const std::vector< vec3d > &surf_pnt_vec, const vec3d &abc_rad, const vec3d &V_inf)
void SetAirfoilLowerPnts(const std::string &xsec_id, const std::vector< vec3d > &low_pnt_vec)
void SetAirfoilUpperPnts(const std::string &xsec_id, const std::vector< vec3d > &up_pnt_vec)
int GetXSecShape(const std::string &xsec_id)
void SetXSecTanSlews(const std::string &xsec_id, int side, double top, double right, double bottom, double left)
void WriteBezierAirfoil(const std::string &file_name, const std::string &geom_id, const double &foilsurf_u)
int GetUpperCSTDegree(const std::string &xsec_id)
void SetXSecCurvatures(const std::string &xsec_id, int side, double top, double right, double bottom, double left)
double GetXSecHeight(const std::string &xsec_id)
void WriteSeligAirfoil(const std::string &file_name, const std::string &geom_id, const double &foilsurf_u)
void SetUpperCST(const std::string &xsec_id, int deg, const std::vector< double > &coefs)
std::string GetXSecSurf(const std::string &geom_id, int index)
void SetXSecSurfGlobalXForm(const std::string &xsec_surf_id, const Matrix4d &mat)
std::string GetXSec(const std::string &xsec_surf_id, int xsec_index)
int GetNumXSecSurfs(const std::string &geom_id)
Matrix4d GetXSecSurfGlobalXForm(const std::string &xsec_surf_id)
int GetNumXSec(const std::string &xsec_surf_id)
void ChangeXSecShape(const std::string &xsec_surf_id, int xsec_index, int type)