3.0.0
Enumerations

Enumerations

enum  TiglAlgorithmCode { TIGL_INTERPOLATE_LINEAR_WIRE = 0, TIGL_INTERPOLATE_BSPLINE_WIRE = 1, TIGL_APPROXIMATE_BSPLINE_WIRE = 2 }
 
enum  TiglAxis { TIGL_NO_AXIS = 0, TIGL_X_AXIS = 1, TIGL_Y_AXIS = 2, TIGL_Z_AXIS = 3 }
 
enum  TiglBoolean { TIGL_FALSE = 0, TIGL_TRUE = 1 }
 
enum  TiglGeometricComponentType {
  TIGL_COMPONENT_PLANE, TIGL_COMPONENT_FUSELAGE, TIGL_COMPONENT_WING, TIGL_COMPONENT_SEGMENT,
  TIGL_COMPONENT_WINGSEGMENT, TIGL_COMPONENT_FUSELSEGMENT, TIGL_COMPONENT_WINGCOMPSEGMENT, TIGL_COMPONENT_WINGSHELL,
  TIGL_COMPONENT_WINGRIB, TIGL_COMPONENT_WINGSPAR, TIGL_COMPONENT_WINGCELL, TIGL_COMPONENT_GENERICSYSTEM,
  TIGL_COMPONENT_ROTOR, TIGL_COMPONENT_ROTORBLADE, TIGL_COMPONENT_ATTACHED_ROTORBLADE, TIGL_COMPONENT_PRESSURE_BULKHEAD,
  TIGL_COMPONENT_CROSS_BEAM_STRUT, TIGL_COMPONENT_CARGO_DOOR, TIGL_COMPONENT_LONG_FLOOR_BEAM, TIGL_COMPONENT_EXTERNAL_OBJECT,
  TIGL_COMPONENT_FARFIELD, TIGL_COMPONENT_ENGINE_PYLON, TIGL_COMPONENT_ENGINE_NACELLE, TIGL_COMPONENT_OTHER
}
 
enum  TiglImportExportFormat { TIGL_IMPORTEXPORT_IGES = 0, TIGL_IMPORTEXPORT_STEP = 1, TIGL_IMPORTEXPORT_STL = 2, TIGL_IMPORTEXPORT_VTK = 3 }
 
enum  TiglLogLevel {
  TILOG_SILENT =0, TILOG_ERROR =1, TILOG_WARNING =2, TILOG_INFO =3,
  TILOG_DEBUG =4, TILOG_DEBUG1 =5, TILOG_DEBUG2 =6, TILOG_DEBUG3 =7,
  TILOG_DEBUG4 =8
}
 
enum  TiglReturnCode {
  TIGL_SUCCESS = 0, TIGL_ERROR = 1, TIGL_NULL_POINTER = 2, TIGL_NOT_FOUND = 3,
  TIGL_XML_ERROR = 4, TIGL_OPEN_FAILED = 5, TIGL_CLOSE_FAILED = 6, TIGL_INDEX_ERROR = 7,
  TIGL_STRING_TRUNCATED = 8, TIGL_WRONG_TIXI_VERSION = 9, TIGL_UID_ERROR = 10, TIGL_WRONG_CPACS_VERSION = 11,
  TIGL_UNINITIALIZED = 12, TIGL_MATH_ERROR = 13, TIGL_WRITE_FAILED = 14
}
 
enum  TiglSymmetryAxis { TIGL_NO_SYMMETRY = 0, TIGL_X_Y_PLANE = 1, TIGL_X_Z_PLANE = 2, TIGL_Y_Z_PLANE = 3 }
 

Detailed Description

Enumeration Type Documentation

Definition of possible algorithms used in calculations. Use these constants to define the algorithm to be used e.g. in interpolations.

Enumerator
TIGL_INTERPOLATE_LINEAR_WIRE 

Use a linear interpolation between the points of a wire

TIGL_INTERPOLATE_BSPLINE_WIRE 

Use a BSpline interpolation between the points of a wire

TIGL_APPROXIMATE_BSPLINE_WIRE 

Use a BSpline approximation for the points of a wire

enum TiglAxis

Definition of Axis used in TIGL.

Enumerator
TIGL_NO_AXIS 
TIGL_X_AXIS 
TIGL_Y_AXIS 
TIGL_Z_AXIS 

Definition of boolean values used in TIGL.

Enumerator
TIGL_FALSE 
TIGL_TRUE 

Definition of possible types for geometric components. Used for calculations where the type if the component changes the way of behavior.

Enumerator
TIGL_COMPONENT_PLANE 

The whole aircraft

TIGL_COMPONENT_FUSELAGE 

The Component is a fuselage

TIGL_COMPONENT_WING 

The Component is a wing

TIGL_COMPONENT_SEGMENT 

The Component is a general segment

TIGL_COMPONENT_WINGSEGMENT 

The Component is a wing segment

TIGL_COMPONENT_FUSELSEGMENT 

The Component is a fuselage segment

TIGL_COMPONENT_WINGCOMPSEGMENT 

The Component is a wing component segment

TIGL_COMPONENT_WINGSHELL 

The Component is a face of the wing (e.g. upper wing surface)

TIGL_COMPONENT_WINGRIB 
TIGL_COMPONENT_WINGSPAR 
TIGL_COMPONENT_WINGCELL 
TIGL_COMPONENT_GENERICSYSTEM 

The Component is a generic system

TIGL_COMPONENT_ROTOR 

The Component is a rotor

TIGL_COMPONENT_ROTORBLADE 

The Component is a rotor blade

TIGL_COMPONENT_ATTACHED_ROTORBLADE 

The Component is a attached rotor blade

TIGL_COMPONENT_PRESSURE_BULKHEAD 

The Component is a pressure bulkhead

TIGL_COMPONENT_CROSS_BEAM_STRUT 

The Component is a cross beam strut

TIGL_COMPONENT_CARGO_DOOR 

The Component is a cargo door

TIGL_COMPONENT_LONG_FLOOR_BEAM 

The Component is a long floor beam

TIGL_COMPONENT_EXTERNAL_OBJECT 

The Component is a long floor beam

TIGL_COMPONENT_FARFIELD 

The Component is a far field

TIGL_COMPONENT_ENGINE_PYLON 

The Component is a engine pylon

TIGL_COMPONENT_ENGINE_NACELLE 

The Component is a engine nacelle

TIGL_COMPONENT_OTHER 

Definition of the different file formats used for import/export used in TIGL.

Enumerator
TIGL_IMPORTEXPORT_IGES 

Use IGES format for geometry import/export

TIGL_IMPORTEXPORT_STEP 

Use STEP format for geometry import/export

TIGL_IMPORTEXPORT_STL 

Use STL format for geometry import/export

TIGL_IMPORTEXPORT_VTK 

Use VTK (XML/VTP) format for geometry import/export

Definition of possible logging levels

Enumerator
TILOG_SILENT 

No messages are printed. TiGL is completely silent, even in case of errors.

TILOG_ERROR 

Only error messages are printed.

TILOG_WARNING 

Only errors and warnings are printed on console. This is the default log level of TiGL.

TILOG_INFO 

In addition to TILOG_WANING, also informative messages are printed.

TILOG_DEBUG 

Also debug messages are printed. Enable this if you want to track down potential errors in TiGL.

TILOG_DEBUG1 

This level is only interesting for TiGL developers

TILOG_DEBUG2 

This level is only interesting for TiGL developers

TILOG_DEBUG3 

This level is only interesting for TiGL developers

TILOG_DEBUG4 

This level is only interesting for TiGL developers

Definition of possible error return codes of some functions.

Enumerator
TIGL_SUCCESS 
TIGL_ERROR 
TIGL_NULL_POINTER 
TIGL_NOT_FOUND 
TIGL_XML_ERROR 
TIGL_OPEN_FAILED 
TIGL_CLOSE_FAILED 
TIGL_INDEX_ERROR 
TIGL_STRING_TRUNCATED 
TIGL_WRONG_TIXI_VERSION 
TIGL_UID_ERROR 
TIGL_WRONG_CPACS_VERSION 
TIGL_UNINITIALIZED 
TIGL_MATH_ERROR 
TIGL_WRITE_FAILED 

Definition of Symmetry Axis used in TIGL.

Enumerator
TIGL_NO_SYMMETRY 
TIGL_X_Y_PLANE 
TIGL_X_Z_PLANE 
TIGL_Y_Z_PLANE