OpenVSPAPI  3.21.1
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 {
1487 };
1488 
1494 {
1495  XY_BODY = 0,
1496  YZ_BODY = 1,
1497  XZ_BODY = 2,
1498  XY_ABS = 3,
1499  YZ_ABS = 4,
1500  XZ_ABS = 5,
1502 };
1503 
1509 {
1510  SI_UNIT = 0,
1511  CGS_UNIT = 1,
1512  MPA_UNIT = 2,
1513  BFT_UNIT = 3,
1515 };
1516 
1522 {
1533 };
1534 
1540 {
1555 };
1556 
1562 {
1565 };
1566 
1571 enum GDEV
1572 {
1573  GDEV_TAB = 0,
1596  GDEV_YGAP = 24,
1602 };
1603 
1609 {
1610  MALE = 0,
1611  FEMALE = 1
1612 };
1613 
1619 {
1629 };
1630 
1636 {
1640 };
1641 
1647 {
1654 };
1655 
1661 {
1662  LEN_MM = 0,
1663  LEN_CM = 1,
1664  LEN_M = 2,
1665  LEN_IN = 3,
1666  LEN_FT = 4,
1667  LEN_YD = 5,
1669 };
1670 
1676 {
1683 };
1684 
1690 {
1697 };
1698 
1704 {
1711 };
1712 
1718 {
1719  LINEAR = 0,
1720  PCHIP = 1,
1721  CEDIT = 2,
1724 };
1725 
1731 {
1743 };
1744 
1750 {
1755 };
1756 
1762 {
1763  X_PROJ = 0,
1764  Y_PROJ = 1,
1765  Z_PROJ = 2,
1767  VEC_PROJ = 4,
1769 };
1770 
1776 {
1780 };
1781 
1787 {
1791 };
1792 
1798 {
1805  PROP_CLI = 6,
1809 };
1810 
1816 {
1820 };
1821 
1827 {
1829  INT_DATA = 0,
1834 };
1835 
1841 {
1846 };
1847 
1853 {
1860 };
1861 
1867 {
1868  SET_ALL = 0,
1872 };
1873 
1879 {
1882 };
1883 
1889 {
1893 };
1894 
1900 {
1901  INSIDE = 0,
1902  OUTSIDE = 1,
1903  NONE = 2
1904 };
1905 
1911 {
1912  CONST_U = 0,
1913  CONST_W = 1
1914 };
1915 
1921 {
1922  SS_LINE = 0,
1928 };
1929 
1935 {
1936  SYM_XY = 1,
1937  SYM_XZ = 2,
1938  SYM_YZ = 4,
1940  SYM_ROT_Y = 16,
1941  SYM_ROT_Z = 32,
1944 };
1945 
1951 {
1952  SYM_NONE = 0,
1953  SYM_RL = 1
1954 };
1955 
1961 {
1966 };
1967 
1973 {
1981 };
1982 
1988 {
1989  VIEW_1 = 0,
1992  VIEW_4 = 3
1993 };
1994 
2000 {
2001  ROT_0 = 0,
2002  ROT_90 = 1,
2003  ROT_180 = 2,
2004  ROT_270 = 3
2005 };
2006 
2012 {
2015  VIEW_TOP = 2,
2020 };
2021 
2027 {
2029  PANEL = 1
2030 };
2031 
2037 {
2041 };
2042 
2048 {
2049  NOISE_SI = 0,
2051 };
2052 
2058 {
2062 };
2063 
2069 {
2075 };
2076 
2082 {
2089 };
2090 
2096 {
2102 };
2103 
2109 {
2119 };
2120 
2126 {
2139 };
2140 
2146 {
2147  XDDM_VAR = 0,
2149 };
2150 
2156 {
2163 };
2164 
2170 {
2172  XS_POINT = 0,
2182  XS_WEDGE = 10,
2192 };
2193 
2199 {
2203 };
2204 
2210 {
2212  TRIM_X = 1,
2215 };
2216 
2222 {
2229 };
2230 
2236 {
2240 };
2241 
2242 string formatInt(int64 val, const string&in options = "", uint width = 0);
2243 string formatUInt(uint64 val, const string&in options = "", uint width = 0);
2244 string formatFloat(double val, const string&in options = "", uint width = 0, uint precision = 0);
2245 int64 parseInt(const string&in, uint base = 10, uint&out byteCount = 0);
2246 uint64 parseUInt(const string&in, uint base = 10, uint&out byteCount = 0);
2247 double parseFloat(const string&in, uint&out byteCount = 0);
2248 string join(const string[]&in, const string&in);
2249 float fpFromIEEE(uint);
2250 uint fpToIEEE(float);
2251 double fpFromIEEE(uint64);
2252 uint64 fpToIEEE(double);
2253 bool closeTo(float, float, float = 0.00001f);
2254 bool closeTo(double, double, double = 0.0000000001);
2255 float cos(float);
2256 float sin(float);
2257 float tan(float);
2258 float acos(float);
2259 float asin(float);
2260 float atan(float);
2261 float atan2(float, float);
2262 float cosh(float);
2263 float sinh(float);
2264 float tanh(float);
2265 float log(float);
2266 float log10(float);
2267 float pow(float, float);
2268 float sqrt(float);
2269 float ceil(float);
2270 float abs(float);
2271 float floor(float);
2272 float fraction(float);
2273 
2297 double dist(const vec3d&in a, const vec3d&in b);
2298 
2322 double dist_squared(const vec3d&in a, const vec3d&in b);
2323 
2344 double dot(const vec3d&in a, const vec3d&in b);
2345 
2368 vec3d cross(const vec3d&in a, const vec3d&in b);
2369 
2390 double angle(const vec3d&in a, const vec3d&in b);
2391 
2414 double signed_angle(const vec3d&in a, const vec3d&in b, const vec3d&in ref);
2415 
2440 double cos_angle(const vec3d&in a, const vec3d&in b);
2441 
2464 vec3d RotateArbAxis(const vec3d&in p, double theta, const vec3d&in axis);
2465 
2485 string AddParm(int type, const string&in name, const string&in group);
2486 
2503 string GetCurrCustomGeom();
2504 
2514 string GetCustomParm(int index);
2515 
2548 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);
2549 
2575 void UpdateGui(int gui_id, const string&in parm_id);
2576 
2597 string AddXSecSurf();
2598 
2631 void RemoveXSecSurf(const string&in xsec_id);
2632 
2648 void ClearXSecSurfs();
2649 
2679 void SkinXSecSurf(bool closed_flag = false);
2680 
2707 void CloneSurf(int index, Matrix4d&in mat);
2708 
2718 void TransformSurf(int index, Matrix4d&in mat);
2719 
2741 void SetVspSurfType(int type, int surf_index = - 1);
2742 
2764 void SetVspSurfCfdType(int type, int surf_index = - 1);
2765 
2790 void SetCustomXSecLoc(const string&in xsec_id, const vec3d&in loc);
2791 
2817 vec3d GetCustomXSecLoc(const string&in xsec_id);
2818 
2836 void SetCustomXSecRot(const string&in xsec_id, const vec3d&in rot);
2837 
2861 vec3d GetCustomXSecRot(const string&in xsec_id);
2862 
2872 bool CheckClearTriggerEvent(int gui_id);
2873 
2906 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);
2907 
2921 
2941 void SetCustomCenter(double x, double y, double z);
2942 
2968 string AppendXSec(const string&in xsec_surf_id, int type);
2969 
2995 string AppendCustomXSec(const string&in xsec_surf_id, int type);
2996 
3007 void CutCustomXSec(const string&in xsec_surf_id, int index);
3008 
3019 void CopyCustomXSec(const string&in xsec_surf_id, int index);
3020 
3031 void PasteCustomXSec(const string&in xsec_surf_id, int index);
3032 
3044 string InsertCustomXSec(const string&in xsec_surf_id, int type, int index);
3045 
3063 void AddInput(const string&in parm_id, const string&in var_name);
3064 
3082 void AddOutput(const string&in parm_id, const string&in var_name);
3083 
3103 void SetVar(const string&in var_name, double val);
3104 
3128 double GetVar(const string&in var_name);
3129 
3146 bool GetErrorLastCallFlag();
3147 
3164 int GetNumTotalErrors();
3165 
3183 
3199 
3219 void ScreenGrab(const string&in file_name, int w, int h, bool transparentBG);
3220 
3232 void SetViewAxis(bool vaxis);
3233 
3245 void SetShowBorders(bool brdr);
3246 
3262 void SetGeomDrawType(const string&in geom_id, int type);
3263 
3279 void SetGeomDisplayType(const string&in geom_id, int type);
3280 
3294 void SetBackground(double r, double g, double b);
3295 
3314 void Update();
3315 
3324 void VSPExit(int error_code);
3325 
3340 void ClearVSPModel();
3341 
3366 string GetVSPFileName();
3367 
3399 void ReadVSPFile(const string&in file_name);
3400 
3433 void WriteVSPFile(const string&in file_name, int set);
3434 
3466 void SetVSP3FileName(const string&in file_name);
3467 
3478 void InsertVSPFile(const string&in file_name, const string&in parent);
3479 
3496 void ExportFile(const string&in file_name, int write_set_index, int file_type);
3497 
3510 string ImportFile(const string&in file_name, int file_type, const string&in parent);
3511 
3520 void ReadApplyDESFile(const string&in file_name);
3521 
3530 void WriteDESFile(const string&in file_name);
3531 
3540 void ReadApplyXDDMFile(const string&in file_name);
3541 
3550 void WriteXDDMFile(const string&in file_name);
3551 
3560 int GetNumDesignVars();
3561 
3572 void AddDesignVar(const string&in parm_id, int type);
3573 
3581 void DeleteAllDesignVars();
3582 
3592 string GetDesignVar(int index);
3593 
3604 int GetDesignVarType(int index);
3605 
3629 string ComputeMassProps(int set, int num_slices);
3630 
3654 string ComputeCompGeom(int set, bool half_mesh, int file_export_types);
3655 
3684 string ComputePlaneSlice(int set, int num_slices, const vec3d&in norm, bool auto_bnd, double start_bnd = 0, double end_bnd = 0);
3685 
3703 void ComputeDegenGeom(int set, int file_type);
3704 
3722 void SetComputationFileName(int file_type, const string&in file_name);
3723 
3742 void ComputeCFDMesh(int set, int file_type);
3743 
3757 void SetCFDMeshVal(int type, double val);
3758 
3775 void SetCFDWakeFlag(const string&in geom_id, bool flag);
3776 
3792 void DeleteAllCFDSources();
3793 
3807 void AddDefaultSources();
3808 
3834 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);
3835 
3849 int GetNumAnalysis();
3850 
3869 string[]@ ListAnalysis();
3870 
3892 string[]@ GetAnalysisInputNames(const string&in analysis);
3893 
3908 string ExecAnalysis(const string&in analysis);
3909 
3920 int GetNumAnalysisInputData(const string&in analysis, const string&in name);
3921 
3943 int GetAnalysisInputType(const string&in analysis, const string&in name);
3944 
3968 int[]@ GetIntAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3969 
3989 double[]@ GetDoubleAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3990 
4010 string[]@ GetStringAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4011 
4032 vec3d[]@ GetVec3dAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4033 
4049 void PrintAnalysisInputs(const string&in analysis);
4050 
4066 void SetAnalysisInputDefaults(const string&in analysis);
4067 
4091 void SetIntAnalysisInput(const string&in analysis, const string&in name, int[]@ indata_arr, int index = 0);
4092 
4117 void SetDoubleAnalysisInput(const string&in analysis, const string&in name, double[]@ indata_arr, int index = 0);
4118 
4138 void SetStringAnalysisInput(const string&in analysis, const string&in name, string[]@ indata_arr, int index = 0);
4139 
4160 void SetVec3dAnalysisInput(const string&in analysis, const string&in name, vec3d[]@ indata_arr, int index = 0);
4161 
4177 int GetNumResults(const string&in name);
4178 
4201 string GetResultsName(const string&in results_id);
4202 
4221 string FindResultsID(const string&in name, int index = 0);
4222 
4244 string FindLatestResultsID(const string&in name);
4245 
4272 int GetNumData(const string&in results_id, const string&in data_name);
4273 
4298 int GetResultsType(const string&in results_id, const string&in data_name);
4299 
4320 string[]@ GetAllResultsNames();
4321 
4341 string[]@ GetAllDataNames(const string&in results_id);
4342 
4370 int[]@ GetIntResults(const string&in id, const string&in name, int index = 0);
4371 
4394 double[]@ GetDoubleResults(const string&in id, const string&in name, int index = 0);
4395 
4407 double[]@[]@ GetDoubleMatResults(const string&in id, const string&in name, int index = 0);
4408 
4430 string[]@ GetStringResults(const string&in id, const string&in name, int index = 0);
4431 
4453 vec3d[]@ GetVec3dResults(const string&in id, const string&in name, int index = 0);
4454 
4478 string CreateGeomResults(const string&in geom_id, const string&in name);
4479 
4500 void DeleteAllResults();
4501 
4523 void DeleteResult(const string&in id);
4524 
4544 void WriteResultsCSVFile(const string&in id, const string&in file_name);
4545 
4565 void PrintResults(const string&in id);
4566 
4580 void WriteTestResults();
4581 
4599 string[]@ GetGeomTypes();
4600 
4615 string AddGeom(const string&in type, const string&in parent = string ( ));
4616 
4637 void UpdateGeom(const string&in geom_id);
4638 
4656 void DeleteGeom(const string&in geom_id);
4657 
4676 void DeleteGeomVec(string[]@ del_arr);
4677 
4700 void CutGeomToClipboard(const string&in geom_id);
4701 
4724 void CopyGeomToClipboard(const string&in geom_id);
4725 
4748 string[]@ PasteGeomClipboard(const string&in parent_id = "");
4749 
4768 string[]@ FindGeoms();
4769 
4793 string[]@ FindGeomsWithName(const string&in name);
4794 
4821 string FindGeom(const string&in name, int index);
4822 
4845 void SetGeomName(const string&in geom_id, const string&in name);
4846 
4866 string GetGeomName(const string&in geom_id);
4867 
4887 string[]@ GetGeomParmIDs(const string&in geom_id);
4888 
4909 int GetGeomVSPSurfCfdType(const string&in geom_id, int main_surf_ind = 0);
4910 
4931 int GetGeomVSPSurfType(const string&in geom_id, int main_surf_ind = 0);
4932 
4950 string GetGeomTypeName(const string&in geom_id);
4951 
4972 int GetNumMainSurfs(const string&in geom_id);
4973 
4994 int GetTotalNumSurfs(const string&in geom_id);
4995 
5020 vec3d GetGeomBBoxMax(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5021 
5046 vec3d GetGeomBBoxMin(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5047 
5067 string GetGeomParent(const string&in geom_id);
5068 
5096 string[]@ GetGeomChildren(const string&in geom_id);
5097 
5118 string AddSubSurf(const string&in geom_id, int type, int surfindex = 0);
5119 
5145 void DeleteSubSurf(const string&in geom_id, const string&in sub_id);
5146 
5171 void DeleteSubSurf(const string&in sub_id);
5172 
5196 string GetSubSurf(const string&in geom_id, int index);
5197 
5221 string[]@ GetSubSurf(const string&in geom_id, const string&in name);
5222 
5242 void SetSubSurfName(const string&in geom_id, const string&in sub_id, const string&in name);
5243 
5262 void SetSubSurfName(const string&in sub_id, const string&in name);
5263 
5285 string GetSubSurfName(const string&in geom_id, const string&in sub_id);
5286 
5307 string GetSubSurfName(const string&in sub_id);
5308 
5330 int GetSubSurfIndex(const string&in sub_id);
5331 
5366 string[]@ GetSubSurfIDVec(const string&in geom_id);
5367 
5376 string[]@ GetAllSubSurfIDs();
5377 
5399 int GetNumSubSurf(const string&in geom_id);
5400 
5436 int GetSubSurfType(const string&in sub_id);
5437 
5463 string[]@ GetSubSurfParmIDs(const string&in sub_id);
5464 
5522 
5553 
5576 
5594 void AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex);
5595 
5615 void RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex);
5616 
5645 string[]@ GetActiveCSNameVec(int CSGroupIndex);
5646 
5671 string[]@ GetCompleteCSNameVec();
5672 
5696 string[]@ GetAvailableCSNameVec(int CSGroupIndex);
5697 
5720 void SetVSPAEROControlGroupName(const string&in name, int CSGroupIndex);
5721 
5743 string GetVSPAEROControlGroupName(int CSGroupIndex);
5744 
5775 void AddSelectedToCSGroup(int[]@ selected, int CSGroupIndex);
5776 
5803 void RemoveSelectedFromCSGroup(int[]@ selected, int CSGroupIndex);
5804 
5813 string GetVSPAERORefWingID();
5814 
5845 string SetVSPAERORefWingID(const string&in geom_id);
5846 
5873 string FindActuatorDisk(int disk_index);
5874 
5898 int GetNumActuatorDisks();
5899 
5922 string FindUnsteadyGroup(int group_index);
5923 
5949 string GetUnsteadyGroupName(int group_index);
5950 
5976 string[]@ GetUnsteadyGroupCompIDs(int group_index);
5977 
6003 int[]@ GetUnsteadyGroupSurfIndexes(int group_index);
6004 
6029 int GetNumUnsteadyGroups();
6030 
6059 void SetDriverGroup(const string&in geom_id, int section_index, int driver_0, int driver_1, int driver_2);
6060 
6078 int GetNumXSecSurfs(const string&in geom_id);
6079 
6097 string GetXSecSurf(const string&in geom_id, int index);
6098 
6127 int GetNumXSec(const string&in xsec_surf_id);
6128 
6149 string GetXSec(const string&in xsec_surf_id, int xsec_index);
6150 
6173 void ChangeXSecShape(const string&in xsec_surf_id, int xsec_index, int type);
6174 
6184 void SetXSecSurfGlobalXForm(const string&in xsec_surf_id, const Matrix4d&in mat);
6185 
6195 Matrix4d GetXSecSurfGlobalXForm(const string&in xsec_surf_id);
6196 
6219 void CutXSec(const string&in geom_id, int index);
6220 
6241 void CopyXSec(const string&in geom_id, int index);
6242 
6263 void PasteXSec(const string&in geom_id, int index);
6264 
6282 void InsertXSec(const string&in geom_id, int index, int type);
6283 
6307 int GetXSecShape(const string&in xsec_id);
6308 
6331 double GetXSecWidth(const string&in xsec_id);
6332 
6355 double GetXSecHeight(const string&in xsec_id);
6356 
6379 void SetXSecWidth(const string&in xsec_id, double w);
6380 
6403 void SetXSecHeight(const string&in xsec_id, double h);
6404 
6429 void SetXSecWidthHeight(const string&in xsec_id, double w, double h);
6430 
6452 string[]@ GetXSecParmIDs(const string&in xsec_id);
6453 
6478 string GetXSecParm(const string&in xsec_id, const string&in name);
6479 
6502 vec3d[]@ ReadFileXSec(const string&in xsec_id, const string&in file_name);
6503 
6533 void SetXSecPnts(const string&in xsec_id, vec3d[]@ pnt_arr);
6534 
6566 vec3d ComputeXSecPnt(const string&in xsec_id, double fract);
6567 
6601 vec3d ComputeXSecTan(const string&in xsec_id, double fract);
6602 
6625 void ResetXSecSkinParms(const string&in xsec_id);
6626 
6650 void SetXSecContinuity(const string&in xsec_id, int cx);
6651 
6682 void SetXSecTanAngles(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6683 
6714 void SetXSecTanSlews(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6715 
6747 void SetXSecTanStrengths(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6748 
6780 void SetXSecCurvatures(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6781 
6803 void ReadFileAirfoil(const string&in xsec_id, const string&in file_name);
6804 
6840 void SetAirfoilPnts(const string&in xsec_id, vec3d[]@ up_pnt_vec, vec3d[]@ low_pnt_vec);
6841 
6870 vec3d[]@ GetHersheyBarLiftDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6871 
6900 vec3d[]@ GetHersheyBarDragDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6901 
6932 vec3d[]@ GetVKTAirfoilPnts(const int&in npts, const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau);
6933 
6965 double[]@ GetVKTAirfoilCpDist(const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau, vec3d[]@ xydata);
6966 
6981 vec3d[]@ GetEllipsoidSurfPnts(const vec3d&in center, const vec3d&in abc_rad, int u_npts = 20, int w_npts = 20);
6982 
6992 vec3d[]@ GetFeatureLinePnts(const string&in geom_id);
6993 
7040 double[]@ GetEllipsoidCpDist(vec3d[]@ surf_pnt_arr, const vec3d&in abc_rad, const vec3d&in V_inf);
7041 
7066 vec3d[]@ GetAirfoilUpperPnts(const string&in xsec_id);
7067 
7092 vec3d[]@ GetAirfoilLowerPnts(const string&in xsec_id);
7093 
7104 double[]@ GetUpperCSTCoefs(const string&in xsec_id);
7105 
7116 double[]@ GetLowerCSTCoefs(const string&in xsec_id);
7117 
7128 int GetUpperCSTDegree(const string&in xsec_id);
7129 
7140 int GetLowerCSTDegree(const string&in xsec_id);
7141 
7153 void SetUpperCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7154 
7166 void SetLowerCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7167 
7177 void PromoteCSTUpper(const string&in xsec_id);
7178 
7188 void PromoteCSTLower(const string&in xsec_id);
7189 
7199 void DemoteCSTUpper(const string&in xsec_id);
7200 
7210 void DemoteCSTLower(const string&in xsec_id);
7211 
7222 void FitAfCST(const string&in xsec_surf_id, int xsec_index, int deg);
7223 
7244 void WriteBezierAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7245 
7266 void WriteSeligAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7267 
7278 vec3d[]@ GetAirfoilCoordinates(const string&in geom_id, const double&in foilsurf_u);
7279 
7306 void EditXSecInitShape(const string&in xsec_id);
7307 
7334 void EditXSecConvertTo(const string&in xsec_id, const int&in newtype);
7335 
7362 double[]@ GetEditXSecUVec(const string&in xsec_id);
7363 
7389 vec3d[]@ GetEditXSecCtrlVec(const string&in xsec_id, const bool non_dimensional = true);
7390 
7438 void SetEditXSecPnts(const string&in xsec_id, double[]@ u_vec, vec3d[]@ control_pts);
7439 
7465 void EditXSecDelPnt(const string&in xsec_id, const int&in indx);
7466 
7489 int EditXSecSplit01(const string&in xsec_id, const double&in u);
7490 
7525 void MoveEditXSecPnt(const string&in xsec_id, const int&in indx, const vec3d&in new_pnt);
7526 
7553 void ConvertXSecToEdit(const string&in geom_id, const int&in indx = 0);
7554 
7573 void ChangeBORXSecShape(const string&in geom_id, int type);
7574 
7592 int GetBORXSecShape(const string&in geom_id);
7593 
7606 int GetNumSets();
7607 
7623 void SetSetName(int index, const string&in name);
7624 
7640 string GetSetName(int index);
7641 
7661 string[]@ GetGeomSetAtIndex(int index);
7662 
7681 string[]@ GetGeomSet(const string&in name);
7682 
7697 int GetSetIndex(const string&in name);
7698 
7717 bool GetSetFlag(const string&in geom_id, int set_index);
7718 
7737 void SetSetFlag(const string&in geom_id, int set_index, bool flag);
7738 
7757 void ScaleSet(int set_index, double scale);
7758 
7779 void RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg);
7780 
7799 void TranslateSet(int set_index, const vec3d&in translation_vec);
7800 
7825 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);
7826 
7844 bool ValidParm(const string&in id);
7845 
7871 double SetParmVal(const string&in parm_id, double val);
7872 
7893 double SetParmValLimits(const string&in parm_id, double val, double lower_limit, double upper_limit);
7894 
7914 double SetParmValUpdate(const string&in parm_id, double val);
7915 
7934 double SetParmVal(const string&in geom_id, const string&in name, const string&in group, double val);
7935 
7955 double SetParmValUpdate(const string&in geom_id, const string&in parm_name, const string&in parm_group_name, double val);
7956 
7980 double GetParmVal(const string&in parm_id);
7981 
8000 double GetParmVal(const string&in geom_id, const string&in name, const string&in group);
8001 
8019 int GetIntParmVal(const string&in parm_id);
8020 
8038 bool GetBoolParmVal(const string&in parm_id);
8039 
8066 void SetParmUpperLimit(const string&in parm_id, double val);
8067 
8085 double GetParmUpperLimit(const string&in parm_id);
8086 
8113 void SetParmLowerLimit(const string&in parm_id, double val);
8114 
8132 double GetParmLowerLimit(const string&in parm_id);
8133 
8156 int GetParmType(const string&in parm_id);
8157 
8189 string GetParmName(const string&in parm_id);
8190 
8215 string GetParmGroupName(const string&in parm_id);
8216 
8241 string GetParmDisplayGroupName(const string&in parm_id);
8242 
8266 string GetParmContainer(const string&in parm_id);
8267 
8284 void SetParmDescript(const string&in parm_id, const string&in desc);
8285 
8306 string FindParm(const string&in parm_container_id, const string&in parm_name, const string&in group_name);
8307 
8327 string GetParm(const string&in geom_id, const string&in name, const string&in group);
8328 
8349 string[]@ FindContainers();
8350 
8365 string[]@ FindContainersWithName(const string&in name);
8366 
8382 string FindContainer(const string&in name, int index);
8383 
8398 string GetContainerName(const string&in parm_container_id);
8399 
8422 string[]@ FindContainerGroupNames(const string&in parm_container_id);
8423 
8455 string[]@ FindContainerParmIDs(const string&in parm_container_id);
8456 
8480 double ComputeMinClearanceDistance(const string&in geom_id, int set);
8481 
8508 double SnapParm(const string&in parm_id, double target_min_dist, bool inc_flag, int set);
8509 
8526 void AddVarPresetGroup(const string&in group_name);
8527 
8546 void AddVarPresetSetting(const string&in setting_name);
8547 
8568 void AddVarPresetParm(const string&in parm_ID);
8569 
8589 void AddVarPresetParm(const string&in parm_ID, const string&in group_name);
8590 
8614 void EditVarPresetParm(const string&in parm_ID, double parm_val);
8615 
8643 void EditVarPresetParm(const string&in parm_ID, double parm_val, const string&in group_name, const string&in setting_name);
8644 
8667 void DeleteVarPresetParm(const string&in parm_ID);
8668 
8694 void DeleteVarPresetParm(const string&in parm_ID, const string&in group_name);
8695 
8721 void SwitchVarPreset(const string&in group_name, const string&in setting_name);
8722 
8742 bool DeleteVarPresetSet(const string&in group_name, const string&in setting_name);
8743 
8772 string GetCurrentGroupName();
8773 
8802 string GetCurrentSettingName();
8803 
8820 string[]@ GetVarPresetGroupNames();
8821 
8841 string[]@ GetVarPresetSettingNamesWName(const string&in group_name);
8842 
8873 string[]@ GetVarPresetSettingNamesWIndex(int group_index);
8874 
8901 double[]@ GetVarPresetParmVals();
8902 
8934 double[]@ GetVarPresetParmValsWNames(const string&in group_name, const string&in setting_name);
8935 
8960 string[]@ GetVarPresetParmIDs();
8961 
8990 string[]@ GetVarPresetParmIDsWName(const string&in group_name);
8991 
9005 void SetPCurve(const string&in geom_id, const int&in pcurveid, double[]@ tvec, double[]@ valvec, const int&in newtype);
9006 
9018 void PCurveConvertTo(const string&in geom_id, const int&in pcurveid, const int&in newtype);
9019 
9031 int PCurveGetType(const string&in geom_id, const int&in pcurveid);
9032 
9043 double[]@ PCurveGetTVec(const string&in geom_id, const int&in pcurveid);
9044 
9055 double[]@ PCurveGetValVec(const string&in geom_id, const int&in pcurveid);
9056 
9067 void PCurveDeletePt(const string&in geom_id, const int&in pcurveid, const int&in indx);
9068 
9080 int PCurveSplit(const string&in geom_id, const int&in pcurveid, const double&in tsplit);
9081 
9098 void AddExcrescence(const string&in excresName, const int&in excresType, const double&in excresVal);
9099 
9117 void DeleteExcrescence(const int&in excresName);
9118 
9126 void UpdateParasiteDrag();
9127 
9144 void WriteAtmosphereCSVFile(const string&in file_name, const int&in atmos_type);
9145 
9172 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);
9173 
9186 void WriteBodyFFCSVFile(const string&in file_name);
9187 
9200 void WriteWingFFCSVFile(const string&in file_name);
9201 
9214 void WriteCfEqnCSVFile(const string&in file_name);
9215 
9228 void WritePartialCfMethodCSVFile(const string&in file_name);
9229 
9255 vec3d CompPnt01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9256 
9282 vec3d CompNorm01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9283 
9309 vec3d CompTanU01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9310 
9336 vec3d CompTanW01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9337 
9365 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);
9366 
9404 double ProjPnt01(const string&in geom_id, const int&in surf_indx, const vec3d&in pt, double&out u, double&out w);
9405 
9445 double ProjPnt01I(const string&in geom_id, const vec3d&in pt, int&out surf_indx, double&out u, double&out w);
9446 
9487 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);
9488 
9510 void GetUWTess01(const string&in geom_id, int&in surf_indx, double[]@ us, double[]@ ws);
9511 
9544 vec3d[]@ CompVecPnt01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9545 
9578 vec3d[]@ CompVecNorm01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9579 
9617 void CompVecCurvature01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs);
9618 
9665 void ProjVecPnt01(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds);
9666 
9726 void ProjVecPnt01Guess(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds);
9727 
9758 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);
9759 
9790 string[]@ GetAllRulers();
9791 
9815 void DelRuler(const string&in id);
9816 
9839 void DeleteAllRulers();
9840 
9863 string AddProbe(const string&in geomid, int surfindx, double u, double w, const string&in name);
9864 
9886 string[]@ GetAllProbes();
9887 
9910 void DelProbe(const string&in id);
9911 
9933 void DeleteAllProbes();
9934 
9953 int AddFeaStruct(const string&in geom_id, bool init_skin = true, int surfindex = 0);
9954 
9975 void DeleteFeaStruct(const string&in geom_id, int fea_struct_ind);
9976 
9996 string GetFeaStructID(const string&in geom_id, int fea_struct_ind);
9997 
10022 int GetFeaStructIndex(const string&in struct_id);
10023 
10045 string GetFeaStructParentGeomID(const string&in struct_id);
10046 
10072 string GetFeaStructName(const string&in geom_id, int fea_struct_ind);
10073 
10100 void SetFeaStructName(const string&in geom_id, int fea_struct_ind, const string&in name);
10101 
10123 void SetFeaPartName(const string&in part_id, const string&in name);
10124 
10150 void SetFeaMeshVal(const string&in geom_id, int fea_struct_ind, int type, double val);
10151 
10177 void SetFeaMeshFileName(const string&in geom_id, int fea_struct_id, int file_type, const string&in file_name);
10178 
10205 void ComputeFeaMesh(const string&in geom_id, int fea_struct_ind, int file_type);
10206 
10232 void ComputeFeaMesh(const string&in struct_id, int file_type);
10233 
10260 string AddFeaPart(const string&in geom_id, int fea_struct_ind, int type);
10261 
10288 void DeleteFeaPart(const string&in geom_id, int fea_struct_ind, const string&in part_id);
10289 
10329 void SetFeaPartPerpendicularSparID(const string&in part_id, const string&in perpendicular_spar_id);
10330 
10369 string GetFeaPartPerpendicularSparID(const string&in part_id);
10370 
10397 string AddFeaSubSurf(const string&in geom_id, int fea_struct_ind, int type);
10398 
10425 void DeleteFeaSubSurf(const string&in geom_id, int fea_struct_ind, const string&in ss_id);
10426 
10441 string AddFeaMaterial();
10442 
10460 string AddFeaProperty(int property_type = 0);
10461 
10474 void Print(const string&in data, bool new_line = true);
10475 
10488 void Print(const vec3d&in data, bool new_line = true);
10489 
10502 void Print(double data, bool new_line = true);
10503 
10516 void Print(int data, bool new_line = true);
10517 
10533 double Min(double x, double y);
10534 
10550 double Max(double x, double y);
10551 
10566 double Rad2Deg(double r);
10567 
10582 double Deg2Rad(double d);
10583 
10597 string GetVSPVersion();
10598 
10613 string GetVSPExePath();
10614 
10631 void VSPCheckSetup();
10632 
10648 void VSPRenew();
10649 
10663 
10664 
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:2108
FF_B_EQN
Definition: openvsp_as.h:1521
string GetVSPFileName()
void SetCustomCenter(double x, double y, double z)
VSPAERO_STABILITY_TYPE
Definition: openvsp_as.h:2068
void loadXZRef()
void scale_y(double scale)
VIEW_TYPE
Definition: openvsp_as.h:2011
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:2209
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:2026
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:1999
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:2169
VSP_SURF_TYPE
Definition: openvsp_as.h:2095
FEA_UNIT_TYPE
Definition: openvsp_as.h:1508
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:1960
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:1493
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:1899
void EditXSecDelPnt(const string &in xsec_id, const int &in indx)
string FindUnsteadyGroup(int group_index)
REF_WING_TYPE
Definition: openvsp_as.h:1815
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:1840
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
int GetNumActuatorDisks()
RES_DATA_TYPE
Definition: openvsp_as.h:1826
RHO_UNITS
Definition: openvsp_as.h:1852
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:2081
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)
string GetFeaPartPerpendicularSparID(const string &in part_id)
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:2235
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:2198
double SetParmVal(const string &in parm_id, double val)
void SetCFDWakeFlag(const string &in geom_id, bool flag)
GDEV
Definition: openvsp_as.h:1571
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:2057
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:1539
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:1646
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:1920
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:1878
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:1987
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:1561
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:1972
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:1730
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:2221
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:1618
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:1950
vec3d [] GetAirfoilCoordinates(const string &in geom_id, const double &in foilsurf_u)
SUBSURF_INCLUDE
Definition: openvsp_as.h:1888
WING_DRIVERS
Definition: openvsp_as.h:2125
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:1934
VSPAERO_NOISE_TYPE
Definition: openvsp_as.h:2036
vec3d [] ReadFileXSec(const string &in xsec_id, const string &in file_name)
void WriteTestResults()
ErrorObj PopLastError()
SET_TYPE
Definition: openvsp_as.h:1866
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:1703
MASS_UNIT
Definition: openvsp_as.h:1675
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:1749
XDDM_QUANTITY_TYPE
Definition: openvsp_as.h:2145
CAP_TYPE
Definition: openvsp_as.h:1120
string GetXSecSurf(const string &in geom_id, int index)
XSEC_CLOSE_TYPE
Definition: openvsp_as.h:2155
PROJ_TGT_TYPE
Definition: openvsp_as.h:1775
string [] GetActiveCSNameVec(int CSGroupIndex)
void ComputeDegenGeom(int set, int file_type)
vec3d [] GetAirfoilUpperPnts(const string &in xsec_id)
FEA_RIB_NORMAL
Definition: openvsp_as.h:1481
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)
void SetFeaPartPerpendicularSparID(const string &in part_id, const string &in perpendicular_spar_id)
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:1910
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)
int GetNumUnsteadyGroups()
void SetParmUpperLimit(const string &in parm_id, double val)
INIT_EDIT_XSEC_TYPE
Definition: openvsp_as.h:1635
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:1797
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:1717
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:1786
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:1608
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:1761
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:1660
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)
VSPAERO_NOISE_UNIT
Definition: openvsp_as.h:2047
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:1689