#include <CTiglStandardizer.h>
Static Public Member Functions | |
| static void | StandardizeAircraft (CCPACSConfiguration &config, bool useSimpleDecomposition=false) |
| static void | StandardizeFuselage (CCPACSFuselage &fuselage, bool useSimpleDecomposition=false) |
| static void | StandardizeWing (CCPACSWing &wing, bool useSimpleDecomposition=false) |
Static Private Member Functions | |
| static std::vector< CTiglTransformation > | GetTotalTransformations (std::vector< tigl::CTiglSectionElement * > elements) |
| static void | SetTotalTransformations (std::vector< CTiglSectionElement * > elements, std::vector< CTiglTransformation >, bool useSimpleDecomposition=false) |
| static void | StdandardizePositioningsStructure (CCPACSPositionings &positionings, std::vector< CTiglSectionElement * > elements) |
|
staticprivate |
|
staticprivate |
|
static |
Standardize all the wings and fuselages of the aircraft.
| config | |
| useSimpleDecomposition |
|
static |
Standardize the fuselage using the TiGLCreator standard. This means: 1) The fuselage transformation stores the nose position. 2) The translations of sections are set using positionings. 3) Each positioning corresponds to a segment, except for the nose section that has a positioning from the fuselage origin (with a length of 0, if the origin of the profile correspond to its center).
| fuselage | |
| useSimpleDecomposition,if | set to true the standardization use only polar decomposition. This means that the cpacs file is more readable but there can be some simplification that changes the global shape of the fuselage. |
|
static |
Standardize the wing using the TiGLCreator standard. This means: 1) The wing transformation stores the root leading point translation. 2) The translations of sections are set using positionings. 3) Each positioning corresponds to a segment, except for the root section that has a positioning from the wing origin (with a length of 0, if the origin of the airfoil corresponds to its leading edge).
| wing | |
| useSimpleDecomposition,if | set to true the standardization use only polar decomposition. This means that the cpacs file is more readable but there can be some simplification that changes the global shape of the wing. |
|
staticprivate |