|
TIGL_EXPORT double | GetArea (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
TIGL_EXPORT CTiglPoint | GetCenter (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
TIGL_EXPORT double | GetCircumference (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT CTiglTransformation | GetElementTransformation () const =0 |
|
virtual TIGL_EXPORT double | GetHeight (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT CTiglPoint | GetNormal (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const =0 |
|
TIGL_EXPORT CTiglPoint | GetOrigin (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT CTiglTransformation | GetParentTransformation () const =0 |
|
virtual TIGL_EXPORT CCPACSPositionings & | GetPositionings ()=0 |
|
virtual TIGL_EXPORT CTiglTransformation | GetPositioningTransformation () const =0 |
|
virtual TIGL_EXPORT std::string | GetProfileUID () const =0 |
|
TIGL_EXPORT double | GetRotationAroundNormal (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT std::string | GetSectionElementUID () const =0 |
|
virtual TIGL_EXPORT CTiglTransformation | GetSectionTransformation () const =0 |
|
virtual TIGL_EXPORT std::string | GetSectionUID () const =0 |
|
virtual TIGL_EXPORT CTiglTransformation | GetTotalTransformation (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT double | GetWidth (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const |
|
virtual TIGL_EXPORT TopoDS_Wire | GetWire (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const =0 |
|
virtual TIGL_EXPORT bool | IsValid () const =0 |
|
virtual TIGL_EXPORT void | ScaleCircumference (double scaleFactor, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | ScaleUniformly (double scaleFactor, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | SetArea (double newArea, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | SetCenter (const CTiglPoint &newOrigin, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | SetHeight (double newHeight, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
TIGL_EXPORT void | SetNormal (CTiglPoint newNormal, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | SetOrigin (const CTiglPoint &newOrigin, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
virtual TIGL_EXPORT void | SetProfileUID (const std::string &newProfileUID)=0 |
|
TIGL_EXPORT void | SetPSETransformations (const CTiglTransformation &newTransformation) |
|
TIGL_EXPORT void | SetPSETransformationsUseSimpleDecomposition (const CTiglTransformation &newTransformation, bool check=true) |
|
TIGL_EXPORT void | SetRotationAroundNormal (double angle, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
TIGL_EXPORT void | SetTotalTransformation (const CTiglTransformation &newTotalTransformation, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM, bool useSimpleDecomposition=false) |
|
virtual TIGL_EXPORT void | SetWidth (double newWidth, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) |
|
This class is wrapper class for SectionElement (FuselageSectionElement and WingSectionElement). It's goal is to simplify the access of all the transformations that are performed on a SectionElement. Furthermore, it contain functions to compute and set useful information about the element, such as: get/set the center of the profile, get/set the circumference of the profile
The normal angle is defined as the angle that bring the unit vector z of the profile form its conventional direction to its current direction. The angle is always counter-clockwise around the normal direction and the normal is taken at the center of the section. The conventional direction depends of of the profile type. If the profile type is fuselage, the standard direction is the the vector that line on the profile plane and end on the intersection of the line l, define by (x,0,1). If there is no intersection with the line l, we set the end of the vector by the intersection of the line l2, defined by (1,0,z) If the profile type is wing, the standard direction is the the vector that line on the profile plane and end on the intersection of the line l, define by (0,y,1). If there is no intersection with the line l, we set the end of the vector by the intersection of the line l2, defined by (0,1,z)
- Parameters
-
- Returns
Return conventional direction for the unit vector Z of the profile. The conventional direction depends of of the profile type. If the profile type is fuselage, the standard direction is the the vector that line on the profile plane and end on the intersection of the line l, define by (x,0,1). If there is no intersection with the line l, we set the end of the vector by the intersection of the line l2, defined by (1,0,z) If the profile type is wing, the standard direction is the the vector that line on the profile plane and end on the intersection of the line l, define by (0,y,1). If there is no intersection with the line l, we set the end of the vector by the intersection of the line l2, defined by (0,1,z)
- Parameters
-
- Returns
Implemented in tigl::CTiglWingSectionElement, and tigl::CTiglFuselageSectionElement.
Set the underlying CPACSTransformation of the positioning (P), section (S) and element (E) such that the multiplication of the three transformations give the input transformation! Remark, the strength of this method is that we are sure that the decomposition in CCPACSTransformations are exact!! We use the "DecomposeTRSRS" of the CTiglTransformation class and we set a part of the decomposition in the positioning, another part in the section CCPACSTransformation and another part in element CCPACSTransformation, thus the limitation of decomposing the matrix in translation, rotation and scaling is hacked. Remark, to apply this function we need to be sure that a section exist for each element, for the moment we assume it. But, in a near future, we can force this by creating a new section when is needed.
- Parameters
-