This group of API functions provides capabilities related to the XSecSurf class in OpenVSP.
Click here to return to the main page.
More...
◆ ChangeXSecShape()
void ChangeXSecShape |
( |
const string &in |
xsec_surf_id, |
|
|
int |
xsec_index, |
|
|
int |
type |
|
) |
| |
Change the shape of a particular XSec, identified by an XSecSurf ID and XSec index
- See also
- XSEC_CRV_TYPE
- Parameters
-
[in] | xsec_surf_id | XSecSurf ID |
[in] | xsec_index | Xsec index |
[in] | type | Xsec type enum (i.e. XS_ELLIPSE) |
◆ GetNumXSec()
int GetNumXSec |
( |
const string &in |
xsec_surf_id | ) |
|
Get number of XSecs in an XSecSurf
- Parameters
-
[in] | xsec_surf_id | XSecSurf ID |
- Returns
- Number of XSecs
◆ GetNumXSecSurfs()
int GetNumXSecSurfs |
( |
const string &in |
geom_id | ) |
|
Get the number of XSecSurfs for the specified Geom
- Parameters
-
- Returns
- Number of XSecSurfs
◆ GetXSec()
string GetXSec |
( |
const string &in |
xsec_surf_id, |
|
|
int |
xsec_index |
|
) |
| |
Get Xsec ID for a particular XSecSurf at given index
- Parameters
-
[in] | xsec_surf_id | XSecSurf ID |
[in] | xsec_index | Xsec index |
- Returns
- Xsec ID
◆ GetXSecSurf()
Get the XSecSurf ID for a particular Geom and XSecSurf index
- Parameters
-
[in] | geom_id | Geom ID |
[in] | index | XSecSurf index |
- Returns
- XSecSurf ID
◆ GetXSecSurfGlobalXForm()
Get the global surface transform matrix for given XSecSurf
- Parameters
-
[in] | xsec_surf_id | XSecSurf ID |
- Returns
- Transformation matrix
◆ SetXSecSurfGlobalXForm()
void SetXSecSurfGlobalXForm |
( |
const string &in |
xsec_surf_id, |
|
|
const Matrix4d &in |
mat |
|
) |
| |
Set the global surface transform matrix for given XSecSurf
- Parameters
-
[in] | xsec_surf_id | XSecSurf ID |
[in] | mat | Transformation matrix |