|  | TiGL
    2.2.3
    | 
| Functions | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetCircumference (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double *circumferencePtr) | 
| Returns the circumference of a fuselage surface for a given fuselage and segment index and an eta.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetEndConnectedSegmentCount (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int *segmentCountPtr) | 
| Returns the count of segments connected to the end section of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetEndConnectedSegmentIndex (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int n, int *connectedIndexPtr) | 
| Returns the index (number) of the n-th segment connected to the end section of a given fuselage segment. n starts at 1.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetEndSectionAndElementIndex (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int *sectionIndexPtr, int *elementIndexPtr) | 
| Returns the section index and section element index of the end side of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetEndSectionAndElementUID (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, char **sectionUIDPtr, char **elementUIDPtr) | 
| Returns the section UID and section element UID of the end side of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetIndex (TiglCPACSConfigurationHandle cpacsHandle, const char *fuselageUID, int *fuselageIndexPtr) | 
| Returns the index of a fuselage.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetMinumumDistanceToGround (TiglCPACSConfigurationHandle cpacsHandle, char *fuselageUID, double axisPntX, double axisPntY, double axisPntZ, double axisDirX, double axisDirY, double axisDirZ, double angle, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns the point where the distance between the selected fuselage and the ground is at minimum. The Fuselage could be turned with a given angle at at given axis, specified by a point and a direction.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetNumPointsOnXPlane (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double xpos, int *numPointsPtr) | 
| Returns the number of points on a fuselage surface for a given fuselage and a give x-position.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetNumPointsOnYPlane (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double ypos, int *numPointsPtr) | 
| Returns the number of points on a fuselage surface for a given fuselage and a give y-position.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetPoint (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double zeta, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns a point on a fuselage surface for a given fuselage and segment index.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetPointAngle (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double alpha, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns a point on a fuselage surface for a given fuselage and segment index and an angle alpha (degree).  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetPointAngleTranslated (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double alpha, double y_cs, double z_cs, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns a point on a fuselage surface for a given fuselage and segment index and an angle alpha (degree). 0 degree of the angle alpha is meant to be "up" in the direction of the positive z-axis like specifies in cpacs. The origin of the line that will be rotated with the angle alpha could be translated via the parameters y_cs and z_cs.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetPointOnXPlane (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double xpos, int pointIndex, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns a point on a fuselage surface for a given fuselage and segment index.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetPointOnYPlane (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, double eta, double ypos, int pointIndex, double *pointXPtr, double *pointYPtr, double *pointZPtr) | 
| Returns a point on a fuselage surface for a given fuselage and segment index.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetProfileName (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int sectionIndex, int elementIndex, char **profileNamePtr) | 
| Returns the name of a fuselage profile. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSectionCount (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int *sectionCount) | 
| Returns the number of sections of a fuselage.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSectionUID (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int sectionIndex, char **uidNamePtr) | 
| Returns the UID of a section of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSegmentCount (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int *segmentCountPtr) | 
| Returns the number of segments for a fuselage in a CPACS configuration.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSegmentIndex (TiglCPACSConfigurationHandle cpacsHandle, const char *segmentUID, int *segmentIndexPtr, int *fuselageIndexPtr) | 
| Returns the Index of a segment of a fuselage.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSegmentUID (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, char **uidNamePtr) | 
| Returns the UID of a segment of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetStartConnectedSegmentCount (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int *segmentCountPtr) | 
| Returns the count of segments connected to the start section of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetStartConnectedSegmentIndex (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int n, int *connectedIndexPtr) | 
| Returns the index (number) of the n-th segment connected to the start section of a given fuselage segment. n starts at 1.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetStartSectionAndElementIndex (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, int *sectionIndexPtr, int *elementIndexPtr) | 
| Returns the section index and section element index of the start side of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetStartSectionAndElementUID (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, int segmentIndex, char **sectionUIDPtr, char **elementUIDPtr) | 
| Returns the section UID and section element UID of the start side of a given fuselage segment.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetSymmetry (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, TiglSymmetryAxis *symmetryAxisPtr) | 
| Returns the Symmetry Enum if the fuselage has symmetry-axis.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglFuselageGetUID (TiglCPACSConfigurationHandle cpacsHandle, int fuselageIndex, char **uidNamePtr) | 
| Returns the UID of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.  More... | |
| TIGL_COMMON_EXPORT TiglReturnCode | tiglGetFuselageCount (TiglCPACSConfigurationHandle cpacsHandle, int *fuselageCountPtr) | 
| Returns the number of fuselages in a CPACS configuration.  More... | |
Function to handle fuselage geometry's with TIGL.
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetCircumference | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double * | circumferencePtr | ||
| ) | 
Returns the circumference of a fuselage surface for a given fuselage and segment index and an eta.
Returns the circumference of a fuselage segment of a given fuselage in dependence of parameters eta with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [out] | circumferencePtr | The Circumference of the fuselage at the given position | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetEndConnectedSegmentCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int * | segmentCountPtr | ||
| ) | 
Returns the count of segments connected to the end section of a given fuselage segment.
| [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] | segmentCountPtr | Pointer to the count of connected segments | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetEndConnectedSegmentIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int | n, | ||
| int * | connectedIndexPtr | ||
| ) | 
Returns the index (number) of the n-th segment connected to the end section of a given fuselage segment. n starts at 1.
| [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 | 
| [in] | n | n-th segment searched, 1 <= n <= tiglFuselageGetEndConnectedSegmentCount(...) | 
| [out] | connectedIndexPtr | Pointer to the segment index of the n-th connected segment | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetEndSectionAndElementIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int * | sectionIndexPtr, | ||
| int * | elementIndexPtr | ||
| ) | 
Returns the section index and section element index of the end side of a given fuselage segment.
| [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] | sectionIndexPtr | The section index UID the end side | 
| [out] | elementIndexPtr | The section element UID of the end side | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetEndSectionAndElementUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| char ** | sectionUIDPtr, | ||
| char ** | elementUIDPtr | ||
| ) | 
Returns the section UID and section element UID of the end side of a given fuselage segment.
Important change: The memory necessary for the two UIDs must not to be freed by the user anymore.
| [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] | sectionUIDPtr | The section UID the end side | 
| [out] | elementUIDPtr | The section element UID of the end side | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| const char * | fuselageUID, | ||
| int * | fuselageIndexPtr | ||
| ) | 
Returns the index of a fuselage.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageUID | The uid of the fuselage | 
| [out] | fuselageIndexPtr | The index of a fuselage, starting at 1 | 
Usage example:
   TiglReturnCode returnCode;
   int fuselageIndex;
   returnCode = tiglFuselageGetIndex(cpacsHandle, fuselageUID, &fuselageIndex);
   printf("The Index of the fuselage is %d\n", fuselageIndex);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetMinumumDistanceToGround | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| char * | fuselageUID, | ||
| double | axisPntX, | ||
| double | axisPntY, | ||
| double | axisPntZ, | ||
| double | axisDirX, | ||
| double | axisDirY, | ||
| double | axisDirZ, | ||
| double | angle, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns the point where the distance between the selected fuselage and the ground is at minimum. The Fuselage could be turned with a given angle at at given axis, specified by a point and a direction.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageUID | The uid of the fuselage | 
| [in] | axisPntX | X-coordinate of the point that specifies the axis of rotation | 
| [in] | axisPntY | Y-coordinate of the point that specifies the axis of rotation | 
| [in] | axisPntZ | Z-coordinate of the point that specifies the axis of rotation | 
| [in] | axisDirX | X-coordinate of the direction that specifies the axis of rotation | 
| [in] | axisDirY | Y-coordinate of the direction that specifies the axis of rotation | 
| [in] | axisDirZ | Z-coordinate of the direction that specifies the axis of rotation | 
| [in] | angle | The angle (in Degree) by which the fuselage should be turned on the axis of rotation | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetNumPointsOnXPlane | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | xpos, | ||
| int * | numPointsPtr | ||
| ) | 
Returns the number of points on a fuselage surface for a given fuselage and a give x-position.
Returns the number of points on a fuselage segment of a given fuselage in dependence of parameters eta and at all x-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | xpos | X position | 
| [out] | numPointsPtr | Pointer to a integer for the number of intersection points | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetNumPointsOnYPlane | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | ypos, | ||
| int * | numPointsPtr | ||
| ) | 
Returns the number of points on a fuselage surface for a given fuselage and a give y-position.
Returns the number of points on a fuselage segment of a given fuselage in dependence of parameters eta and at all y-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | ypos | Y position | 
| [out] | numPointsPtr | Pointer to a interger for the number of intersection points | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetPoint | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | zeta, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns a point on a fuselage surface for a given fuselage and segment index.
Returns a point on a fuselage segment of a given fuselage in dependence of parameters eta and zeta with 0.0 <= eta <= 1.0 and 0.0 <= zeta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment. For zeta = 0.0 the point is the identical to the start point of the profile wire, for zeta = 1.0 it is identical to the last profile point. The point is returned in absolute world coordinates.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | zeta | zeta in the range 0.0 <= zeta <= 1.0 | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetPointAngle | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | alpha, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns a point on a fuselage surface for a given fuselage and segment index and an angle alpha (degree).
Returns a point on a fuselage segment of a given fuselage in dependence of parameters eta and at all y-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment. The angle alpha is calculated in degrees. Alpha=0 degree is meant to be "up" in the direction of the positive z-axis like specifies in cpacs. It's orientation is the mathematical negative rotation direction around the X-axis, i.e. looking in flight direction, an angle of 45 degrees resembles a point on the top-left fuselage. The point is returned in absolute world coordinates.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | Eta in the range 0.0 <= eta <= 1.0 | 
| [in] | alpha | Angle alpha in degrees. No range restrictions. | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetPointAngleTranslated | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | alpha, | ||
| double | y_cs, | ||
| double | z_cs, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns a point on a fuselage surface for a given fuselage and segment index and an angle alpha (degree). 0 degree of the angle alpha is meant to be "up" in the direction of the positive z-axis like specifies in cpacs. The origin of the line that will be rotated with the angle alpha could be translated via the parameters y_cs and z_cs.
Returns a point on a fuselage segment of a given fuselage in dependence of parameters eta and at all y-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment. The angle alpha is calculated in degrees. It's orientation is the mathematical negative rotation direction around the X-axis, i.e. looking in flight direction, an angle of 45 degrees resembles a point on the top-left fuselage. The parameters y_cs and z_cs must be in absolute world coordinates. The point is returned in absolute world coordinates.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | alpha | Angle alpha in degrees. No range restrictions. | 
| [in] | y_cs | Shifts the origin of the angle alpha in y-direction. | 
| [in] | z_cs | Shifts the origin of the angle alpha in z-direction. | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetPointOnXPlane | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | xpos, | ||
| int | pointIndex, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns a point on a fuselage surface for a given fuselage and segment index.
Returns a point on a fuselage segment of a given fuselage in dependence of parameters eta and at all y-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment. The point is returned in absolute world coordinates.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | xpos | x position of a cutting plane | 
| [in] | pointIndex | Defines witch point if more than one. | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetPointOnYPlane | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| double | eta, | ||
| double | ypos, | ||
| int | pointIndex, | ||
| double * | pointXPtr, | ||
| double * | pointYPtr, | ||
| double * | pointZPtr | ||
| ) | 
Returns a point on a fuselage surface for a given fuselage and segment index.
Returns a point on a fuselage segment of a given fuselage in dependence of parameters eta and at all y-positions with 0.0 <= eta <= 1.0. For eta = 0.0 the point lies on the start profile of the segment, for eta = 1.0 it lies on the end profile of the segment. The point is returned in absolute world coordinates.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [in] | segmentIndex | The index of the segment of the fuselage, starting at 1 | 
| [in] | eta | eta in the range 0.0 <= eta <= 1.0 | 
| [in] | ypos | Y position | 
| [in] | pointIndex | Defines witch point if more than one. | 
| [out] | pointXPtr | Pointer to the x-coordinate of the point in absolute world coordinates | 
| [out] | pointYPtr | Pointer to the y-coordinate of the point in absolute world coordinates | 
| [out] | pointZPtr | Pointer to the z-coordinate of the point in absolute world coordinates | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetProfileName | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | sectionIndex, | ||
| int | elementIndex, | ||
| char ** | profileNamePtr | ||
| ) | 
Returns the name of a fuselage profile. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of a fuselage, starting at 1 | 
| [in] | sectionIndex | The index of a section, starting at 1 | 
| [in] | elementIndex | The index of an element on the section | 
| [out] | profileNamePtr | The name of the wing profile | 
Usage example:
   TiglReturnCode returnCode;
   char* namePtr = 0;
   returnCode = tiglFuselageGetProfileName(cpacsHandle, fuselage, section, element, &namePtr);
   printf("Profile name is %s\n", namePtr);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSectionCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int * | sectionCount | ||
| ) | 
Returns the number of sections of a fuselage.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of a fuselage, starting at 1 | 
| [out] | sectionCount | The number of sections of the fuselage | 
Usage example:
   TiglReturnCode returnCode;
   int sectionCount = 0;
   returnCode = tiglFuselageGetSectionUID(cpacsHandle, fuselageIndex, §ionCount);
   printf("The Number of sections of fuselage %d is %d\n", fuselageIndex, sectionCount);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSectionUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | sectionIndex, | ||
| char ** | uidNamePtr | ||
| ) | 
Returns the UID of a section of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of a fuselage, starting at 1 | 
| [in] | sectionIndex | The index of a section, starting at 1 | 
| [out] | uidNamePtr | The uid of the fuselage | 
Usage example:
   TiglReturnCode returnCode;
   char* uidPtr = 0;
   returnCode = tiglFuselageGetSectionUID(cpacsHandle, fuselage, sectionUID, &uidPtr);
   printf("The UID of the section of fuselage %d is %s\n", fuselage, uidPtr);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSegmentCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int * | segmentCountPtr | ||
| ) | 
Returns the number of segments for a fuselage in a CPACS configuration.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of the fuselage, starting at 1 | 
| [out] | segmentCountPtr | Pointer to the number of segments | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSegmentIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| const char * | segmentUID, | ||
| int * | segmentIndexPtr, | ||
| int * | fuselageIndexPtr | ||
| ) | 
Returns the Index of a segment of a fuselage.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | segmentUID | The uid of the fuselage | 
| [out] | segmentIndexPtr | The index of a segment, starting at 1 | 
| [out] | fuselageIndexPtr | The index of a fuselage, starting at 1 | 
Usage example:
   TiglReturnCode returnCode;
   int segmentIndex, fuselageIndex;
   returnCode = tiglFuselageGetSegmentIndex(cpacsHandle, segmentUID, &segmentIndex, &fuselageIndex);
   printf("The Index of the segment of fuselage %d is %d\n", fuselageIndex, segmentIndex);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSegmentUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| char ** | uidNamePtr | ||
| ) | 
Returns the UID of a segment of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.
| [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] | uidNamePtr | The uid of the fuselage | 
Usage example:
   TiglReturnCode returnCode;
   char* uidPtr = 0;
   returnCode = tiglFuselageGetSegmentUID(cpacsHandle, fuselage, segmentID, &uidPtr);
   printf("The UID of the segment of fuselage %d is %s\n", fuselage, uidPtr);
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetStartConnectedSegmentCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int * | segmentCountPtr | ||
| ) | 
Returns the count of segments connected to the start section of a given fuselage segment.
| [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] | segmentCountPtr | Pointer to the count of connected segments | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetStartConnectedSegmentIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int | n, | ||
| int * | connectedIndexPtr | ||
| ) | 
Returns the index (number) of the n-th segment connected to the start section of a given fuselage segment. n starts at 1.
| [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 | 
| [in] | n | n-th segment searched, 1 <= n <= tiglFuselageGetStartConnectedSegmentCount(...) | 
| [out] | connectedIndexPtr | Pointer to the segment index of the n-th connected segment | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetStartSectionAndElementIndex | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| int * | sectionIndexPtr, | ||
| int * | elementIndexPtr | ||
| ) | 
Returns the section index and section element index of the start side of a given fuselage segment.
| [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] | sectionIndexPtr | The section UID of the start side | 
| [out] | elementIndexPtr | The section element UID of the start side | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetStartSectionAndElementUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| int | segmentIndex, | ||
| char ** | sectionUIDPtr, | ||
| char ** | elementUIDPtr | ||
| ) | 
Returns the section UID and section element UID of the start side of a given fuselage segment.
Important change: The memory necessary for the two UIDs must not to be freed by the user anymore.
| [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] | sectionUIDPtr | The section UID of the start side | 
| [out] | elementUIDPtr | The section element UID of the start side | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetSymmetry | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| TiglSymmetryAxis * | symmetryAxisPtr | ||
| ) | 
Returns the Symmetry Enum if the fuselage has symmetry-axis.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | Index of the fuselage in the cpacs file | 
| [out] | symmetryAxisPtr | Returning TiglSymmetryAxis enum pointer | 
| TIGL_COMMON_EXPORT TiglReturnCode tiglFuselageGetUID | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int | fuselageIndex, | ||
| char ** | uidNamePtr | ||
| ) | 
Returns the UID of a fuselage. The string returned must not be deleted by the caller via free(). It will be deleted when the CPACS configuration is closed.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [in] | fuselageIndex | The index of a fuselage, starting at 1 | 
| [out] | uidNamePtr | The uid of the fuselage | 
Usage example:
   TiglReturnCode returnCode;
   char* uidPtr = 0;
   returnCode = tiglFuselageGetUID(cpacsHandle, fuselage, &uidPtr);
   printf("The UID of the fuselage is %s\n", uidPtr);
| TIGL_COMMON_EXPORT TiglReturnCode tiglGetFuselageCount | ( | TiglCPACSConfigurationHandle | cpacsHandle, | 
| int * | fuselageCountPtr | ||
| ) | 
Returns the number of fuselages in a CPACS configuration.
| [in] | cpacsHandle | Handle for the CPACS configuration | 
| [out] | fuselageCountPtr | Pointer to the number of fuselages |