|
TiglReturnCode | tiglWingComponentSegmentGetMaterialCount (TiglCPACSConfigurationHandle cpacsHandle, const char *compSegmentUID, TiglStructureType structureType, double eta, double xsi, int *materialCount) |
| Returns the number of materials defined at a point on the wing component segment surface. More...
|
|
TiglReturnCode | tiglWingComponentSegmentGetMaterialThickness (TiglCPACSConfigurationHandle cpacsHandle, const char *compSegmentUID, TiglStructureType structureType, double eta, double xsi, int materialIndex, double *thickness) |
| Returns one of the material thicknesses of a given point on the wing component segment surface. The number of materials on that point has to be first queried using tiglWingComponentSegmentGetMaterialCount. More...
|
|
TiglReturnCode | tiglWingComponentSegmentGetMaterialUID (TiglCPACSConfigurationHandle cpacsHandle, const char *compSegmentUID, TiglStructureType structureType, double eta, double xsi, int materialIndex, char **uid) |
| Returns one of the material UIDs of a given point on the wing component segment surface. The number of materials on that point has to be first queried using tiglWingComponentSegmentGetMaterialCount. More...
|
|
Functions to query material information of wings/fuselages. Materials are currently ony implemented for the wing component segment. Here, materials for the lower and upper wing surface can be queried, which can be a material for the whole skin/surface or a material defined inside a wing cell. A wing cell material overwrites the global skin material, i.e. if the whole wing skin material is aluminum and the trailing edge is made of radar absorbing material, only the absorbing material is returned by the querying functions.
Returns the number of materials defined at a point on the wing component segment surface.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | compSegmentUID | UID of the component segment |
[in] | structureType | Type of structure, where the materials are queried |
[in] | eta | eta in the range 0.0 <= eta <= 1.0 |
[in] | xsi | xsi in the range 0.0 <= xsi <= 1.0 |
[out] | materialCount | Number of materials defined at the given coordinate |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_NULL_POINTER if compSegmentUID or materialCount is a null pointer
- TIGL_INDEX_ERROR if compSegmentUID or materialIndex is invalid
- TIGL_ERROR if some other error occurred
Returns one of the material thicknesses of a given point on the wing component segment surface. The number of materials on that point has to be first queried using tiglWingComponentSegmentGetMaterialCount.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | compSegmentUID | UID of the component segment |
[in] | structureType | Type of structure, where the materials are queried |
[in] | eta | eta in the range 0.0 <= eta <= 1.0 |
[in] | xsi | xsi in the range 0.0 <= xsi <= 1.0 |
[in] | materialIndex | Index of the material to query (1 <= index <= materialCount) |
[out] | thickness | Material thickness at the given coordinate. If no thickness is defined, thickness gets a negative value and TIGL_UNINITIALIZED is returned. |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_NULL_POINTER if compSegmentUID or thickness is a null pointer
- TIGL_INDEX_ERROR if compSegmentUID or materialIndex is invalid
- TIGL_UNINITIALIZED if no thickness is defined for the material
- TIGL_ERROR if some other error occurred
Returns one of the material UIDs of a given point on the wing component segment surface. The number of materials on that point has to be first queried using tiglWingComponentSegmentGetMaterialCount.
- Parameters
-
[in] | cpacsHandle | Handle for the CPACS configuration |
[in] | compSegmentUID | UID of the component segment |
[in] | structureType | Type of structure, where the materials are queried |
[in] | eta | eta in the range 0.0 <= eta <= 1.0 |
[in] | xsi | xsi in the range 0.0 <= xsi <= 1.0 |
[in] | materialIndex | Index of the material to query (1 <= index <= materialCount) |
[out] | uid | Material uid at the given coordinate |
- Returns
- TIGL_SUCCESS if no error occurred
- TIGL_NOT_FOUND if no configuration was found for the given handle
- TIGL_NULL_POINTER if compSegmentUID is a null pointer
- TIGL_INDEX_ERROR if compSegmentUID or materialIndex is invalid
- TIGL_ERROR if some other error occurred