3.5.0-rc1
tigl::CTiglStandardizer Class Reference

#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< CTiglTransformationGetTotalTransformations (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)
 

Member Function Documentation

◆ GetTotalTransformations()

static std::vector<CTiglTransformation> tigl::CTiglStandardizer::GetTotalTransformations ( std::vector< tigl::CTiglSectionElement * >  elements)
staticprivate

◆ SetTotalTransformations()

static void tigl::CTiglStandardizer::SetTotalTransformations ( std::vector< CTiglSectionElement * >  elements,
std::vector< CTiglTransformation ,
bool  useSimpleDecomposition = false 
)
staticprivate

◆ StandardizeAircraft()

static void tigl::CTiglStandardizer::StandardizeAircraft ( CCPACSConfiguration config,
bool  useSimpleDecomposition = false 
)
static

Standardize all the wings and fuselages of the aircraft.

Parameters
config
useSimpleDecomposition

◆ StandardizeFuselage()

static void tigl::CTiglStandardizer::StandardizeFuselage ( CCPACSFuselage fuselage,
bool  useSimpleDecomposition = false 
)
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).

Parameters
fuselage
useSimpleDecomposition,ifset 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.

◆ StandardizeWing()

static void tigl::CTiglStandardizer::StandardizeWing ( CCPACSWing wing,
bool  useSimpleDecomposition = false 
)
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).

Parameters
wing
useSimpleDecomposition,ifset 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.

◆ StdandardizePositioningsStructure()

static void tigl::CTiglStandardizer::StdandardizePositioningsStructure ( CCPACSPositionings positionings,
std::vector< CTiglSectionElement * >  elements 
)
staticprivate

The documentation for this class was generated from the following file: