3.4.0
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 the all the wings and the fuselage of the aircraft.

Parameters
config
useSimpleDecomposition

◆ StandardizeFuselage()

static void tigl::CTiglStandardizer::StandardizeFuselage ( CCPACSFuselage fuselage,
bool  useSimpleDecomposition = false 
)
static

Standardize the fuselage using the CPACSCreator standard. This mean: 1) The fuselage transformation store the nose position. 2) The translation of sections are set using positionings. 3) Each positioning correspond 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 mean that the cpacs file is more readable but there can be some simplification that change the global shape of the fuselage.

◆ StandardizeWing()

static void tigl::CTiglStandardizer::StandardizeWing ( CCPACSWing wing,
bool  useSimpleDecomposition = false 
)
static

Standardize the wing using the CPACSCreator standard. This mean: 1) The wing transformation store the root leading point translation. 2) The translation of sections are set using positionings. 3) Each positioning correspond 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 correspond to its leading edge).

Parameters
wing
useSimpleDecomposition,ifset to true the standardization use only polar decomposition. This mean that the cpacs file is more readable but there can be some simplification that change 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: