OpenVSPAPI  3.21.0
openvsp_as.h
Go to the documentation of this file.
1 
190 
193 class string
194 {
195 public:
196 #ifndef DOXYGEN_SHOULD_SKIP_THIS
197  // Methods
198  string& operator=(const string&in);
199  string& operator+=(const string&in);
200  bool operator==(const string&in) const;
201  int operator>(const string&in) const;
202  string operator+(const string&in) const;
203  uint length() const;
204  void resize(uint);
205  uint get_length() const;
206  void set_length(uint);
207  bool isEmpty() const;
208  uint8& operator[](uint);
209  const uint8& operator[](uint) const;
210  string& operator=(double);
211  string& operator+=(double);
212  string operator+(double) const;
213  string operator+(double) const;
214  string& operator=(float);
215  string& operator+=(float);
216  string operator+(float) const;
217  string operator+(float) const;
218  string& operator=(int64);
219  string& operator+=(int64);
220  string operator+(int64) const;
221  string operator+(int64) const;
222  string& operator=(uint64);
223  string& operator+=(uint64);
224  string operator+(uint64) const;
225  string operator+(uint64) const;
226  string& operator=(bool);
227  string& operator+=(bool);
228  string operator+(bool) const;
229  string operator+(bool) const;
230  string substr(uint start = 0, int count = - 1) const;
231  int findFirst(const string&in, uint start = 0) const;
232  int findFirstOf(const string&in, uint start = 0) const;
233  int findFirstNotOf(const string&in, uint start = 0) const;
234  int findLast(const string&in, int start = - 1) const;
235  int findLastOf(const string&in, int start = - 1) const;
236  int findLastNotOf(const string&in, int start = - 1) const;
237  void insert(uint pos, const string&in other);
238  void erase(uint pos, int count = - 1);
239  uint size() const;
240  bool empty() const;
241  int find(const string&in, uint start = 0) const;
242  int rfind(const string&in, int start = - 1) const;
243  string[]@ split(const string&in) const;
244 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
245 };
246 
247 
249 
251 template<typename T>
252 class array
253 {
254 public:
255 #ifndef DOXYGEN_SHOULD_SKIP_THIS
256  // Methods
257  T& operator[](uint index);
258  const T& operator[](uint index) const;
259  T[]& operator=(const T[]&in);
260  void insertAt(uint index, const T&in value);
261  void insertAt(uint index, const T[]&inout arr);
262  void insertLast(const T&in value);
263  void removeAt(uint index);
264  void removeLast();
265  void removeRange(uint start, uint count);
266  uint length() const;
267  void reserve(uint length);
268  void resize(uint length);
269  void sortAsc();
270  void sortAsc(uint startAt, uint count);
271  void sortDesc();
272  void sortDesc(uint startAt, uint count);
273  void reverse();
274  int find(const T&in value) const;
275  int find(uint startAt, const T&in value) const;
276  int findByRef(const T&in value) const;
277  int findByRef(uint startAt, const T&in value) const;
278  bool operator==(const T[]&in) const;
279  bool isEmpty() const;
280  uint get_length() const;
281  void set_length(uint);
282  uint size() const;
283  bool empty() const;
284  void push_back(const T&in);
285  void pop_back();
286  void insert(uint index, const T&in value);
287  void insert(uint index, const T[]&inout arr);
288  void erase(uint);
289 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
290 };
291 
292 
294 
296 class file
297 {
298 public:
299 #ifndef DOXYGEN_SHOULD_SKIP_THIS
300  // Properties
301  bool mostSignificantByteFirst;
302  // Methods
303  int open(const string&in, const string&in);
304  int close();
305  int getSize() const;
306  bool isEndOfFile() const;
307  string readString(uint);
308  string readLine();
309  int64 readInt(uint);
310  uint64 readUInt(uint);
311  float readFloat();
312  double readDouble();
313  int writeString(const string&in);
314  int writeInt(int64, uint);
315  int writeUInt(uint64, uint);
316  int writeFloat(float);
317  int writeDouble(double);
318  int getPos() const;
319  int setPos(int);
320  int movePos(int);
321 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
322 };
323 
324 
326 
328 class any
329 {
330 public:
331 #ifndef DOXYGEN_SHOULD_SKIP_THIS
332  // Methods
333  any& operator=(any&in);
334  void store(?&in);
335  void store(const int64&in);
336  void store(const double&in);
337  bool retrieve(?&out);
338  bool retrieve(int64&out);
339  bool retrieve(double&out);
340 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
341 };
342 
343 
345 
349 class vec3d
350 {
351 public:
352  // Methods
353 
357  double& operator[](int) const;
358 
374  double x() const;
375 
391  double y() const;
392 
408  double z() const;
409 
423  vec3d& set_xyz(double x, double y, double z);
424 
436  vec3d& set_x(double x);
437 
449  vec3d& set_y(double y);
450 
462  vec3d& set_z(double z);
463 
479  void rotate_x(double cos_alpha, double sin_alpha);
480 
496  void rotate_y(double cos_alpha, double sin_alpha);
497 
513  void rotate_z(double cos_alpha, double sin_alpha);
514 
528  void scale_x(double scale);
529 
543  void scale_y(double scale);
544 
558  void scale_z(double scale);
559 
573  void offset_x(double offset);
574 
588  void offset_y(double offset);
589 
603  void offset_z(double offset);
604 
610  void rotate_z_zero_x(double cos_alpha, double sin_alpha);
611 
617  void rotate_z_zero_y(double cos_alpha, double sin_alpha);
618 
632  vec3d reflect_xy();
633 
647  vec3d reflect_xz();
648 
662  vec3d reflect_yz();
663 
679  vec3d operator+(const vec3d&in) const;
680 
696  vec3d operator-(const vec3d&in) const;
697 
714  vec3d operator*(double b) const;
715 
731  vec3d operator*(const vec3d&in) const;
732 
749  vec3d operator/(double b) const;
750 
764  double mag() const;
765 
781  void normalize();
782 };
783 
784 
786 
789 class Matrix4d
790 {
791 public:
792  // Methods
793 
804  void loadIdentity();
805 
821  void translatef(const double&in x, const double&in y, const double&in z);
822 
835  void rotateX(const double&in ang);
836 
849  void rotateY(const double&in ang);
850 
863  void rotateZ(const double&in ang);
864 
878  void rotate(const double&in ang, const vec3d&in axis);
879 
892  void scale(const double&in scale);
893 
906  vec3d xform(const vec3d&in v);
907 
921  vec3d getAngles();
922 
934  void loadXZRef();
935 
947  void loadXYRef();
948 
960  void loadYZRef();
961 
979  void affineInverse();
980 
987  void buildXForm(const vec3d&in pos, const vec3d&in rot, const vec3d&in cent_rot);
988 };
989 
990 
992 
995 class ErrorObj
996 {
997 public:
998  // Methods
999 
1011 
1024  string GetErrorString();
1025 };
1026 
1027 
1033 {
1034  ABS = 0,
1035  REL = 1
1036 };
1037 
1043 {
1046 };
1047 
1053 {
1054  ANG_RAD = 0,
1055  ANG_DEG = 1
1056 };
1057 
1063 {
1070 };
1071 
1077 {
1081 };
1082 
1088 {
1092 };
1093 
1099 {
1104 };
1105 
1111 {
1112  MAX_CAMB = 0,
1114 };
1115 
1121 {
1128 };
1129 
1135 {
1162 };
1163 
1169 {
1183 };
1184 
1190 {
1197 };
1198 
1204 {
1207 };
1208 
1214 {
1236 };
1237 
1243 {
1247 };
1248 
1254 {
1266  CFD_OBJ_TYPE = 1024,
1267  CFD_DAT_TYPE = 2048,
1268  CFD_KEY_TYPE = 4096,
1269  CFD_GMSH_TYPE = 8192,
1270  CFD_SRF_TYPE = 16384,
1271  CFD_TKEY_TYPE = 32768,
1276  CFD_FACET_TYPE = 1048576,
1277  CFD_CURV_TYPE = 2097152,
1278  CFD_PLOT3D_TYPE = 4194304
1279 };
1280 
1286 {
1292 };
1293 
1299 {
1300  SET_3D = 0,
1301  SET_2D = 1
1302 };
1303 
1309 {
1310  X_DIR = 0,
1311  Y_DIR = 1,
1312  Z_DIR = 2
1313 };
1314 
1320 {
1325 };
1326 
1332 {
1338 };
1339 
1345 {
1346  VSP_OK = 0,
1368 };
1369 
1375 {
1381 };
1382 
1388 {
1399  EXPORT_X3D = 10,
1403  EXPORT_BEM = 14,
1404  EXPORT_DXF = 15,
1406  EXPORT_SVG = 17,
1408  EXPORT_OBJ = 19,
1413 };
1414 
1420 {
1427 };
1428 
1434 {
1447 };
1448 
1454 {
1456  FEA_BEAM = 1,
1458 };
1459 
1465 {
1467  FEA_RIB = 1,
1468  FEA_SPAR = 2,
1470  FEA_DOME = 4,
1473  FEA_SKIN = 7,
1475 };
1476 
1482 {
1483  XY_BODY = 0,
1484  YZ_BODY = 1,
1485  XZ_BODY = 2,
1486  XY_ABS = 3,
1487  YZ_ABS = 4,
1488  XZ_ABS = 5,
1490 };
1491 
1497 {
1498  SI_UNIT = 0,
1499  CGS_UNIT = 1,
1500  MPA_UNIT = 2,
1501  BFT_UNIT = 3,
1503 };
1504 
1510 {
1521 };
1522 
1528 {
1543 };
1544 
1550 {
1553 };
1554 
1559 enum GDEV
1560 {
1561  GDEV_TAB = 0,
1584  GDEV_YGAP = 24,
1590 };
1591 
1597 {
1598  MALE = 0,
1599  FEMALE = 1
1600 };
1601 
1607 {
1617 };
1618 
1624 {
1628 };
1629 
1635 {
1642 };
1643 
1649 {
1650  LEN_MM = 0,
1651  LEN_CM = 1,
1652  LEN_M = 2,
1653  LEN_IN = 3,
1654  LEN_FT = 4,
1655  LEN_YD = 5,
1657 };
1658 
1664 {
1671 };
1672 
1678 {
1685 };
1686 
1692 {
1699 };
1700 
1706 {
1707  LINEAR = 0,
1708  PCHIP = 1,
1709  CEDIT = 2,
1712 };
1713 
1719 {
1731 };
1732 
1738 {
1743 };
1744 
1750 {
1751  X_PROJ = 0,
1752  Y_PROJ = 1,
1753  Z_PROJ = 2,
1755  VEC_PROJ = 4,
1757 };
1758 
1764 {
1768 };
1769 
1775 {
1779 };
1780 
1786 {
1793  PROP_CLI = 6,
1797 };
1798 
1804 {
1808 };
1809 
1815 {
1817  INT_DATA = 0,
1822 };
1823 
1829 {
1834 };
1835 
1841 {
1848 };
1849 
1855 {
1856  SET_ALL = 0,
1860 };
1861 
1867 {
1870 };
1871 
1877 {
1881 };
1882 
1888 {
1889  INSIDE = 0,
1890  OUTSIDE = 1,
1891  NONE = 2
1892 };
1893 
1899 {
1900  CONST_U = 0,
1901  CONST_W = 1
1902 };
1903 
1909 {
1910  SS_LINE = 0,
1916 };
1917 
1923 {
1924  SYM_XY = 1,
1925  SYM_XZ = 2,
1926  SYM_YZ = 4,
1928  SYM_ROT_Y = 16,
1929  SYM_ROT_Z = 32,
1932 };
1933 
1939 {
1940  SYM_NONE = 0,
1941  SYM_RL = 1
1942 };
1943 
1949 {
1954 };
1955 
1961 {
1969 };
1970 
1976 {
1977  VIEW_1 = 0,
1980  VIEW_4 = 3
1981 };
1982 
1988 {
1989  ROT_0 = 0,
1990  ROT_90 = 1,
1991  ROT_180 = 2,
1992  ROT_270 = 3
1993 };
1994 
2000 {
2003  VIEW_TOP = 2,
2008 };
2009 
2015 {
2017  PANEL = 1
2018 };
2019 
2025 {
2029  NOISE_SI = 0,
2031 };
2032 
2038 {
2042 };
2043 
2049 {
2055 };
2056 
2062 {
2069 };
2070 
2076 {
2082 };
2083 
2089 {
2099 };
2100 
2106 {
2119 };
2120 
2126 {
2127  XDDM_VAR = 0,
2129 };
2130 
2136 {
2143 };
2144 
2150 {
2152  XS_POINT = 0,
2162  XS_WEDGE = 10,
2172 };
2173 
2179 {
2183 };
2184 
2190 {
2192  TRIM_X = 1,
2195 };
2196 
2202 {
2209 };
2210 
2216 {
2220 };
2221 
2222 string formatInt(int64 val, const string&in options = "", uint width = 0);
2223 string formatUInt(uint64 val, const string&in options = "", uint width = 0);
2224 string formatFloat(double val, const string&in options = "", uint width = 0, uint precision = 0);
2225 int64 parseInt(const string&in, uint base = 10, uint&out byteCount = 0);
2226 uint64 parseUInt(const string&in, uint base = 10, uint&out byteCount = 0);
2227 double parseFloat(const string&in, uint&out byteCount = 0);
2228 string join(const string[]&in, const string&in);
2229 float fpFromIEEE(uint);
2230 uint fpToIEEE(float);
2231 double fpFromIEEE(uint64);
2232 uint64 fpToIEEE(double);
2233 bool closeTo(float, float, float = 0.00001f);
2234 bool closeTo(double, double, double = 0.0000000001);
2235 float cos(float);
2236 float sin(float);
2237 float tan(float);
2238 float acos(float);
2239 float asin(float);
2240 float atan(float);
2241 float atan2(float, float);
2242 float cosh(float);
2243 float sinh(float);
2244 float tanh(float);
2245 float log(float);
2246 float log10(float);
2247 float pow(float, float);
2248 float sqrt(float);
2249 float ceil(float);
2250 float abs(float);
2251 float floor(float);
2252 float fraction(float);
2253 
2277 double dist(const vec3d&in a, const vec3d&in b);
2278 
2302 double dist_squared(const vec3d&in a, const vec3d&in b);
2303 
2324 double dot(const vec3d&in a, const vec3d&in b);
2325 
2348 vec3d cross(const vec3d&in a, const vec3d&in b);
2349 
2370 double angle(const vec3d&in a, const vec3d&in b);
2371 
2394 double signed_angle(const vec3d&in a, const vec3d&in b, const vec3d&in ref);
2395 
2420 double cos_angle(const vec3d&in a, const vec3d&in b);
2421 
2444 vec3d RotateArbAxis(const vec3d&in p, double theta, const vec3d&in axis);
2445 
2465 string AddParm(int type, const string&in name, const string&in group);
2466 
2483 string GetCurrCustomGeom();
2484 
2494 string GetCustomParm(int index);
2495 
2528 int AddGui(int type, const string&in label = string ( ), const string&in parm_name = string ( ), const string&in group_name = string ( ), double range = 10.0);
2529 
2555 void UpdateGui(int gui_id, const string&in parm_id);
2556 
2577 string AddXSecSurf();
2578 
2611 void RemoveXSecSurf(const string&in xsec_id);
2612 
2628 void ClearXSecSurfs();
2629 
2659 void SkinXSecSurf(bool closed_flag = false);
2660 
2687 void CloneSurf(int index, Matrix4d&in mat);
2688 
2698 void TransformSurf(int index, Matrix4d&in mat);
2699 
2721 void SetVspSurfType(int type, int surf_index = - 1);
2722 
2744 void SetVspSurfCfdType(int type, int surf_index = - 1);
2745 
2770 void SetCustomXSecLoc(const string&in xsec_id, const vec3d&in loc);
2771 
2797 vec3d GetCustomXSecLoc(const string&in xsec_id);
2798 
2816 void SetCustomXSecRot(const string&in xsec_id, const vec3d&in rot);
2817 
2841 vec3d GetCustomXSecRot(const string&in xsec_id);
2842 
2852 bool CheckClearTriggerEvent(int gui_id);
2853 
2886 void SetupCustomDefaultSource(int type, int surf_index, double l1, double r1, double u1, double w1, double l2 = 0, double r2 = 0, double u2 = 0, double w2 = 0);
2887 
2901 
2921 void SetCustomCenter(double x, double y, double z);
2922 
2948 string AppendXSec(const string&in xsec_surf_id, int type);
2949 
2975 string AppendCustomXSec(const string&in xsec_surf_id, int type);
2976 
2987 void CutCustomXSec(const string&in xsec_surf_id, int index);
2988 
2999 void CopyCustomXSec(const string&in xsec_surf_id, int index);
3000 
3011 void PasteCustomXSec(const string&in xsec_surf_id, int index);
3012 
3024 string InsertCustomXSec(const string&in xsec_surf_id, int type, int index);
3025 
3043 void AddInput(const string&in parm_id, const string&in var_name);
3044 
3062 void AddOutput(const string&in parm_id, const string&in var_name);
3063 
3083 void SetVar(const string&in var_name, double val);
3084 
3108 double GetVar(const string&in var_name);
3109 
3126 bool GetErrorLastCallFlag();
3127 
3144 int GetNumTotalErrors();
3145 
3163 
3179 
3199 void ScreenGrab(const string&in file_name, int w, int h, bool transparentBG);
3200 
3212 void SetViewAxis(bool vaxis);
3213 
3225 void SetShowBorders(bool brdr);
3226 
3242 void SetGeomDrawType(const string&in geom_id, int type);
3243 
3259 void SetGeomDisplayType(const string&in geom_id, int type);
3260 
3274 void SetBackground(double r, double g, double b);
3275 
3294 void Update();
3295 
3304 void VSPExit(int error_code);
3305 
3320 void ClearVSPModel();
3321 
3346 string GetVSPFileName();
3347 
3379 void ReadVSPFile(const string&in file_name);
3380 
3413 void WriteVSPFile(const string&in file_name, int set);
3414 
3446 void SetVSP3FileName(const string&in file_name);
3447 
3458 void InsertVSPFile(const string&in file_name, const string&in parent);
3459 
3476 void ExportFile(const string&in file_name, int write_set_index, int file_type);
3477 
3490 string ImportFile(const string&in file_name, int file_type, const string&in parent);
3491 
3500 void ReadApplyDESFile(const string&in file_name);
3501 
3510 void WriteDESFile(const string&in file_name);
3511 
3520 void ReadApplyXDDMFile(const string&in file_name);
3521 
3530 void WriteXDDMFile(const string&in file_name);
3531 
3540 int GetNumDesignVars();
3541 
3552 void AddDesignVar(const string&in parm_id, int type);
3553 
3561 void DeleteAllDesignVars();
3562 
3572 string GetDesignVar(int index);
3573 
3584 int GetDesignVarType(int index);
3585 
3609 string ComputeMassProps(int set, int num_slices);
3610 
3634 string ComputeCompGeom(int set, bool half_mesh, int file_export_types);
3635 
3664 string ComputePlaneSlice(int set, int num_slices, const vec3d&in norm, bool auto_bnd, double start_bnd = 0, double end_bnd = 0);
3665 
3683 void ComputeDegenGeom(int set, int file_type);
3684 
3702 void SetComputationFileName(int file_type, const string&in file_name);
3703 
3722 void ComputeCFDMesh(int set, int file_type);
3723 
3737 void SetCFDMeshVal(int type, double val);
3738 
3755 void SetCFDWakeFlag(const string&in geom_id, bool flag);
3756 
3772 void DeleteAllCFDSources();
3773 
3787 void AddDefaultSources();
3788 
3814 void AddCFDSource(int type, const string&in 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);
3815 
3829 int GetNumAnalysis();
3830 
3849 string[]@ ListAnalysis();
3850 
3872 string[]@ GetAnalysisInputNames(const string&in analysis);
3873 
3888 string ExecAnalysis(const string&in analysis);
3889 
3900 int GetNumAnalysisInputData(const string&in analysis, const string&in name);
3901 
3923 int GetAnalysisInputType(const string&in analysis, const string&in name);
3924 
3948 int[]@ GetIntAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3949 
3969 double[]@ GetDoubleAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3970 
3990 string[]@ GetStringAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3991 
4012 vec3d[]@ GetVec3dAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4013 
4029 void PrintAnalysisInputs(const string&in analysis);
4030 
4046 void SetAnalysisInputDefaults(const string&in analysis);
4047 
4071 void SetIntAnalysisInput(const string&in analysis, const string&in name, int[]@ indata_arr, int index = 0);
4072 
4097 void SetDoubleAnalysisInput(const string&in analysis, const string&in name, double[]@ indata_arr, int index = 0);
4098 
4118 void SetStringAnalysisInput(const string&in analysis, const string&in name, string[]@ indata_arr, int index = 0);
4119 
4140 void SetVec3dAnalysisInput(const string&in analysis, const string&in name, vec3d[]@ indata_arr, int index = 0);
4141 
4157 int GetNumResults(const string&in name);
4158 
4181 string GetResultsName(const string&in results_id);
4182 
4201 string FindResultsID(const string&in name, int index = 0);
4202 
4224 string FindLatestResultsID(const string&in name);
4225 
4252 int GetNumData(const string&in results_id, const string&in data_name);
4253 
4278 int GetResultsType(const string&in results_id, const string&in data_name);
4279 
4300 string[]@ GetAllResultsNames();
4301 
4321 string[]@ GetAllDataNames(const string&in results_id);
4322 
4350 int[]@ GetIntResults(const string&in id, const string&in name, int index = 0);
4351 
4374 double[]@ GetDoubleResults(const string&in id, const string&in name, int index = 0);
4375 
4387 double[]@[]@ GetDoubleMatResults(const string&in id, const string&in name, int index = 0);
4388 
4410 string[]@ GetStringResults(const string&in id, const string&in name, int index = 0);
4411 
4433 vec3d[]@ GetVec3dResults(const string&in id, const string&in name, int index = 0);
4434 
4458 string CreateGeomResults(const string&in geom_id, const string&in name);
4459 
4480 void DeleteAllResults();
4481 
4503 void DeleteResult(const string&in id);
4504 
4524 void WriteResultsCSVFile(const string&in id, const string&in file_name);
4525 
4545 void PrintResults(const string&in id);
4546 
4560 void WriteTestResults();
4561 
4579 string[]@ GetGeomTypes();
4580 
4595 string AddGeom(const string&in type, const string&in parent = string ( ));
4596 
4617 void UpdateGeom(const string&in geom_id);
4618 
4636 void DeleteGeom(const string&in geom_id);
4637 
4656 void DeleteGeomVec(string[]@ del_arr);
4657 
4680 void CutGeomToClipboard(const string&in geom_id);
4681 
4704 void CopyGeomToClipboard(const string&in geom_id);
4705 
4728 string[]@ PasteGeomClipboard(const string&in parent_id = "");
4729 
4748 string[]@ FindGeoms();
4749 
4773 string[]@ FindGeomsWithName(const string&in name);
4774 
4801 string FindGeom(const string&in name, int index);
4802 
4825 void SetGeomName(const string&in geom_id, const string&in name);
4826 
4846 string GetGeomName(const string&in geom_id);
4847 
4867 string[]@ GetGeomParmIDs(const string&in geom_id);
4868 
4889 int GetGeomVSPSurfCfdType(const string&in geom_id, int main_surf_ind = 0);
4890 
4911 int GetGeomVSPSurfType(const string&in geom_id, int main_surf_ind = 0);
4912 
4930 string GetGeomTypeName(const string&in geom_id);
4931 
4952 int GetNumMainSurfs(const string&in geom_id);
4953 
4974 int GetTotalNumSurfs(const string&in geom_id);
4975 
5000 vec3d GetGeomBBoxMax(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5001 
5026 vec3d GetGeomBBoxMin(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5027 
5047 string GetGeomParent(const string&in geom_id);
5048 
5076 string[]@ GetGeomChildren(const string&in geom_id);
5077 
5098 string AddSubSurf(const string&in geom_id, int type, int surfindex = 0);
5099 
5125 void DeleteSubSurf(const string&in geom_id, const string&in sub_id);
5126 
5151 void DeleteSubSurf(const string&in sub_id);
5152 
5176 string GetSubSurf(const string&in geom_id, int index);
5177 
5201 string[]@ GetSubSurf(const string&in geom_id, const string&in name);
5202 
5222 void SetSubSurfName(const string&in geom_id, const string&in sub_id, const string&in name);
5223 
5242 void SetSubSurfName(const string&in sub_id, const string&in name);
5243 
5265 string GetSubSurfName(const string&in geom_id, const string&in sub_id);
5266 
5287 string GetSubSurfName(const string&in sub_id);
5288 
5310 int GetSubSurfIndex(const string&in sub_id);
5311 
5346 string[]@ GetSubSurfIDVec(const string&in geom_id);
5347 
5356 string[]@ GetAllSubSurfIDs();
5357 
5379 int GetNumSubSurf(const string&in geom_id);
5380 
5416 int GetSubSurfType(const string&in sub_id);
5417 
5443 string[]@ GetSubSurfParmIDs(const string&in sub_id);
5444 
5502 
5533 
5556 
5574 void AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex);
5575 
5595 void RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex);
5596 
5625 string[]@ GetActiveCSNameVec(int CSGroupIndex);
5626 
5651 string[]@ GetCompleteCSNameVec();
5652 
5676 string[]@ GetAvailableCSNameVec(int CSGroupIndex);
5677 
5700 void SetVSPAEROControlGroupName(const string&in name, int CSGroupIndex);
5701 
5723 string GetVSPAEROControlGroupName(int CSGroupIndex);
5724 
5755 void AddSelectedToCSGroup(int[]@ selected, int CSGroupIndex);
5756 
5783 void RemoveSelectedFromCSGroup(int[]@ selected, int CSGroupIndex);
5784 
5793 string GetVSPAERORefWingID();
5794 
5825 string SetVSPAERORefWingID(const string&in geom_id);
5826 
5853 string FindActuatorDisk(int disk_index);
5854 
5877 string FindUnsteadyGroup(int group_index);
5878 
5904 string GetUnsteadyGroupName(int group_index);
5905 
5931 string[]@ GetUnsteadyGroupCompIDs(int group_index);
5932 
5958 int[]@ GetUnsteadyGroupSurfIndexes(int group_index);
5959 
5988 void SetDriverGroup(const string&in geom_id, int section_index, int driver_0, int driver_1, int driver_2);
5989 
6007 int GetNumXSecSurfs(const string&in geom_id);
6008 
6026 string GetXSecSurf(const string&in geom_id, int index);
6027 
6056 int GetNumXSec(const string&in xsec_surf_id);
6057 
6078 string GetXSec(const string&in xsec_surf_id, int xsec_index);
6079 
6102 void ChangeXSecShape(const string&in xsec_surf_id, int xsec_index, int type);
6103 
6113 void SetXSecSurfGlobalXForm(const string&in xsec_surf_id, const Matrix4d&in mat);
6114 
6124 Matrix4d GetXSecSurfGlobalXForm(const string&in xsec_surf_id);
6125 
6148 void CutXSec(const string&in geom_id, int index);
6149 
6170 void CopyXSec(const string&in geom_id, int index);
6171 
6192 void PasteXSec(const string&in geom_id, int index);
6193 
6211 void InsertXSec(const string&in geom_id, int index, int type);
6212 
6236 int GetXSecShape(const string&in xsec_id);
6237 
6260 double GetXSecWidth(const string&in xsec_id);
6261 
6284 double GetXSecHeight(const string&in xsec_id);
6285 
6308 void SetXSecWidth(const string&in xsec_id, double w);
6309 
6332 void SetXSecHeight(const string&in xsec_id, double h);
6333 
6358 void SetXSecWidthHeight(const string&in xsec_id, double w, double h);
6359 
6381 string[]@ GetXSecParmIDs(const string&in xsec_id);
6382 
6407 string GetXSecParm(const string&in xsec_id, const string&in name);
6408 
6431 vec3d[]@ ReadFileXSec(const string&in xsec_id, const string&in file_name);
6432 
6462 void SetXSecPnts(const string&in xsec_id, vec3d[]@ pnt_arr);
6463 
6495 vec3d ComputeXSecPnt(const string&in xsec_id, double fract);
6496 
6530 vec3d ComputeXSecTan(const string&in xsec_id, double fract);
6531 
6554 void ResetXSecSkinParms(const string&in xsec_id);
6555 
6579 void SetXSecContinuity(const string&in xsec_id, int cx);
6580 
6611 void SetXSecTanAngles(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6612 
6643 void SetXSecTanSlews(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6644 
6676 void SetXSecTanStrengths(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6677 
6709 void SetXSecCurvatures(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6710 
6732 void ReadFileAirfoil(const string&in xsec_id, const string&in file_name);
6733 
6769 void SetAirfoilPnts(const string&in xsec_id, vec3d[]@ up_pnt_vec, vec3d[]@ low_pnt_vec);
6770 
6799 vec3d[]@ GetHersheyBarLiftDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6800 
6829 vec3d[]@ GetHersheyBarDragDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6830 
6861 vec3d[]@ GetVKTAirfoilPnts(const int&in npts, const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau);
6862 
6894 double[]@ GetVKTAirfoilCpDist(const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau, vec3d[]@ xydata);
6895 
6910 vec3d[]@ GetEllipsoidSurfPnts(const vec3d&in center, const vec3d&in abc_rad, int u_npts = 20, int w_npts = 20);
6911 
6921 vec3d[]@ GetFeatureLinePnts(const string&in geom_id);
6922 
6969 double[]@ GetEllipsoidCpDist(vec3d[]@ surf_pnt_arr, const vec3d&in abc_rad, const vec3d&in V_inf);
6970 
6995 vec3d[]@ GetAirfoilUpperPnts(const string&in xsec_id);
6996 
7021 vec3d[]@ GetAirfoilLowerPnts(const string&in xsec_id);
7022 
7033 double[]@ GetUpperCSTCoefs(const string&in xsec_id);
7034 
7045 double[]@ GetLowerCSTCoefs(const string&in xsec_id);
7046 
7057 int GetUpperCSTDegree(const string&in xsec_id);
7058 
7069 int GetLowerCSTDegree(const string&in xsec_id);
7070 
7082 void SetUpperCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7083 
7095 void SetLowerCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7096 
7106 void PromoteCSTUpper(const string&in xsec_id);
7107 
7117 void PromoteCSTLower(const string&in xsec_id);
7118 
7128 void DemoteCSTUpper(const string&in xsec_id);
7129 
7139 void DemoteCSTLower(const string&in xsec_id);
7140 
7151 void FitAfCST(const string&in xsec_surf_id, int xsec_index, int deg);
7152 
7173 void WriteBezierAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7174 
7195 void WriteSeligAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7196 
7207 vec3d[]@ GetAirfoilCoordinates(const string&in geom_id, const double&in foilsurf_u);
7208 
7235 void EditXSecInitShape(const string&in xsec_id);
7236 
7263 void EditXSecConvertTo(const string&in xsec_id, const int&in newtype);
7264 
7291 double[]@ GetEditXSecUVec(const string&in xsec_id);
7292 
7318 vec3d[]@ GetEditXSecCtrlVec(const string&in xsec_id, const bool non_dimensional = true);
7319 
7367 void SetEditXSecPnts(const string&in xsec_id, double[]@ u_vec, vec3d[]@ control_pts);
7368 
7394 void EditXSecDelPnt(const string&in xsec_id, const int&in indx);
7395 
7418 int EditXSecSplit01(const string&in xsec_id, const double&in u);
7419 
7454 void MoveEditXSecPnt(const string&in xsec_id, const int&in indx, const vec3d&in new_pnt);
7455 
7482 void ConvertXSecToEdit(const string&in geom_id, const int&in indx = 0);
7483 
7502 void ChangeBORXSecShape(const string&in geom_id, int type);
7503 
7521 int GetBORXSecShape(const string&in geom_id);
7522 
7535 int GetNumSets();
7536 
7552 void SetSetName(int index, const string&in name);
7553 
7569 string GetSetName(int index);
7570 
7590 string[]@ GetGeomSetAtIndex(int index);
7591 
7610 string[]@ GetGeomSet(const string&in name);
7611 
7626 int GetSetIndex(const string&in name);
7627 
7646 bool GetSetFlag(const string&in geom_id, int set_index);
7647 
7666 void SetSetFlag(const string&in geom_id, int set_index, bool flag);
7667 
7686 void ScaleSet(int set_index, double scale);
7687 
7708 void RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg);
7709 
7728 void TranslateSet(int set_index, const vec3d&in translation_vec);
7729 
7754 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);
7755 
7773 bool ValidParm(const string&in id);
7774 
7800 double SetParmVal(const string&in parm_id, double val);
7801 
7822 double SetParmValLimits(const string&in parm_id, double val, double lower_limit, double upper_limit);
7823 
7843 double SetParmValUpdate(const string&in parm_id, double val);
7844 
7863 double SetParmVal(const string&in geom_id, const string&in name, const string&in group, double val);
7864 
7884 double SetParmValUpdate(const string&in geom_id, const string&in parm_name, const string&in parm_group_name, double val);
7885 
7909 double GetParmVal(const string&in parm_id);
7910 
7929 double GetParmVal(const string&in geom_id, const string&in name, const string&in group);
7930 
7948 int GetIntParmVal(const string&in parm_id);
7949 
7967 bool GetBoolParmVal(const string&in parm_id);
7968 
7995 void SetParmUpperLimit(const string&in parm_id, double val);
7996 
8014 double GetParmUpperLimit(const string&in parm_id);
8015 
8042 void SetParmLowerLimit(const string&in parm_id, double val);
8043 
8061 double GetParmLowerLimit(const string&in parm_id);
8062 
8085 int GetParmType(const string&in parm_id);
8086 
8118 string GetParmName(const string&in parm_id);
8119 
8144 string GetParmGroupName(const string&in parm_id);
8145 
8170 string GetParmDisplayGroupName(const string&in parm_id);
8171 
8195 string GetParmContainer(const string&in parm_id);
8196 
8213 void SetParmDescript(const string&in parm_id, const string&in desc);
8214 
8235 string FindParm(const string&in parm_container_id, const string&in parm_name, const string&in group_name);
8236 
8256 string GetParm(const string&in geom_id, const string&in name, const string&in group);
8257 
8278 string[]@ FindContainers();
8279 
8294 string[]@ FindContainersWithName(const string&in name);
8295 
8311 string FindContainer(const string&in name, int index);
8312 
8327 string GetContainerName(const string&in parm_container_id);
8328 
8351 string[]@ FindContainerGroupNames(const string&in parm_container_id);
8352 
8384 string[]@ FindContainerParmIDs(const string&in parm_container_id);
8385 
8409 double ComputeMinClearanceDistance(const string&in geom_id, int set);
8410 
8437 double SnapParm(const string&in parm_id, double target_min_dist, bool inc_flag, int set);
8438 
8455 void AddVarPresetGroup(const string&in group_name);
8456 
8475 void AddVarPresetSetting(const string&in setting_name);
8476 
8497 void AddVarPresetParm(const string&in parm_ID);
8498 
8518 void AddVarPresetParm(const string&in parm_ID, const string&in group_name);
8519 
8543 void EditVarPresetParm(const string&in parm_ID, double parm_val);
8544 
8572 void EditVarPresetParm(const string&in parm_ID, double parm_val, const string&in group_name, const string&in setting_name);
8573 
8596 void DeleteVarPresetParm(const string&in parm_ID);
8597 
8623 void DeleteVarPresetParm(const string&in parm_ID, const string&in group_name);
8624 
8650 void SwitchVarPreset(const string&in group_name, const string&in setting_name);
8651 
8671 bool DeleteVarPresetSet(const string&in group_name, const string&in setting_name);
8672 
8701 string GetCurrentGroupName();
8702 
8731 string GetCurrentSettingName();
8732 
8749 string[]@ GetVarPresetGroupNames();
8750 
8770 string[]@ GetVarPresetSettingNamesWName(const string&in group_name);
8771 
8802 string[]@ GetVarPresetSettingNamesWIndex(int group_index);
8803 
8830 double[]@ GetVarPresetParmVals();
8831 
8863 double[]@ GetVarPresetParmValsWNames(const string&in group_name, const string&in setting_name);
8864 
8889 string[]@ GetVarPresetParmIDs();
8890 
8919 string[]@ GetVarPresetParmIDsWName(const string&in group_name);
8920 
8934 void SetPCurve(const string&in geom_id, const int&in pcurveid, double[]@ tvec, double[]@ valvec, const int&in newtype);
8935 
8947 void PCurveConvertTo(const string&in geom_id, const int&in pcurveid, const int&in newtype);
8948 
8960 int PCurveGetType(const string&in geom_id, const int&in pcurveid);
8961 
8972 double[]@ PCurveGetTVec(const string&in geom_id, const int&in pcurveid);
8973 
8984 double[]@ PCurveGetValVec(const string&in geom_id, const int&in pcurveid);
8985 
8996 void PCurveDeletePt(const string&in geom_id, const int&in pcurveid, const int&in indx);
8997 
9009 int PCurveSplit(const string&in geom_id, const int&in pcurveid, const double&in tsplit);
9010 
9027 void AddExcrescence(const string&in excresName, const int&in excresType, const double&in excresVal);
9028 
9046 void DeleteExcrescence(const int&in excresName);
9047 
9055 void UpdateParasiteDrag();
9056 
9073 void WriteAtmosphereCSVFile(const string&in file_name, const int&in atmos_type);
9074 
9101 void CalcAtmosphere(const double&in alt, const double&in delta_temp, const int&in atmos_type, double&out temp, double&out pres, double&out pres_ratio, double&out rho_ratio);
9102 
9115 void WriteBodyFFCSVFile(const string&in file_name);
9116 
9129 void WriteWingFFCSVFile(const string&in file_name);
9130 
9143 void WriteCfEqnCSVFile(const string&in file_name);
9144 
9157 void WritePartialCfMethodCSVFile(const string&in file_name);
9158 
9184 vec3d CompPnt01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9185 
9211 vec3d CompNorm01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9212 
9238 vec3d CompTanU01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9239 
9265 vec3d CompTanW01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9266 
9294 void CompCurvature01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w, double&out k1, double&out k2, double&out ka, double&out kg);
9295 
9333 double ProjPnt01(const string&in geom_id, const int&in surf_indx, const vec3d&in pt, double&out u, double&out w);
9334 
9374 double ProjPnt01I(const string&in geom_id, const vec3d&in pt, int&out surf_indx, double&out u, double&out w);
9375 
9416 double ProjPnt01Guess(const string&in geom_id, const int&in surf_indx, const vec3d&in pt, const double&in u0, const double&in w0, double&out u, double&out w);
9417 
9439 void GetUWTess01(const string&in geom_id, int&in surf_indx, double[]@ us, double[]@ ws);
9440 
9473 vec3d[]@ CompVecPnt01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9474 
9507 vec3d[]@ CompVecNorm01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9508 
9546 void CompVecCurvature01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs);
9547 
9594 void ProjVecPnt01(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds);
9595 
9655 void ProjVecPnt01Guess(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds);
9656 
9687 string AddRuler(const string&in startgeomid, int startsurfindx, double startu, double startw, const string&in endgeomid, int endsurfindx, double endu, double endw, const string&in name);
9688 
9719 string[]@ GetAllRulers();
9720 
9744 void DelRuler(const string&in id);
9745 
9768 void DeleteAllRulers();
9769 
9792 string AddProbe(const string&in geomid, int surfindx, double u, double w, const string&in name);
9793 
9815 string[]@ GetAllProbes();
9816 
9839 void DelProbe(const string&in id);
9840 
9862 void DeleteAllProbes();
9863 
9882 int AddFeaStruct(const string&in geom_id, bool init_skin = true, int surfindex = 0);
9883 
9904 void DeleteFeaStruct(const string&in geom_id, int fea_struct_ind);
9905 
9925 string GetFeaStructID(const string&in geom_id, int fea_struct_ind);
9926 
9951 int GetFeaStructIndex(const string&in struct_id);
9952 
9974 string GetFeaStructParentGeomID(const string&in struct_id);
9975 
10001 string GetFeaStructName(const string&in geom_id, int fea_struct_ind);
10002 
10029 void SetFeaStructName(const string&in geom_id, int fea_struct_ind, const string&in name);
10030 
10052 void SetFeaPartName(const string&in part_id, const string&in name);
10053 
10079 void SetFeaMeshVal(const string&in geom_id, int fea_struct_ind, int type, double val);
10080 
10106 void SetFeaMeshFileName(const string&in geom_id, int fea_struct_id, int file_type, const string&in file_name);
10107 
10134 void ComputeFeaMesh(const string&in geom_id, int fea_struct_ind, int file_type);
10135 
10161 void ComputeFeaMesh(const string&in struct_id, int file_type);
10162 
10189 string AddFeaPart(const string&in geom_id, int fea_struct_ind, int type);
10190 
10217 void DeleteFeaPart(const string&in geom_id, int fea_struct_ind, const string&in part_id);
10218 
10245 string AddFeaSubSurf(const string&in geom_id, int fea_struct_ind, int type);
10246 
10273 void DeleteFeaSubSurf(const string&in geom_id, int fea_struct_ind, const string&in ss_id);
10274 
10289 string AddFeaMaterial();
10290 
10308 string AddFeaProperty(int property_type = 0);
10309 
10322 void Print(const string&in data, bool new_line = true);
10323 
10336 void Print(const vec3d&in data, bool new_line = true);
10337 
10350 void Print(double data, bool new_line = true);
10351 
10364 void Print(int data, bool new_line = true);
10365 
10381 double Min(double x, double y);
10382 
10398 double Max(double x, double y);
10399 
10414 double Rad2Deg(double r);
10415 
10430 double Deg2Rad(double d);
10431 
10445 string GetVSPVersion();
10446 
10461 string GetVSPExePath();
10462 
10479 void VSPCheckSetup();
10480 
10496 void VSPRenew();
10497 
10511 
10512 
void rotate_x(double cos_alpha, double sin_alpha)
ErrorObj GetLastError()
void CutCustomXSec(const string &in xsec_surf_id, int index)
EXCRES_TYPE
Definition: openvsp_as.h:1374
void SetXSecTanSlews(const string &in xsec_id, int side, double top, double right=- 1.0e12, double bottom=- 1.0e12, double left=- 1.0e12)
void SetParmLowerLimit(const string &in parm_id, double val)
void GetUWTess01(const string &in geom_id, int &in surf_indx, double[]@ us, double[]@ ws)
void CloneSurf(int index, Matrix4d &in mat)
WING_BLEND
Definition: openvsp_as.h:2088
FF_B_EQN
Definition: openvsp_as.h:1509
string GetVSPFileName()
void SetCustomCenter(double x, double y, double z)
VSPAERO_STABILITY_TYPE
Definition: openvsp_as.h:2048
void loadXZRef()
void scale_y(double scale)
VIEW_TYPE
Definition: openvsp_as.h:1999
void CalcAtmosphere(const double &in alt, const double &in delta_temp, const int &in atmos_type, double &out temp, double &out pres, double &out pres_ratio, double &out rho_ratio)
void SetBackground(double r, double g, double b)
string GetUnsteadyGroupName(int group_index)
double [] GetEllipsoidCpDist(vec3d[]@ surf_pnt_arr, const vec3d &in abc_rad, const vec3d &in V_inf)
void DeleteAllProbes()
string [] FindGeomsWithName(const string &in name)
vec3d cross(const vec3d &in a, const vec3d &in b)
string CreateGeomResults(const string &in geom_id, const string &in name)
void DeleteGeomVec(string[]@ del_arr)
void DeleteAllCFDSources()
vec3d xform(const vec3d &in v)
void SetIntAnalysisInput(const string &in analysis, const string &in name, int[]@ indata_arr, int index=0)
XSEC_TRIM_TYPE
Definition: openvsp_as.h:2189
string [] FindContainersWithName(const string &in name)
double mag() const
void scale_x(double scale)
void SetLowerCST(const string &in xsec_id, int deg, double[]@ coeff_arr)
ANG_UNITS
Definition: openvsp_as.h:1052
string AddFeaPart(const string &in geom_id, int fea_struct_ind, int type)
VSPAERO_ANALYSIS_METHOD
Definition: openvsp_as.h:2014
int GetLowerCSTDegree(const string &in xsec_id)
double GetXSecWidth(const string &in xsec_id)
AngelScript ScriptExtension for representing the C++ std::FILE.
Definition: openvsp_as.h:296
string GetCurrentGroupName()
double signed_angle(const vec3d &in a, const vec3d &in b, const vec3d &in ref)
void SetCFDMeshVal(int type, double val)
vec3d [] GetAirfoilLowerPnts(const string &in xsec_id)
CF_LAM_EQN
Definition: openvsp_as.h:1203
int GetIntParmVal(const string &in parm_id)
int [] GetIntResults(const string &in id, const string &in name, int index=0)
void AddDefaultSources()
DIR_INDEX
Definition: openvsp_as.h:1308
A class for representing 4x4 matricies.
Definition: openvsp_as.h:789
string GetParmContainer(const string &in parm_id)
string AppendXSec(const string &in xsec_surf_id, int type)
void SetVec3dAnalysisInput(const string &in analysis, const string &in name, vec3d[]@ indata_arr, int index=0)
VIEW_ROT
Definition: openvsp_as.h:1987
void ScreenGrab(const string &in file_name, int w, int h, bool transparentBG)
bool GetBoolParmVal(const string &in parm_id)
int GetNumSubSurf(const string &in geom_id)
string [] GetAllDataNames(const string &in results_id)
vec3d operator-(const vec3d &in) const
void rotate_z_zero_x(double cos_alpha, double sin_alpha)
double [] PCurveGetValVec(const string &in geom_id, const int &in pcurveid)
string GetCustomParm(int index)
void offset_x(double offset)
vec3d & set_z(double z)
void DeleteFeaPart(const string &in geom_id, int fea_struct_ind, const string &in part_id)
void SkinXSecSurf(bool closed_flag=false)
void VSPExit(int error_code)
string GetFeaStructParentGeomID(const string &in struct_id)
string [] GetSubSurfIDVec(const string &in geom_id)
XSEC_CRV_TYPE
Definition: openvsp_as.h:2149
VSP_SURF_TYPE
Definition: openvsp_as.h:2075
FEA_UNIT_TYPE
Definition: openvsp_as.h:1496
void TranslateSet(int set_index, const vec3d &in translation_vec)
vec3d reflect_yz()
string GetSubSurf(const string &in geom_id, int index)
int GetSetIndex(const string &in name)
void translatef(const double &in x, const double &in y, const double &in z)
TEMP_UNITS
Definition: openvsp_as.h:1948
void TransformSurf(int index, Matrix4d &in mat)
void ReadFileAirfoil(const string &in xsec_id, const string &in file_name)
ATTACH_ROT_TYPE
Definition: openvsp_as.h:1076
void WriteBezierAirfoil(const string &in file_name, const string &in geom_id, const double &in foilsurf_u)
CF_TURB_EQN
Definition: openvsp_as.h:1213
string [] ListAnalysis()
vec3d [] GetVec3dResults(const string &in id, const string &in name, int index=0)
void SetXSecWidth(const string &in xsec_id, double w)
AngelScript ScriptExtension for representing the C++ std::vector.
Definition: openvsp_as.h:252
void UpdateParasiteDrag()
FEA_SLICE_TYPE
Definition: openvsp_as.h:1481
void AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex)
void rotate_z_zero_y(double cos_alpha, double sin_alpha)
double GetParmVal(const string &in parm_id)
void PasteXSec(const string &in geom_id, int index)
vec3d [] GetVec3dAnalysisInput(const string &in analysis, const string &in name, int index=0)
void AddExcrescence(const string &in excresName, const int &in excresType, const double &in excresVal)
FEA_PART_TYPE
Definition: openvsp_as.h:1464
void normalize()
double [] GetEditXSecUVec(const string &in xsec_id)
string [] GetAllSubSurfIDs()
void DeleteVarPresetParm(const string &in parm_ID)
string AddXSecSurf()
FEA_PART_ELEMENT_TYPE
Definition: openvsp_as.h:1453
void SetFeaMeshFileName(const string &in geom_id, int fea_struct_id, int file_type, const string &in file_name)
int GetNumMainSurfs(const string &in geom_id)
void WriteVSPFile(const string &in file_name, int set)
void DemoteCSTLower(const string &in xsec_id)
void SetFeaPartName(const string &in part_id, const string &in name)
int [] GetIntAnalysisInput(const string &in analysis, const string &in name, int index=0)
void WriteBodyFFCSVFile(const string &in file_name)
string AddRuler(const string &in startgeomid, int startsurfindx, double startu, double startw, const string &in endgeomid, int endsurfindx, double endu, double endw, const string &in name)
double GetParmUpperLimit(const string &in parm_id)
string GetVSPAEROControlGroupName(int CSGroupIndex)
void PrintAnalysisInputs(const string &in analysis)
string ImportFile(const string &in file_name, int file_type, const string &in parent)
COMPUTATION_FILE_TYPE
Definition: openvsp_as.h:1253
void DelProbe(const string &in id)
SUBSURF_INOUT
Definition: openvsp_as.h:1887
void EditXSecDelPnt(const string &in xsec_id, const int &in indx)
string FindUnsteadyGroup(int group_index)
REF_WING_TYPE
Definition: openvsp_as.h:1803
void SetGeomDrawType(const string &in geom_id, int type)
vec3d ComputeXSecPnt(const string &in xsec_id, double fract)
vec3d reflect_xy()
RES_GEOM_TYPE
Definition: openvsp_as.h:1828
string ComputeMassProps(int set, int num_slices)
vec3d [] CompVecNorm01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws)
string AddFeaProperty(int property_type=0)
string FindResultsID(const string &in name, int index=0)
string FindActuatorDisk(int disk_index)
void scale(const double &in scale)
void CutGeomToClipboard(const string &in geom_id)
A class for representing 3D vectors.
Definition: openvsp_as.h:349
RES_DATA_TYPE
Definition: openvsp_as.h:1814
RHO_UNITS
Definition: openvsp_as.h:1840
void AddVarPresetParm(const string &in parm_ID)
string [] GetVarPresetParmIDsWName(const string &in group_name)
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)
int GetNumSets()
VSP_SURF_CFD_TYPE
Definition: openvsp_as.h:2061
void FitAfCST(const string &in xsec_surf_id, int xsec_index, int deg)
double SetParmValUpdate(const string &in parm_id, double val)
void PromoteCSTUpper(const string &in xsec_id)
void SetXSecTanAngles(const string &in xsec_id, int side, double top, double right=- 1.0e12, double bottom=- 1.0e12, double left=- 1.0e12)
vec3d operator/(double b) const
void InsertVSPFile(const string &in file_name, const string &in parent)
void DeleteSubSurf(const string &in geom_id, const string &in sub_id)
void UpdateGui(int gui_id, const string &in parm_id)
void DeleteGeom(const string &in geom_id)
void SetDoubleAnalysisInput(const string &in analysis, const string &in name, double[]@ indata_arr, int index=0)
void loadIdentity()
int GetNumXSecSurfs(const string &in geom_id)
void SetVspSurfType(int type, int surf_index=- 1)
string GetVSPExePath()
double [] GetVKTAirfoilCpDist(const double &in alpha, const double &in epsilon, const double &in kappa, const double &in tau, vec3d[]@ xydata)
XSEC_WIDTH_SHIFT
Definition: openvsp_as.h:2215
int GetNumAnalysisInputData(const string &in analysis, const string &in name)
string FindContainer(const string &in name, int index)
string [] FindGeoms()
XSEC_SIDES_TYPE
Definition: openvsp_as.h:2178
double SetParmVal(const string &in parm_id, double val)
void SetCFDWakeFlag(const string &in geom_id, bool flag)
GDEV
Definition: openvsp_as.h:1559
void PrintResults(const string &in id)
double z() const
void ScaleSet(int set_index, double scale)
string ComputeCompGeom(int set, bool half_mesh, int file_export_types)
double [] GetDoubleResults(const string &in id, const string &in name, int index=0)
void RemoveXSecSurf(const string &in xsec_id)
string AppendCustomXSec(const string &in xsec_surf_id, int type)
void SetStringAnalysisInput(const string &in analysis, const string &in name, string[]@ indata_arr, int index=0)
int GetNumControlSurfaceGroups()
vec3d [] GetEllipsoidSurfPnts(const vec3d &in center, const vec3d &in abc_rad, int u_npts=20, int w_npts=20)
int GetBORXSecShape(const string &in geom_id)
vec3d & set_x(double x)
string GetContainerName(const string &in parm_container_id)
vec3d CompTanW01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
double dist(const vec3d &in a, const vec3d &in b)
void WriteCfEqnCSVFile(const string &in file_name)
int AddFeaStruct(const string &in geom_id, bool init_skin=true, int surfindex=0)
vec3d [] CompVecPnt01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws)
VSPAERO_PRECONDITION
Definition: openvsp_as.h:2037
string GetDesignVar(int index)
string GetResultsName(const string &in results_id)
void ProjVecPnt01Guess(const string &in geom_id, int &in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds)
string [] FindContainers()
vec3d [] GetEditXSecCtrlVec(const string &in xsec_id, const bool non_dimensional=true)
bool CheckClearTriggerEvent(int gui_id)
double & operator[](int) const
void DeleteResult(const string &in id)
FF_W_EQN
Definition: openvsp_as.h:1527
int GetDesignVarType(int index)
vec3d GetCustomXSecRot(const string &in xsec_id)
void SetSubSurfName(const string &in geom_id, const string &in sub_id, const string &in name)
int GetResultsType(const string &in results_id, const string &in data_name)
double Max(double x, double y)
INTERSECT_EXPORT_TYPE
Definition: openvsp_as.h:1634
string AddFeaMaterial()
void SetupCustomDefaultSource(int type, int surf_index, double l1, double r1, double u1, double w1, double l2=0, double r2=0, double u2=0, double w2=0)
SUBSURF_TYPE
Definition: openvsp_as.h:1908
int GetUpperCSTDegree(const string &in xsec_id)
double [] PCurveGetTVec(const string &in geom_id, const int &in pcurveid)
double SnapParm(const string &in parm_id, double target_min_dist, bool inc_flag, int set)
Matrix4d GetXSecSurfGlobalXForm(const string &in xsec_surf_id)
bool GetSetFlag(const string &in geom_id, int set_index)
vec3d GetCustomXSecLoc(const string &in xsec_id)
STEP_REPRESENTATION
Definition: openvsp_as.h:1866
double GetParmLowerLimit(const string &in parm_id)
double dot(const vec3d &in a, const vec3d &in b)
void SetFeaMeshVal(const string &in geom_id, int fea_struct_ind, int type, double val)
string [] FindContainerGroupNames(const string &in parm_container_id)
double x() const
double SetParmValLimits(const string &in parm_id, double val, double lower_limit, double upper_limit)
void WriteAtmosphereCSVFile(const string &in file_name, const int &in atmos_type)
string [] GetAllRulers()
void AddDesignVar(const string &in parm_id, int type)
string ComputePlaneSlice(int set, int num_slices, const vec3d &in norm, bool auto_bnd, double start_bnd=0, double end_bnd=0)
void Print(const string &in data, bool new_line=true)
void RemoveSelectedFromCSGroup(int[]@ selected, int CSGroupIndex)
void rotateX(const double &in ang)
void WriteWingFFCSVFile(const string &in file_name)
string InsertCustomXSec(const string &in xsec_surf_id, int type, int index)
double angle(const vec3d &in a, const vec3d &in b)
void EditXSecInitShape(const string &in xsec_id)
double [] GetUpperCSTCoefs(const string &in xsec_id)
string [] GetGeomTypes()
int CreateVSPAEROControlSurfaceGroup()
string [] GetVarPresetSettingNamesWIndex(int group_index)
string GetFeaStructID(const string &in geom_id, int fea_struct_ind)
double Min(double x, double y)
void SetXSecSurfGlobalXForm(const string &in xsec_surf_id, const Matrix4d &in mat)
double ProjPnt01Guess(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, const double &in u0, const double &in w0, double &out u, double &out w)
string [] GetVarPresetParmIDs()
string GetParmName(const string &in parm_id)
vec3d getAngles()
string [] GetAllResultsNames()
string [] FindContainerParmIDs(const string &in parm_container_id)
void SetXSecWidthHeight(const string &in xsec_id, double w, double h)
double ComputeMinClearanceDistance(const string &in geom_id, int set)
string [] GetCompleteCSNameVec()
void CompVecCurvature01(const string &in geom_id, const int &in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs)
void loadYZRef()
void VSPCheckSetup()
string GetParmDisplayGroupName(const string &in parm_id)
void buildXForm(const vec3d &in pos, const vec3d &in rot, const vec3d &in cent_rot)
void ExportFile(const string &in file_name, int write_set_index, int file_type)
string SetVSPAERORefWingID(const string &in geom_id)
string [] GetAnalysisInputNames(const string &in analysis)
int GetNumAnalysis()
void loadXYRef()
void scale_z(double scale)
int GetGeomVSPSurfCfdType(const string &in geom_id, int main_surf_ind=0)
void DelRuler(const string &in id)
void RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex)
void rotate(const double &in ang, const vec3d &in axis)
VIEW_NUM
Definition: openvsp_as.h:1975
string GetSubSurfName(const string &in geom_id, const string &in sub_id)
void CompCurvature01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w, double &out k1, double &out k2, double &out ka, double &out kg)
CFD_CONTROL_TYPE
Definition: openvsp_as.h:1134
FREESTREAM_PD_UNITS
Definition: openvsp_as.h:1549
string [] GetAllProbes()
string GetGeomName(const string &in geom_id)
vec3d operator+(const vec3d &in) const
int GetSubSurfIndex(const string &in sub_id)
ERROR_CODE
Definition: openvsp_as.h:1344
void offset_y(double offset)
string [] GetStringResults(const string &in id, const string &in name, int index=0)
string GetVSPVersion()
void SetAirfoilPnts(const string &in xsec_id, vec3d[]@ up_pnt_vec, vec3d[]@ low_pnt_vec)
EXPORT_TYPE
Definition: openvsp_as.h:1387
void AutoGroupVSPAEROControlSurfaces()
string AddGeom(const string &in type, const string &in parent=string())
void offset_z(double offset)
string FindLatestResultsID(const string &in name)
void ChangeBORXSecShape(const string &in geom_id, int type)
VEL_UNITS
Definition: openvsp_as.h:1960
void SetPCurve(const string &in geom_id, const int &in pcurveid, double[]@ tvec, double[]@ valvec, const int &in newtype)
string [] GetGeomParmIDs(const string &in geom_id)
void SetXSecContinuity(const string &in xsec_id, int cx)
string [] GetVarPresetGroupNames()
PRES_UNITS
Definition: openvsp_as.h:1718
int PCurveGetType(const string &in geom_id, const int &in pcurveid)
void Update()
string GetXSecParm(const string &in xsec_id, const string &in name)
string GetXSec(const string &in xsec_surf_id, int xsec_index)
XSEC_TYPE
Definition: openvsp_as.h:2201
string [] GetAvailableCSNameVec(int CSGroupIndex)
DELIM_TYPE
Definition: openvsp_as.h:1285
string FindParm(const string &in parm_container_id, const string &in parm_name, const string &in group_name)
vec3d CompPnt01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
ABS_REL_FLAG
Definition: openvsp_as.h:1032
void rotateY(const double &in ang)
void DeleteFeaSubSurf(const string &in geom_id, int fea_struct_ind, const string &in ss_id)
void CopyCustomXSec(const string &in xsec_surf_id, int index)
int GetNumData(const string &in results_id, const string &in data_name)
DISPLAY_TYPE
Definition: openvsp_as.h:1319
void SetVspSurfCfdType(int type, int surf_index=- 1)
string [] GetXSecParmIDs(const string &in xsec_id)
void ClearVSPModel()
int GetNumDesignVars()
int GetGeomVSPSurfType(const string &in geom_id, int main_surf_ind=0)
void ClearXSecSurfs()
void ComputeCFDMesh(int set, int file_type)
IMPORT_TYPE
Definition: openvsp_as.h:1606
void SetXSecPnts(const string &in xsec_id, vec3d[]@ pnt_arr)
int EditXSecSplit01(const string &in xsec_id, const double &in u)
SYM_XSEC_TYPE
Definition: openvsp_as.h:1938
vec3d [] GetAirfoilCoordinates(const string &in geom_id, const double &in foilsurf_u)
SUBSURF_INCLUDE
Definition: openvsp_as.h:1876
WING_DRIVERS
Definition: openvsp_as.h:2105
void SwitchVarPreset(const string &in group_name, const string &in setting_name)
double y() const
DRAW_TYPE
Definition: openvsp_as.h:1331
void SetSetName(int index, const string &in name)
string GetGeomTypeName(const string &in geom_id)
SYM_FLAG
Definition: openvsp_as.h:1922
VSPAERO_NOISE_TYPE
Definition: openvsp_as.h:2024
vec3d [] ReadFileXSec(const string &in xsec_id, const string &in file_name)
void WriteTestResults()
ErrorObj PopLastError()
SET_TYPE
Definition: openvsp_as.h:1854
double Deg2Rad(double d)
double Rad2Deg(double r)
vec3d CompNorm01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
CFD_MESH_SOURCE_TYPE
Definition: openvsp_as.h:1189
void ReadApplyXDDMFile(const string &in file_name)
void ProjVecPnt01(const string &in geom_id, int &in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds)
void SetViewAxis(bool vaxis)
void affineInverse()
ATTACH_TRANS_TYPE
Definition: openvsp_as.h:1087
DIMENSION_SET
Definition: openvsp_as.h:1298
int GetTotalNumSurfs(const string &in geom_id)
string ExecAnalysis(const string &in analysis)
bool DeleteVarPresetSet(const string &in group_name, const string &in setting_name)
string AddProbe(const string &in geomid, int surfindx, double u, double w, const string &in name)
PATCH_TYPE
Definition: openvsp_as.h:1691
MASS_UNIT
Definition: openvsp_as.h:1663
double GetXSecHeight(const string &in xsec_id)
AngelScript ScriptExtension for representing generic container that can hold any value.
Definition: openvsp_as.h:328
vec3d GetGeomBBoxMin(const string &in geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=true)
A class for representing API Errors.
Definition: openvsp_as.h:995
bool GetErrorLastCallFlag()
void DeleteAllResults()
BOR_MODE
Definition: openvsp_as.h:1098
void ResetXSecSkinParms(const string &in xsec_id)
vec3d [] GetProxyVec3dArray()
int GetAnalysisInputType(const string &in analysis, const string &in name)
CAMBER_INPUT_FLAG
Definition: openvsp_as.h:1110
void WriteDESFile(const string &in file_name)
int GetNumTotalErrors()
string GetFeaStructName(const string &in geom_id, int fea_struct_ind)
void SetShowBorders(bool brdr)
PROJ_BNDY_TYPE
Definition: openvsp_as.h:1737
XDDM_QUANTITY_TYPE
Definition: openvsp_as.h:2125
CAP_TYPE
Definition: openvsp_as.h:1120
string GetXSecSurf(const string &in geom_id, int index)
XSEC_CLOSE_TYPE
Definition: openvsp_as.h:2135
PROJ_TGT_TYPE
Definition: openvsp_as.h:1763
string [] GetActiveCSNameVec(int CSGroupIndex)
void ComputeDegenGeom(int set, int file_type)
vec3d [] GetAirfoilUpperPnts(const string &in xsec_id)
vec3d reflect_xz()
void AddVarPresetGroup(const string &in group_name)
double ProjPnt01(const string &in geom_id, const int &in surf_indx, const vec3d &in pt, double &out u, double &out w)
void SetFeaStructName(const string &in geom_id, int fea_struct_ind, const string &in name)
vec3d GetGeomBBoxMax(const string &in geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=true)
int GetParmType(const string &in parm_id)
string AddFeaSubSurf(const string &in geom_id, int fea_struct_ind, int type)
string GetCurrentSettingName()
void SetSetFlag(const string &in geom_id, int set_index, bool flag)
void DeleteAllDesignVars()
void ReadVSPFile(const string &in file_name)
vec3d ComputeXSecTan(const string &in xsec_id, double fract)
int AddGui(int type, const string &in label=string(), const string &in parm_name=string(), const string &in group_name=string(), double range=10.0)
FEA_CROSS_SECT_TYPE
Definition: openvsp_as.h:1419
int GetXSecShape(const string &in xsec_id)
SUBSURF_LINE_TYPE
Definition: openvsp_as.h:1898
int GetSubSurfType(const string &in sub_id)
FEA_EXPORT_TYPE
Definition: openvsp_as.h:1433
void SetAnalysisInputDefaults(const string &in analysis)
string GetSetName(int index)
void ChangeXSecShape(const string &in xsec_surf_id, int xsec_index, int type)
void CopyXSec(const string &in geom_id, int index)
void CutXSec(const string &in geom_id, int index)
void SetUpperCST(const string &in xsec_id, int deg, double[]@ coeff_arr)
string GetCurrCustomGeom()
void DemoteCSTUpper(const string &in xsec_id)
void ClearAllCustomDefaultSources()
void DeleteExcrescence(const int &in excresName)
double dist_squared(const vec3d &in a, const vec3d &in b)
double [] GetDoubleAnalysisInput(const string &in analysis, const string &in name, int index=0)
void SetCustomXSecRot(const string &in xsec_id, const vec3d &in rot)
void AddVarPresetSetting(const string &in setting_name)
COLLISION_ERRORS
Definition: openvsp_as.h:1242
void AddCFDSource(int type, const string &in 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 SetCustomXSecLoc(const string &in xsec_id, const vec3d &in loc)
void PromoteCSTLower(const string &in xsec_id)
void InsertXSec(const string &in geom_id, int index, int type)
void SetVSP3FileName(const string &in file_name)
void SetParmDescript(const string &in parm_id, const string &in desc)
int GetNumXSec(const string &in xsec_surf_id)
void PCurveDeletePt(const string &in geom_id, const int &in pcurveid, const int &in indx)
string GetParmGroupName(const string &in parm_id)
void UpdateGeom(const string &in geom_id)
void WriteSeligAirfoil(const string &in file_name, const string &in geom_id, const double &in foilsurf_u)
string [] GetGeomSet(const string &in name)
bool ValidParm(const string &in id)
string FindGeom(const string &in name, int index)
void SetParmUpperLimit(const string &in parm_id, double val)
INIT_EDIT_XSEC_TYPE
Definition: openvsp_as.h:1623
void PCurveConvertTo(const string &in geom_id, const int &in pcurveid, const int &in newtype)
string GetErrorString()
double [] GetVarPresetParmVals()
string [] GetVarPresetSettingNamesWName(const string &in group_name)
string GetGeomParent(const string &in geom_id)
void rotate_y(double cos_alpha, double sin_alpha)
int [] GetUnsteadyGroupSurfIndexes(int group_index)
vec3d & set_xyz(double x, double y, double z)
void rotate_z(double cos_alpha, double sin_alpha)
string AddParm(int type, const string &in name, const string &in group)
string [] GetUnsteadyGroupCompIDs(int group_index)
double [] GetVarPresetParmValsWNames(const string &in group_name, const string &in setting_name)
vec3d [] GetFeatureLinePnts(const string &in geom_id)
void DeleteFeaStruct(const string &in geom_id, int fea_struct_ind)
AIRFOIL_EXPORT_TYPE
Definition: openvsp_as.h:1042
AngelScript ScriptExtension for representing the C++ std::string.
Definition: openvsp_as.h:193
void MoveEditXSecPnt(const string &in xsec_id, const int &in indx, const vec3d &in new_pnt)
void SetGeomDisplayType(const string &in geom_id, int type)
void SetXSecTanStrengths(const string &in xsec_id, int side, double top, double right=- 1.0e12, double bottom=- 1.0e12, double left=- 1.0e12)
void DeleteAllRulers()
void WriteResultsCSVFile(const string &in id, const string &in file_name)
void SetEditXSecPnts(const string &in xsec_id, double[]@ u_vec, vec3d[]@ control_pts)
double [] GetLowerCSTCoefs(const string &in xsec_id)
void EditVarPresetParm(const string &in parm_ID, double parm_val)
ERROR_CODE GetErrorCode()
void SetXSecHeight(const string &in xsec_id, double h)
PROP_PCURVE
Definition: openvsp_as.h:1785
void EditXSecConvertTo(const string &in xsec_id, const int &in newtype)
string [] GetGeomChildren(const string &in geom_id)
void WritePartialCfMethodCSVFile(const string &in file_name)
void SetGeomName(const string &in geom_id, const string &in name)
vec3d operator *(double b) const
void VSPRenew()
double [][] GetDoubleMatResults(const string &in id, const string &in name, int index=0)
PCURV_TYPE
Definition: openvsp_as.h:1705
vec3d [] GetHersheyBarDragDist(const int &in npts, const double &in alpha, const double &in Vinf, const double &in span, bool full_span_flag=false)
PROP_MODE
Definition: openvsp_as.h:1774
double ProjPnt01I(const string &in geom_id, const vec3d &in pt, int &out surf_indx, double &out u, double &out w)
void SetXSecCurvatures(const string &in xsec_id, int side, double top, double right=- 1.0e12, double bottom=- 1.0e12, double left=- 1.0e12)
GENDER
Definition: openvsp_as.h:1596
int PCurveSplit(const string &in geom_id, const int &in pcurveid, const double &in tsplit)
void SetVSPAEROControlGroupName(const string &in name, int CSGroupIndex)
string GetVSPAERORefWingID()
string [] GetStringAnalysisInput(const string &in analysis, const string &in name, int index=0)
vec3d CompTanU01(const string &in geom_id, const int &in surf_indx, const double &in u, const double &in w)
void SetDriverGroup(const string &in geom_id, int section_index, int driver_0, int driver_1, int driver_2)
ATMOS_TYPE
Definition: openvsp_as.h:1062
void CopyGeomToClipboard(const string &in geom_id)
PROJ_DIR_TYPE
Definition: openvsp_as.h:1749
vec3d & set_y(double y)
void RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg)
vec3d RotateArbAxis(const vec3d &in p, double theta, const vec3d &in axis)
void PasteCustomXSec(const string &in xsec_surf_id, int index)
CFD_MESH_EXPORT_TYPE
Definition: openvsp_as.h:1168
void rotateZ(const double &in ang)
LEN_UNITS
Definition: openvsp_as.h:1648
void SetComputationFileName(int file_type, const string &in file_name)
int GetFeaStructIndex(const string &in struct_id)
string GetParm(const string &in geom_id, const string &in name, const string &in group)
int GetNumResults(const string &in name)
string [] PasteGeomClipboard(const string &in parent_id="")
void ComputeFeaMesh(const string &in geom_id, int fea_struct_ind, int file_type)
vec3d [] GetHersheyBarLiftDist(const int &in npts, const double &in alpha, const double &in Vinf, const double &in span, bool full_span_flag=false)
string [] GetGeomSetAtIndex(int index)
string AddSubSurf(const string &in geom_id, int type, int surfindex=0)
string [] GetSubSurfParmIDs(const string &in sub_id)
void ReadApplyDESFile(const string &in file_name)
void AddSelectedToCSGroup(int[]@ selected, int CSGroupIndex)
void WriteXDDMFile(const string &in file_name)
vec3d [] GetVKTAirfoilPnts(const int &in npts, const double &in alpha, const double &in epsilon, const double &in kappa, const double &in tau)
PARM_TYPE
Definition: openvsp_as.h:1677