OpenVSPAPI  3.21.2
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 {
1160 };
1161 
1167 {
1181 };
1182 
1188 {
1195 };
1196 
1202 {
1205 };
1206 
1212 {
1234 };
1235 
1241 {
1245 };
1246 
1252 {
1264  CFD_OBJ_TYPE = 1024,
1265  CFD_DAT_TYPE = 2048,
1266  CFD_KEY_TYPE = 4096,
1267  CFD_GMSH_TYPE = 8192,
1268  CFD_SRF_TYPE = 16384,
1269  CFD_TKEY_TYPE = 32768,
1274  CFD_FACET_TYPE = 1048576,
1275  CFD_CURV_TYPE = 2097152,
1276  CFD_PLOT3D_TYPE = 4194304
1277 };
1278 
1284 {
1290 };
1291 
1297 {
1298  SET_3D = 0,
1299  SET_2D = 1
1300 };
1301 
1307 {
1308  X_DIR = 0,
1309  Y_DIR = 1,
1310  Z_DIR = 2
1311 };
1312 
1318 {
1323 };
1324 
1330 {
1336 };
1337 
1343 {
1344  VSP_OK = 0,
1366 };
1367 
1373 {
1379 };
1380 
1386 {
1397  EXPORT_X3D = 10,
1401  EXPORT_BEM = 14,
1402  EXPORT_DXF = 15,
1404  EXPORT_SVG = 17,
1406  EXPORT_OBJ = 19,
1411 };
1412 
1418 {
1425 };
1426 
1432 {
1445 };
1446 
1452 {
1454  FEA_BEAM = 1,
1456 };
1457 
1463 {
1465  FEA_RIB = 1,
1466  FEA_SPAR = 2,
1468  FEA_DOME = 4,
1471  FEA_SKIN = 7,
1473 };
1474 
1480 {
1485 };
1486 
1492 {
1493  XY_BODY = 0,
1494  YZ_BODY = 1,
1495  XZ_BODY = 2,
1496  XY_ABS = 3,
1497  YZ_ABS = 4,
1498  XZ_ABS = 5,
1500 };
1501 
1507 {
1508  SI_UNIT = 0,
1509  CGS_UNIT = 1,
1510  MPA_UNIT = 2,
1511  BFT_UNIT = 3,
1513 };
1514 
1520 {
1531 };
1532 
1538 {
1553 };
1554 
1560 {
1563 };
1564 
1569 enum GDEV
1570 {
1571  GDEV_TAB = 0,
1594  GDEV_YGAP = 24,
1600 };
1601 
1607 {
1608  MALE = 0,
1609  FEMALE = 1
1610 };
1611 
1617 {
1627 };
1628 
1634 {
1638 };
1639 
1645 {
1652 };
1653 
1659 {
1660  LEN_MM = 0,
1661  LEN_CM = 1,
1662  LEN_M = 2,
1663  LEN_IN = 3,
1664  LEN_FT = 4,
1665  LEN_YD = 5,
1667 };
1668 
1674 {
1681 };
1682 
1688 {
1695 };
1696 
1702 {
1709 };
1710 
1716 {
1717  LINEAR = 0,
1718  PCHIP = 1,
1719  CEDIT = 2,
1722 };
1723 
1729 {
1741 };
1742 
1748 {
1753 };
1754 
1760 {
1761  X_PROJ = 0,
1762  Y_PROJ = 1,
1763  Z_PROJ = 2,
1765  VEC_PROJ = 4,
1767 };
1768 
1774 {
1778 };
1779 
1785 {
1789 };
1790 
1796 {
1803  PROP_CLI = 6,
1807 };
1808 
1814 {
1818 };
1819 
1825 {
1827  INT_DATA = 0,
1832 };
1833 
1839 {
1844 };
1845 
1851 {
1858 };
1859 
1865 {
1866  SET_ALL = 0,
1870 };
1871 
1877 {
1880 };
1881 
1887 {
1891 };
1892 
1898 {
1899  INSIDE = 0,
1900  OUTSIDE = 1,
1901  NONE = 2
1902 };
1903 
1909 {
1910  CONST_U = 0,
1911  CONST_W = 1
1912 };
1913 
1919 {
1920  SS_LINE = 0,
1926 };
1927 
1933 {
1934  SYM_XY = 1,
1935  SYM_XZ = 2,
1936  SYM_YZ = 4,
1938  SYM_ROT_Y = 16,
1939  SYM_ROT_Z = 32,
1942 };
1943 
1949 {
1950  SYM_NONE = 0,
1951  SYM_RL = 1
1952 };
1953 
1959 {
1964 };
1965 
1971 {
1979 };
1980 
1986 {
1987  VIEW_1 = 0,
1990  VIEW_4 = 3
1991 };
1992 
1998 {
1999  ROT_0 = 0,
2000  ROT_90 = 1,
2001  ROT_180 = 2,
2002  ROT_270 = 3
2003 };
2004 
2010 {
2013  VIEW_TOP = 2,
2018 };
2019 
2025 {
2027  PANEL = 1
2028 };
2029 
2035 {
2039 };
2040 
2046 {
2047  NOISE_SI = 0,
2049 };
2050 
2056 {
2060 };
2061 
2067 {
2073 };
2074 
2080 {
2087 };
2088 
2094 {
2100 };
2101 
2107 {
2117 };
2118 
2124 {
2137 };
2138 
2144 {
2145  XDDM_VAR = 0,
2147 };
2148 
2154 {
2161 };
2162 
2168 {
2170  XS_POINT = 0,
2180  XS_WEDGE = 10,
2190 };
2191 
2197 {
2201 };
2202 
2208 {
2210  TRIM_X = 1,
2213 };
2214 
2220 {
2227 };
2228 
2234 {
2238 };
2239 
2240 string formatInt(int64 val, const string&in options = "", uint width = 0);
2241 string formatUInt(uint64 val, const string&in options = "", uint width = 0);
2242 string formatFloat(double val, const string&in options = "", uint width = 0, uint precision = 0);
2243 int64 parseInt(const string&in, uint base = 10, uint&out byteCount = 0);
2244 uint64 parseUInt(const string&in, uint base = 10, uint&out byteCount = 0);
2245 double parseFloat(const string&in, uint&out byteCount = 0);
2246 string join(const string[]&in, const string&in);
2247 float fpFromIEEE(uint);
2248 uint fpToIEEE(float);
2249 double fpFromIEEE(uint64);
2250 uint64 fpToIEEE(double);
2251 bool closeTo(float, float, float = 0.00001f);
2252 bool closeTo(double, double, double = 0.0000000001);
2253 float cos(float);
2254 float sin(float);
2255 float tan(float);
2256 float acos(float);
2257 float asin(float);
2258 float atan(float);
2259 float atan2(float, float);
2260 float cosh(float);
2261 float sinh(float);
2262 float tanh(float);
2263 float log(float);
2264 float log10(float);
2265 float pow(float, float);
2266 float sqrt(float);
2267 float ceil(float);
2268 float abs(float);
2269 float floor(float);
2270 float fraction(float);
2271 
2295 double dist(const vec3d&in a, const vec3d&in b);
2296 
2320 double dist_squared(const vec3d&in a, const vec3d&in b);
2321 
2342 double dot(const vec3d&in a, const vec3d&in b);
2343 
2366 vec3d cross(const vec3d&in a, const vec3d&in b);
2367 
2388 double angle(const vec3d&in a, const vec3d&in b);
2389 
2412 double signed_angle(const vec3d&in a, const vec3d&in b, const vec3d&in ref);
2413 
2438 double cos_angle(const vec3d&in a, const vec3d&in b);
2439 
2462 vec3d RotateArbAxis(const vec3d&in p, double theta, const vec3d&in axis);
2463 
2483 string AddParm(int type, const string&in name, const string&in group);
2484 
2501 string GetCurrCustomGeom();
2502 
2512 string GetCustomParm(int index);
2513 
2546 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);
2547 
2573 void UpdateGui(int gui_id, const string&in parm_id);
2574 
2595 string AddXSecSurf();
2596 
2629 void RemoveXSecSurf(const string&in xsec_id);
2630 
2646 void ClearXSecSurfs();
2647 
2677 void SkinXSecSurf(bool closed_flag = false);
2678 
2705 void CloneSurf(int index, Matrix4d&in mat);
2706 
2716 void TransformSurf(int index, Matrix4d&in mat);
2717 
2739 void SetVspSurfType(int type, int surf_index = - 1);
2740 
2762 void SetVspSurfCfdType(int type, int surf_index = - 1);
2763 
2788 void SetCustomXSecLoc(const string&in xsec_id, const vec3d&in loc);
2789 
2815 vec3d GetCustomXSecLoc(const string&in xsec_id);
2816 
2834 void SetCustomXSecRot(const string&in xsec_id, const vec3d&in rot);
2835 
2859 vec3d GetCustomXSecRot(const string&in xsec_id);
2860 
2870 bool CheckClearTriggerEvent(int gui_id);
2871 
2904 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);
2905 
2919 
2939 void SetCustomCenter(double x, double y, double z);
2940 
2966 string AppendXSec(const string&in xsec_surf_id, int type);
2967 
2993 string AppendCustomXSec(const string&in xsec_surf_id, int type);
2994 
3005 void CutCustomXSec(const string&in xsec_surf_id, int index);
3006 
3017 void CopyCustomXSec(const string&in xsec_surf_id, int index);
3018 
3029 void PasteCustomXSec(const string&in xsec_surf_id, int index);
3030 
3042 string InsertCustomXSec(const string&in xsec_surf_id, int type, int index);
3043 
3061 void AddInput(const string&in parm_id, const string&in var_name);
3062 
3080 void AddOutput(const string&in parm_id, const string&in var_name);
3081 
3101 void SetVar(const string&in var_name, double val);
3102 
3126 double GetVar(const string&in var_name);
3127 
3144 bool GetErrorLastCallFlag();
3145 
3162 int GetNumTotalErrors();
3163 
3181 
3197 
3210 void SilenceErrors();
3211 
3224 void PrintOnErrors();
3225 
3245 void ScreenGrab(const string&in file_name, int w, int h, bool transparentBG);
3246 
3258 void SetViewAxis(bool vaxis);
3259 
3271 void SetShowBorders(bool brdr);
3272 
3288 void SetGeomDrawType(const string&in geom_id, int type);
3289 
3305 void SetGeomDisplayType(const string&in geom_id, int type);
3306 
3320 void SetBackground(double r, double g, double b);
3321 
3340 void Update();
3341 
3350 void VSPExit(int error_code);
3351 
3366 void ClearVSPModel();
3367 
3392 string GetVSPFileName();
3393 
3425 void ReadVSPFile(const string&in file_name);
3426 
3459 void WriteVSPFile(const string&in file_name, int set);
3460 
3492 void SetVSP3FileName(const string&in file_name);
3493 
3504 void InsertVSPFile(const string&in file_name, const string&in parent);
3505 
3522 void ExportFile(const string&in file_name, int write_set_index, int file_type);
3523 
3536 string ImportFile(const string&in file_name, int file_type, const string&in parent);
3537 
3546 void ReadApplyDESFile(const string&in file_name);
3547 
3556 void WriteDESFile(const string&in file_name);
3557 
3566 void ReadApplyXDDMFile(const string&in file_name);
3567 
3576 void WriteXDDMFile(const string&in file_name);
3577 
3586 int GetNumDesignVars();
3587 
3598 void AddDesignVar(const string&in parm_id, int type);
3599 
3607 void DeleteAllDesignVars();
3608 
3618 string GetDesignVar(int index);
3619 
3630 int GetDesignVarType(int index);
3631 
3655 string ComputeMassProps(int set, int num_slices);
3656 
3680 string ComputeCompGeom(int set, bool half_mesh, int file_export_types);
3681 
3710 string ComputePlaneSlice(int set, int num_slices, const vec3d&in norm, bool auto_bnd, double start_bnd = 0, double end_bnd = 0);
3711 
3729 void ComputeDegenGeom(int set, int file_type);
3730 
3748 void SetComputationFileName(int file_type, const string&in file_name);
3749 
3768 void ComputeCFDMesh(int set, int file_type);
3769 
3783 void SetCFDMeshVal(int type, double val);
3784 
3805 void SetCFDWakeFlag(const string&in geom_id, bool flag);
3806 
3822 void DeleteAllCFDSources();
3823 
3837 void AddDefaultSources();
3838 
3864 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);
3865 
3879 int GetNumAnalysis();
3880 
3899 string[]@ ListAnalysis();
3900 
3922 string[]@ GetAnalysisInputNames(const string&in analysis);
3923 
3938 string ExecAnalysis(const string&in analysis);
3939 
3950 int GetNumAnalysisInputData(const string&in analysis, const string&in name);
3951 
3973 int GetAnalysisInputType(const string&in analysis, const string&in name);
3974 
3998 int[]@ GetIntAnalysisInput(const string&in analysis, const string&in name, int index = 0);
3999 
4019 double[]@ GetDoubleAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4020 
4040 string[]@ GetStringAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4041 
4062 vec3d[]@ GetVec3dAnalysisInput(const string&in analysis, const string&in name, int index = 0);
4063 
4079 void PrintAnalysisInputs(const string&in analysis);
4080 
4096 void SetAnalysisInputDefaults(const string&in analysis);
4097 
4121 void SetIntAnalysisInput(const string&in analysis, const string&in name, int[]@ indata_arr, int index = 0);
4122 
4147 void SetDoubleAnalysisInput(const string&in analysis, const string&in name, double[]@ indata_arr, int index = 0);
4148 
4168 void SetStringAnalysisInput(const string&in analysis, const string&in name, string[]@ indata_arr, int index = 0);
4169 
4190 void SetVec3dAnalysisInput(const string&in analysis, const string&in name, vec3d[]@ indata_arr, int index = 0);
4191 
4207 int GetNumResults(const string&in name);
4208 
4231 string GetResultsName(const string&in results_id);
4232 
4251 string FindResultsID(const string&in name, int index = 0);
4252 
4274 string FindLatestResultsID(const string&in name);
4275 
4302 int GetNumData(const string&in results_id, const string&in data_name);
4303 
4328 int GetResultsType(const string&in results_id, const string&in data_name);
4329 
4350 string[]@ GetAllResultsNames();
4351 
4371 string[]@ GetAllDataNames(const string&in results_id);
4372 
4400 int[]@ GetIntResults(const string&in id, const string&in name, int index = 0);
4401 
4424 double[]@ GetDoubleResults(const string&in id, const string&in name, int index = 0);
4425 
4437 double[]@[]@ GetDoubleMatResults(const string&in id, const string&in name, int index = 0);
4438 
4460 string[]@ GetStringResults(const string&in id, const string&in name, int index = 0);
4461 
4483 vec3d[]@ GetVec3dResults(const string&in id, const string&in name, int index = 0);
4484 
4508 string CreateGeomResults(const string&in geom_id, const string&in name);
4509 
4530 void DeleteAllResults();
4531 
4553 void DeleteResult(const string&in id);
4554 
4574 void WriteResultsCSVFile(const string&in id, const string&in file_name);
4575 
4595 void PrintResults(const string&in id);
4596 
4610 void WriteTestResults();
4611 
4629 string[]@ GetGeomTypes();
4630 
4645 string AddGeom(const string&in type, const string&in parent = string ( ));
4646 
4667 void UpdateGeom(const string&in geom_id);
4668 
4686 void DeleteGeom(const string&in geom_id);
4687 
4706 void DeleteGeomVec(string[]@ del_arr);
4707 
4730 void CutGeomToClipboard(const string&in geom_id);
4731 
4754 void CopyGeomToClipboard(const string&in geom_id);
4755 
4778 string[]@ PasteGeomClipboard(const string&in parent_id = "");
4779 
4798 string[]@ FindGeoms();
4799 
4823 string[]@ FindGeomsWithName(const string&in name);
4824 
4851 string FindGeom(const string&in name, int index);
4852 
4875 void SetGeomName(const string&in geom_id, const string&in name);
4876 
4896 string GetGeomName(const string&in geom_id);
4897 
4917 string[]@ GetGeomParmIDs(const string&in geom_id);
4918 
4939 int GetGeomVSPSurfCfdType(const string&in geom_id, int main_surf_ind = 0);
4940 
4961 int GetGeomVSPSurfType(const string&in geom_id, int main_surf_ind = 0);
4962 
4980 string GetGeomTypeName(const string&in geom_id);
4981 
5002 int GetNumMainSurfs(const string&in geom_id);
5003 
5024 int GetTotalNumSurfs(const string&in geom_id);
5025 
5050 vec3d GetGeomBBoxMax(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5051 
5076 vec3d GetGeomBBoxMin(const string&in geom_id, int main_surf_ind = 0, bool ref_frame_is_absolute = true);
5077 
5097 string GetGeomParent(const string&in geom_id);
5098 
5126 string[]@ GetGeomChildren(const string&in geom_id);
5127 
5148 string AddSubSurf(const string&in geom_id, int type, int surfindex = 0);
5149 
5175 void DeleteSubSurf(const string&in geom_id, const string&in sub_id);
5176 
5201 void DeleteSubSurf(const string&in sub_id);
5202 
5226 string GetSubSurf(const string&in geom_id, int index);
5227 
5251 string[]@ GetSubSurf(const string&in geom_id, const string&in name);
5252 
5272 void SetSubSurfName(const string&in geom_id, const string&in sub_id, const string&in name);
5273 
5292 void SetSubSurfName(const string&in sub_id, const string&in name);
5293 
5315 string GetSubSurfName(const string&in geom_id, const string&in sub_id);
5316 
5337 string GetSubSurfName(const string&in sub_id);
5338 
5360 int GetSubSurfIndex(const string&in sub_id);
5361 
5396 string[]@ GetSubSurfIDVec(const string&in geom_id);
5397 
5406 string[]@ GetAllSubSurfIDs();
5407 
5429 int GetNumSubSurf(const string&in geom_id);
5430 
5466 int GetSubSurfType(const string&in sub_id);
5467 
5493 string[]@ GetSubSurfParmIDs(const string&in sub_id);
5494 
5552 
5583 
5606 
5624 void AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex);
5625 
5645 void RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex);
5646 
5675 string[]@ GetActiveCSNameVec(int CSGroupIndex);
5676 
5701 string[]@ GetCompleteCSNameVec();
5702 
5726 string[]@ GetAvailableCSNameVec(int CSGroupIndex);
5727 
5750 void SetVSPAEROControlGroupName(const string&in name, int CSGroupIndex);
5751 
5773 string GetVSPAEROControlGroupName(int CSGroupIndex);
5774 
5807 void AddSelectedToCSGroup(int[]@ selected, int CSGroupIndex);
5808 
5837 void RemoveSelectedFromCSGroup(int[]@ selected, int CSGroupIndex);
5838 
5847 string GetVSPAERORefWingID();
5848 
5879 string SetVSPAERORefWingID(const string&in geom_id);
5880 
5907 string FindActuatorDisk(int disk_index);
5908 
5932 int GetNumActuatorDisks();
5933 
5956 string FindUnsteadyGroup(int group_index);
5957 
5983 string GetUnsteadyGroupName(int group_index);
5984 
6010 string[]@ GetUnsteadyGroupCompIDs(int group_index);
6011 
6037 int[]@ GetUnsteadyGroupSurfIndexes(int group_index);
6038 
6063 int GetNumUnsteadyGroups();
6064 
6093 void SetDriverGroup(const string&in geom_id, int section_index, int driver_0, int driver_1, int driver_2);
6094 
6112 int GetNumXSecSurfs(const string&in geom_id);
6113 
6131 string GetXSecSurf(const string&in geom_id, int index);
6132 
6161 int GetNumXSec(const string&in xsec_surf_id);
6162 
6183 string GetXSec(const string&in xsec_surf_id, int xsec_index);
6184 
6207 void ChangeXSecShape(const string&in xsec_surf_id, int xsec_index, int type);
6208 
6218 void SetXSecSurfGlobalXForm(const string&in xsec_surf_id, const Matrix4d&in mat);
6219 
6229 Matrix4d GetXSecSurfGlobalXForm(const string&in xsec_surf_id);
6230 
6253 void CutXSec(const string&in geom_id, int index);
6254 
6275 void CopyXSec(const string&in geom_id, int index);
6276 
6297 void PasteXSec(const string&in geom_id, int index);
6298 
6316 void InsertXSec(const string&in geom_id, int index, int type);
6317 
6341 int GetXSecShape(const string&in xsec_id);
6342 
6365 double GetXSecWidth(const string&in xsec_id);
6366 
6389 double GetXSecHeight(const string&in xsec_id);
6390 
6413 void SetXSecWidth(const string&in xsec_id, double w);
6414 
6437 void SetXSecHeight(const string&in xsec_id, double h);
6438 
6463 void SetXSecWidthHeight(const string&in xsec_id, double w, double h);
6464 
6486 string[]@ GetXSecParmIDs(const string&in xsec_id);
6487 
6512 string GetXSecParm(const string&in xsec_id, const string&in name);
6513 
6536 vec3d[]@ ReadFileXSec(const string&in xsec_id, const string&in file_name);
6537 
6567 void SetXSecPnts(const string&in xsec_id, vec3d[]@ pnt_arr);
6568 
6600 vec3d ComputeXSecPnt(const string&in xsec_id, double fract);
6601 
6635 vec3d ComputeXSecTan(const string&in xsec_id, double fract);
6636 
6659 void ResetXSecSkinParms(const string&in xsec_id);
6660 
6684 void SetXSecContinuity(const string&in xsec_id, int cx);
6685 
6716 void SetXSecTanAngles(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6717 
6748 void SetXSecTanSlews(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6749 
6781 void SetXSecTanStrengths(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6782 
6814 void SetXSecCurvatures(const string&in xsec_id, int side, double top, double right = - 1.0e12, double bottom = - 1.0e12, double left = - 1.0e12);
6815 
6837 void ReadFileAirfoil(const string&in xsec_id, const string&in file_name);
6838 
6874 void SetAirfoilPnts(const string&in xsec_id, vec3d[]@ up_pnt_vec, vec3d[]@ low_pnt_vec);
6875 
6904 vec3d[]@ GetHersheyBarLiftDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6905 
6934 vec3d[]@ GetHersheyBarDragDist(const int&in npts, const double&in alpha, const double&in Vinf, const double&in span, bool full_span_flag = false);
6935 
6966 vec3d[]@ GetVKTAirfoilPnts(const int&in npts, const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau);
6967 
6999 double[]@ GetVKTAirfoilCpDist(const double&in alpha, const double&in epsilon, const double&in kappa, const double&in tau, vec3d[]@ xydata);
7000 
7015 vec3d[]@ GetEllipsoidSurfPnts(const vec3d&in center, const vec3d&in abc_rad, int u_npts = 20, int w_npts = 20);
7016 
7026 vec3d[]@ GetFeatureLinePnts(const string&in geom_id);
7027 
7074 double[]@ GetEllipsoidCpDist(vec3d[]@ surf_pnt_arr, const vec3d&in abc_rad, const vec3d&in V_inf);
7075 
7100 vec3d[]@ GetAirfoilUpperPnts(const string&in xsec_id);
7101 
7126 vec3d[]@ GetAirfoilLowerPnts(const string&in xsec_id);
7127 
7138 double[]@ GetUpperCSTCoefs(const string&in xsec_id);
7139 
7150 double[]@ GetLowerCSTCoefs(const string&in xsec_id);
7151 
7162 int GetUpperCSTDegree(const string&in xsec_id);
7163 
7174 int GetLowerCSTDegree(const string&in xsec_id);
7175 
7187 void SetUpperCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7188 
7200 void SetLowerCST(const string&in xsec_id, int deg, double[]@ coeff_arr);
7201 
7211 void PromoteCSTUpper(const string&in xsec_id);
7212 
7222 void PromoteCSTLower(const string&in xsec_id);
7223 
7233 void DemoteCSTUpper(const string&in xsec_id);
7234 
7244 void DemoteCSTLower(const string&in xsec_id);
7245 
7256 void FitAfCST(const string&in xsec_surf_id, int xsec_index, int deg);
7257 
7278 void WriteBezierAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7279 
7300 void WriteSeligAirfoil(const string&in file_name, const string&in geom_id, const double&in foilsurf_u);
7301 
7312 vec3d[]@ GetAirfoilCoordinates(const string&in geom_id, const double&in foilsurf_u);
7313 
7340 void EditXSecInitShape(const string&in xsec_id);
7341 
7368 void EditXSecConvertTo(const string&in xsec_id, const int&in newtype);
7369 
7396 double[]@ GetEditXSecUVec(const string&in xsec_id);
7397 
7423 vec3d[]@ GetEditXSecCtrlVec(const string&in xsec_id, const bool non_dimensional = true);
7424 
7472 void SetEditXSecPnts(const string&in xsec_id, double[]@ u_vec, vec3d[]@ control_pts);
7473 
7499 void EditXSecDelPnt(const string&in xsec_id, const int&in indx);
7500 
7523 int EditXSecSplit01(const string&in xsec_id, const double&in u);
7524 
7559 void MoveEditXSecPnt(const string&in xsec_id, const int&in indx, const vec3d&in new_pnt);
7560 
7587 void ConvertXSecToEdit(const string&in geom_id, const int&in indx = 0);
7588 
7607 void ChangeBORXSecShape(const string&in geom_id, int type);
7608 
7626 int GetBORXSecShape(const string&in geom_id);
7627 
7640 int GetNumSets();
7641 
7657 void SetSetName(int index, const string&in name);
7658 
7674 string GetSetName(int index);
7675 
7695 string[]@ GetGeomSetAtIndex(int index);
7696 
7715 string[]@ GetGeomSet(const string&in name);
7716 
7731 int GetSetIndex(const string&in name);
7732 
7751 bool GetSetFlag(const string&in geom_id, int set_index);
7752 
7771 void SetSetFlag(const string&in geom_id, int set_index, bool flag);
7772 
7797 void CopyPasteSet(int copyIndex, int pasteIndex);
7798 
7817 void ScaleSet(int set_index, double scale);
7818 
7839 void RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg);
7840 
7859 void TranslateSet(int set_index, const vec3d&in translation_vec);
7860 
7885 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);
7886 
7904 bool ValidParm(const string&in id);
7905 
7931 double SetParmVal(const string&in parm_id, double val);
7932 
7953 double SetParmValLimits(const string&in parm_id, double val, double lower_limit, double upper_limit);
7954 
7974 double SetParmValUpdate(const string&in parm_id, double val);
7975 
7994 double SetParmVal(const string&in geom_id, const string&in name, const string&in group, double val);
7995 
8015 double SetParmValUpdate(const string&in geom_id, const string&in parm_name, const string&in parm_group_name, double val);
8016 
8040 double GetParmVal(const string&in parm_id);
8041 
8060 double GetParmVal(const string&in geom_id, const string&in name, const string&in group);
8061 
8079 int GetIntParmVal(const string&in parm_id);
8080 
8098 bool GetBoolParmVal(const string&in parm_id);
8099 
8126 void SetParmUpperLimit(const string&in parm_id, double val);
8127 
8145 double GetParmUpperLimit(const string&in parm_id);
8146 
8173 void SetParmLowerLimit(const string&in parm_id, double val);
8174 
8192 double GetParmLowerLimit(const string&in parm_id);
8193 
8216 int GetParmType(const string&in parm_id);
8217 
8249 string GetParmName(const string&in parm_id);
8250 
8275 string GetParmGroupName(const string&in parm_id);
8276 
8301 string GetParmDisplayGroupName(const string&in parm_id);
8302 
8326 string GetParmContainer(const string&in parm_id);
8327 
8344 void SetParmDescript(const string&in parm_id, const string&in desc);
8345 
8366 string FindParm(const string&in parm_container_id, const string&in parm_name, const string&in group_name);
8367 
8387 string GetParm(const string&in geom_id, const string&in name, const string&in group);
8388 
8409 string[]@ FindContainers();
8410 
8425 string[]@ FindContainersWithName(const string&in name);
8426 
8442 string FindContainer(const string&in name, int index);
8443 
8458 string GetContainerName(const string&in parm_container_id);
8459 
8482 string[]@ FindContainerGroupNames(const string&in parm_container_id);
8483 
8515 string[]@ FindContainerParmIDs(const string&in parm_container_id);
8516 
8540 double ComputeMinClearanceDistance(const string&in geom_id, int set);
8541 
8568 double SnapParm(const string&in parm_id, double target_min_dist, bool inc_flag, int set);
8569 
8586 void AddVarPresetGroup(const string&in group_name);
8587 
8606 void AddVarPresetSetting(const string&in setting_name);
8607 
8628 void AddVarPresetParm(const string&in parm_ID);
8629 
8649 void AddVarPresetParm(const string&in parm_ID, const string&in group_name);
8650 
8674 void EditVarPresetParm(const string&in parm_ID, double parm_val);
8675 
8703 void EditVarPresetParm(const string&in parm_ID, double parm_val, const string&in group_name, const string&in setting_name);
8704 
8727 void DeleteVarPresetParm(const string&in parm_ID);
8728 
8754 void DeleteVarPresetParm(const string&in parm_ID, const string&in group_name);
8755 
8781 void SwitchVarPreset(const string&in group_name, const string&in setting_name);
8782 
8802 bool DeleteVarPresetSet(const string&in group_name, const string&in setting_name);
8803 
8832 string GetCurrentGroupName();
8833 
8862 string GetCurrentSettingName();
8863 
8880 string[]@ GetVarPresetGroupNames();
8881 
8901 string[]@ GetVarPresetSettingNamesWName(const string&in group_name);
8902 
8933 string[]@ GetVarPresetSettingNamesWIndex(int group_index);
8934 
8961 double[]@ GetVarPresetParmVals();
8962 
8994 double[]@ GetVarPresetParmValsWNames(const string&in group_name, const string&in setting_name);
8995 
9020 string[]@ GetVarPresetParmIDs();
9021 
9050 string[]@ GetVarPresetParmIDsWName(const string&in group_name);
9051 
9065 void SetPCurve(const string&in geom_id, const int&in pcurveid, double[]@ tvec, double[]@ valvec, const int&in newtype);
9066 
9078 void PCurveConvertTo(const string&in geom_id, const int&in pcurveid, const int&in newtype);
9079 
9091 int PCurveGetType(const string&in geom_id, const int&in pcurveid);
9092 
9103 double[]@ PCurveGetTVec(const string&in geom_id, const int&in pcurveid);
9104 
9115 double[]@ PCurveGetValVec(const string&in geom_id, const int&in pcurveid);
9116 
9127 void PCurveDeletePt(const string&in geom_id, const int&in pcurveid, const int&in indx);
9128 
9140 int PCurveSplit(const string&in geom_id, const int&in pcurveid, const double&in tsplit);
9141 
9158 void AddExcrescence(const string&in excresName, const int&in excresType, const double&in excresVal);
9159 
9177 void DeleteExcrescence(const int&in excresName);
9178 
9186 void UpdateParasiteDrag();
9187 
9204 void WriteAtmosphereCSVFile(const string&in file_name, const int&in atmos_type);
9205 
9232 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);
9233 
9246 void WriteBodyFFCSVFile(const string&in file_name);
9247 
9260 void WriteWingFFCSVFile(const string&in file_name);
9261 
9274 void WriteCfEqnCSVFile(const string&in file_name);
9275 
9288 void WritePartialCfMethodCSVFile(const string&in file_name);
9289 
9315 vec3d CompPnt01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9316 
9342 vec3d CompNorm01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9343 
9369 vec3d CompTanU01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9370 
9396 vec3d CompTanW01(const string&in geom_id, const int&in surf_indx, const double&in u, const double&in w);
9397 
9425 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);
9426 
9464 double ProjPnt01(const string&in geom_id, const int&in surf_indx, const vec3d&in pt, double&out u, double&out w);
9465 
9505 double ProjPnt01I(const string&in geom_id, const vec3d&in pt, int&out surf_indx, double&out u, double&out w);
9506 
9547 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);
9548 
9570 void GetUWTess01(const string&in geom_id, int&in surf_indx, double[]@ us, double[]@ ws);
9571 
9604 vec3d[]@ CompVecPnt01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9605 
9638 vec3d[]@ CompVecNorm01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws);
9639 
9677 void CompVecCurvature01(const string&in geom_id, const int&in surf_indx, double[]@ us, double[]@ ws, double[]@ k1s, double[]@ k2s, double[]@ kas, double[]@ kgs);
9678 
9725 void ProjVecPnt01(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ us, double[]@ ws, double[]@ ds);
9726 
9786 void ProjVecPnt01Guess(const string&in geom_id, int&in surf_indx, vec3d[]@ pts, double[]@ u0s, double[]@ w0s, double[]@ us, double[]@ ws, double[]@ ds);
9787 
9818 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);
9819 
9850 string[]@ GetAllRulers();
9851 
9875 void DelRuler(const string&in id);
9876 
9899 void DeleteAllRulers();
9900 
9923 string AddProbe(const string&in geomid, int surfindx, double u, double w, const string&in name);
9924 
9946 string[]@ GetAllProbes();
9947 
9970 void DelProbe(const string&in id);
9971 
9993 void DeleteAllProbes();
9994 
10016 int AddFeaStruct(const string&in geom_id, bool init_skin = true, int surfindex = 0);
10017 
10038 void DeleteFeaStruct(const string&in geom_id, int fea_struct_ind);
10039 
10059 string GetFeaStructID(const string&in geom_id, int fea_struct_ind);
10060 
10085 int GetFeaStructIndex(const string&in struct_id);
10086 
10108 string GetFeaStructParentGeomID(const string&in struct_id);
10109 
10135 string GetFeaStructName(const string&in geom_id, int fea_struct_ind);
10136 
10164 void SetFeaStructName(const string&in geom_id, int fea_struct_ind, const string&in name);
10165 
10186 string[]@ GetFeaStructIDVec();
10187 
10210 void SetFeaPartName(const string&in part_id, const string&in name);
10211 
10237 void SetFeaMeshVal(const string&in geom_id, int fea_struct_ind, int type, double val);
10238 
10264 void SetFeaMeshFileName(const string&in geom_id, int fea_struct_id, int file_type, const string&in file_name);
10265 
10292 void ComputeFeaMesh(const string&in geom_id, int fea_struct_ind, int file_type);
10293 
10319 void ComputeFeaMesh(const string&in struct_id, int file_type);
10320 
10347 string AddFeaPart(const string&in geom_id, int fea_struct_ind, int type);
10348 
10375 void DeleteFeaPart(const string&in geom_id, int fea_struct_ind, const string&in part_id);
10376 
10406 string GetFeaPartID(const string&in fea_struct_id, int fea_part_index);
10407 
10436 string GetFeaPartName(const string&in part_id);
10437 
10463 int GetFeaPartType(const string&in part_id);
10464 
10489 int GetFeaSubSurfIndex(const string&in ss_id);
10490 
10513 int NumFeaStructures();
10514 
10543 int NumFeaParts(const string&in fea_struct_id);
10544 
10573 int NumFeaSubSurfs(const string&in fea_struct_id);
10574 
10597 string[]@ GetFeaPartIDVec(const string&in fea_struct_id);
10598 
10621 string[]@ GetFeaSubSurfIDVec(const string&in fea_struct_id);
10622 
10662 void SetFeaPartPerpendicularSparID(const string&in part_id, const string&in perpendicular_spar_id);
10663 
10702 string GetFeaPartPerpendicularSparID(const string&in part_id);
10703 
10730 string AddFeaSubSurf(const string&in geom_id, int fea_struct_ind, int type);
10731 
10758 void DeleteFeaSubSurf(const string&in geom_id, int fea_struct_ind, const string&in ss_id);
10759 
10774 string AddFeaMaterial();
10775 
10793 string AddFeaProperty(int property_type = 0);
10794 
10807 void Print(const string&in data, bool new_line = true);
10808 
10821 void Print(const vec3d&in data, bool new_line = true);
10822 
10835 void Print(double data, bool new_line = true);
10836 
10849 void Print(int data, bool new_line = true);
10850 
10866 double Min(double x, double y);
10867 
10883 double Max(double x, double y);
10884 
10899 double Rad2Deg(double r);
10900 
10915 double Deg2Rad(double d);
10916 
10930 string GetVSPVersion();
10931 
10946 string GetVSPExePath();
10947 
10964 void VSPCheckSetup();
10965 
10981 void VSPRenew();
10982 
10996 
10997 
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:1372
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:2106
FF_B_EQN
Definition: openvsp_as.h:1519
string GetVSPFileName()
void SetCustomCenter(double x, double y, double z)
VSPAERO_STABILITY_TYPE
Definition: openvsp_as.h:2066
void loadXZRef()
void scale_y(double scale)
VIEW_TYPE
Definition: openvsp_as.h:2009
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:2207
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:2024
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:1201
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:1306
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:1997
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:2167
VSP_SURF_TYPE
Definition: openvsp_as.h:2093
FEA_UNIT_TYPE
Definition: openvsp_as.h:1506
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:1958
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:1211
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:1491
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:1462
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:1451
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:1251
void DelProbe(const string &in id)
SUBSURF_INOUT
Definition: openvsp_as.h:1897
void EditXSecDelPnt(const string &in xsec_id, const int &in indx)
string FindUnsteadyGroup(int group_index)
REF_WING_TYPE
Definition: openvsp_as.h:1813
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:1838
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:1824
RHO_UNITS
Definition: openvsp_as.h:1850
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:2079
void PrintOnErrors()
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:2233
int GetFeaSubSurfIndex(const string &in ss_id)
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:2196
double SetParmVal(const string &in parm_id, double val)
void SetCFDWakeFlag(const string &in geom_id, bool flag)
string [] GetFeaStructIDVec()
GDEV
Definition: openvsp_as.h:1569
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:2055
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:1537
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:1644
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:1918
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:1876
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
void CopyPasteSet(int copyIndex, int pasteIndex)
double SetParmValLimits(const string &in parm_id, double val, double lower_limit, double upper_limit)
int NumFeaSubSurfs(const string &in fea_struct_id)
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:1985
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:1559
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:1342
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:1385
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:1970
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()
int GetFeaPartType(const string &in part_id)
PRES_UNITS
Definition: openvsp_as.h:1728
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:2219
string [] GetAvailableCSNameVec(int CSGroupIndex)
DELIM_TYPE
Definition: openvsp_as.h:1283
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:1317
void SetVspSurfCfdType(int type, int surf_index=- 1)
string [] GetXSecParmIDs(const string &in xsec_id)
void ClearVSPModel()
int GetNumDesignVars()
string GetFeaPartName(const string &in part_id)
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:1616
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:1948
vec3d [] GetAirfoilCoordinates(const string &in geom_id, const double &in foilsurf_u)
SUBSURF_INCLUDE
Definition: openvsp_as.h:1886
WING_DRIVERS
Definition: openvsp_as.h:2123
void SwitchVarPreset(const string &in group_name, const string &in setting_name)
double y() const
DRAW_TYPE
Definition: openvsp_as.h:1329
void SetSetName(int index, const string &in name)
string GetGeomTypeName(const string &in geom_id)
SYM_FLAG
Definition: openvsp_as.h:1932
VSPAERO_NOISE_TYPE
Definition: openvsp_as.h:2034
vec3d [] ReadFileXSec(const string &in xsec_id, const string &in file_name)
void WriteTestResults()
ErrorObj PopLastError()
SET_TYPE
Definition: openvsp_as.h:1864
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:1187
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:1296
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:1701
MASS_UNIT
Definition: openvsp_as.h:1673
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:1747
XDDM_QUANTITY_TYPE
Definition: openvsp_as.h:2143
CAP_TYPE
Definition: openvsp_as.h:1120
string GetXSecSurf(const string &in geom_id, int index)
XSEC_CLOSE_TYPE
Definition: openvsp_as.h:2153
PROJ_TGT_TYPE
Definition: openvsp_as.h:1773
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:1479
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:1417
int GetXSecShape(const string &in xsec_id)
SUBSURF_LINE_TYPE
Definition: openvsp_as.h:1908
int GetSubSurfType(const string &in sub_id)
FEA_EXPORT_TYPE
Definition: openvsp_as.h:1431
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:1240
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:1633
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)
int NumFeaParts(const string &in fea_struct_id)
vec3d [] GetFeatureLinePnts(const string &in geom_id)
void DeleteFeaStruct(const string &in geom_id, int fea_struct_ind)
string [] GetFeaSubSurfIDVec(const string &in fea_struct_id)
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:1795
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)
string [] GetFeaPartIDVec(const string &in fea_struct_id)
int NumFeaStructures()
PCURV_TYPE
Definition: openvsp_as.h:1715
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:1784
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:1606
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:1759
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:1166
void rotateZ(const double &in ang)
LEN_UNITS
Definition: openvsp_as.h:1658
void SilenceErrors()
void SetComputationFileName(int file_type, const string &in file_name)
string GetFeaPartID(const string &in fea_struct_id, int fea_part_index)
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:2045
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:1687