|
TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSegmentVolume (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double *volumePtr) |
| Returns the volume of a segment of a fuselage. More...
|
|
TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetVolume (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, double *volumePtr) |
| Returns the volume of the fuselage. More...
|
|
TIGL_COMMON_EXPORT TiglReturnCode | tiglWingGetSegmentVolume (TiglCPACSConfigurationHandle cpacsHandle, int wingIndex, int segmentIndex, double *volumePtr) |
| Returns the volume of a segment of a wing. More...
|
|
TIGL_COMMON_EXPORT TiglReturnCode | tiglWingGetVolume (TiglCPACSConfigurationHandle cpacsHandle, int wingIndex, double *volumePtr) |
| Returns the volume of the wing. More...
|
|
Function for volume calculations on wings/fuselages.
Returns the volume of a segment of a fuselage.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | fuselageIndex | The index of a fuselage, starting at 1 |
[in] | segmentIndex | The index of a segment, starting at 1 |
[out] | volumePtr | The pointer to a variable for the volume of the fuselage |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_INDEX_ERROR if fuselageIndex, sectionIndex or elementIndex are not valid
- TIGL_NULL_POINTER if volumePtr is a null pointer
- TIGL_ERROR if some other error occurred
Returns the volume of the fuselage.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | fuselageIndex | Index of the fuselage to calculate the volume, starting at 1 |
[out] | volumePtr | The volume of the fuselage |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_INDEX_ERROR if fuselageIndex is less or equal zero
- TIGL_ERROR if some other error occurred
Returns the volume of a segment of a wing.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | wingIndex | The index of a wing, starting at 1 |
[in] | segmentIndex | The index of a segment, starting at 1 |
[out] | volumePtr | The pointer to a variable for the volume of the wing |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_INDEX_ERROR if wingIndex, sectionIndex or elementIndex are not valid
- TIGL_NULL_POINTER if volumePtr is a null pointer
- TIGL_ERROR if some other error occurred
Returns the volume of the wing.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | wingIndex | Index of the Wing to calculate the volume, starting at 1 |
[out] | volumePtr | The volume of the wing |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_INDEX_ERROR if wingIndex is less or equal zero
- TIGL_ERROR if some other error occurred