TiGL  2.2.3
Functions for volume calculations

Functions

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...
 

Detailed Description

Function for volume calculations on wings/fuselages.

Function Documentation

TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSegmentVolume ( TiglCPACSConfigurationHandle  cpacsHandle,
int  fuselageIndex,
int  segmentIndex,
double *  volumePtr 
)

Returns the volume of a segment of a fuselage.

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]fuselageIndexThe index of a fuselage, starting at 1
[in]segmentIndexThe index of a segment, starting at 1
[out]volumePtrThe 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
TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetVolume ( TiglCPACSConfigurationHandle  cpacsHandle,
int  fuselageIndex,
double *  volumePtr 
)

Returns the volume of the fuselage.

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]fuselageIndexIndex of the fuselage to calculate the volume, starting at 1
[out]volumePtrThe 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
TIGL_COMMON_EXPORT TiglReturnCode tiglWingGetSegmentVolume ( TiglCPACSConfigurationHandle  cpacsHandle,
int  wingIndex,
int  segmentIndex,
double *  volumePtr 
)

Returns the volume of a segment of a wing.

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]wingIndexThe index of a wing, starting at 1
[in]segmentIndexThe index of a segment, starting at 1
[out]volumePtrThe 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
TIGL_COMMON_EXPORT TiglReturnCode tiglWingGetVolume ( TiglCPACSConfigurationHandle  cpacsHandle,
int  wingIndex,
double *  volumePtr 
)

Returns the volume of the wing.

Parameters
[in]cpacsHandleHandle for the CPACS configuration
[in]wingIndexIndex of the Wing to calculate the volume, starting at 1
[out]volumePtrThe 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

Generated Tue Sep 24 2019 15:24:16, by Martin Siggel DLR