3.4.0
tigl::CTiglWingProfilePointList Class Reference

#include <CTiglWingProfilePointList.h>

+ Inheritance diagram for tigl::CTiglWingProfilePointList:

Data Structures

struct  WireCache
 

Public Member Functions

TIGL_EXPORT CTiglWingProfilePointList (const CCPACSWingProfile &profile, const CCPACSCurvePointListXYZ &cpacsPointlist)
 
TIGL_EXPORT CTiglWingProfilePointList (const CCPACSNacelleProfile &profile, const CCPACSPointListXYVector &cpacsPointlist)
 
TIGL_EXPORT const gp_Pnt & GetLEPoint () const override
 
TIGL_EXPORT const TopoDS_Edge & GetLowerWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const override
 
TIGL_EXPORT const std::vector< CTiglPoint > & GetSamplePoints () const override
 
TIGL_EXPORT const gp_Pnt & GetTEPoint () const override
 
TIGL_EXPORT const TopoDS_Edge & GetTrailingEdge (TiglShapeModifier mod=UNMODIFIED_SHAPE) const override
 
TIGL_EXPORT const TopoDS_Edge & GetUpperLowerWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const override
 
TIGL_EXPORT const TopoDS_Edge & GetUpperWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const override
 
TIGL_EXPORT bool HasBluntTE () const override
 
TIGL_EXPORT void Invalidate () const override
 
- Public Member Functions inherited from tigl::ITiglWingProfileAlgo
virtual ~ITiglWingProfileAlgo ()
 

Protected Member Functions

void BuildLETEPoints (WireCache &cache) const
 
void BuildWires (WireCache &cache) const
 
void closeProfilePoints (ITiglWireAlgorithm::CPointContainer &points) const
 
void openProfilePoints (ITiglWireAlgorithm::CPointContainer &points) const
 

Private Member Functions

 CTiglWingProfilePointList (const CTiglWingProfilePointList &)
 
void operator= (const CTiglWingProfilePointList &)
 
void trimUpperLowerCurve (WireCache &cache, Handle(Geom_TrimmedCurve) lowerCurve, Handle(Geom_TrimmedCurve) upperCurve, Handle_Geom_Curve curve) const
 

Private Attributes

const std::vector< CTiglPoint > & coordinates
 
const std::string profileUID
 
std::unique_ptr< ITiglWireAlgorithmprofileWireAlgo
 
Cache< WireCache, CTiglWingProfilePointListwireCache
 

Static Private Attributes

static const double c_blendingDistance
 
static const double c_trailingEdgeRelGap
 

Constructor & Destructor Documentation

◆ CTiglWingProfilePointList() [1/3]

TIGL_EXPORT tigl::CTiglWingProfilePointList::CTiglWingProfilePointList ( const CCPACSWingProfile profile,
const CCPACSCurvePointListXYZ cpacsPointlist 
)

◆ CTiglWingProfilePointList() [2/3]

TIGL_EXPORT tigl::CTiglWingProfilePointList::CTiglWingProfilePointList ( const CCPACSNacelleProfile profile,
const CCPACSPointListXYVector cpacsPointlist 
)

◆ CTiglWingProfilePointList() [3/3]

tigl::CTiglWingProfilePointList::CTiglWingProfilePointList ( const CTiglWingProfilePointList )
private

Member Function Documentation

◆ BuildLETEPoints()

void tigl::CTiglWingProfilePointList::BuildLETEPoints ( WireCache cache) const
protected

◆ BuildWires()

void tigl::CTiglWingProfilePointList::BuildWires ( WireCache cache) const
protected

◆ closeProfilePoints()

void tigl::CTiglWingProfilePointList::closeProfilePoints ( ITiglWireAlgorithm::CPointContainer points) const
protected

◆ GetLEPoint()

TIGL_EXPORT const gp_Pnt& tigl::CTiglWingProfilePointList::GetLEPoint ( ) const
overridevirtual

◆ GetLowerWire()

TIGL_EXPORT const TopoDS_Edge& tigl::CTiglWingProfilePointList::GetLowerWire ( TiglShapeModifier  mod = UNMODIFIED_SHAPE) const
overridevirtual

◆ GetSamplePoints()

TIGL_EXPORT const std::vector<CTiglPoint>& tigl::CTiglWingProfilePointList::GetSamplePoints ( ) const
overridevirtual

◆ GetTEPoint()

TIGL_EXPORT const gp_Pnt& tigl::CTiglWingProfilePointList::GetTEPoint ( ) const
overridevirtual

◆ GetTrailingEdge()

TIGL_EXPORT const TopoDS_Edge& tigl::CTiglWingProfilePointList::GetTrailingEdge ( TiglShapeModifier  mod = UNMODIFIED_SHAPE) const
overridevirtual

◆ GetUpperLowerWire()

TIGL_EXPORT const TopoDS_Edge& tigl::CTiglWingProfilePointList::GetUpperLowerWire ( TiglShapeModifier  mod = UNMODIFIED_SHAPE) const
overridevirtual

◆ GetUpperWire()

TIGL_EXPORT const TopoDS_Edge& tigl::CTiglWingProfilePointList::GetUpperWire ( TiglShapeModifier  mod = UNMODIFIED_SHAPE) const
overridevirtual

◆ HasBluntTE()

TIGL_EXPORT bool tigl::CTiglWingProfilePointList::HasBluntTE ( ) const
overridevirtual

◆ Invalidate()

TIGL_EXPORT void tigl::CTiglWingProfilePointList::Invalidate ( ) const
overridevirtual

◆ openProfilePoints()

void tigl::CTiglWingProfilePointList::openProfilePoints ( ITiglWireAlgorithm::CPointContainer points) const
protected

◆ operator=()

void tigl::CTiglWingProfilePointList::operator= ( const CTiglWingProfilePointList )
private

◆ trimUpperLowerCurve()

void tigl::CTiglWingProfilePointList::trimUpperLowerCurve ( WireCache cache,
Handle(Geom_TrimmedCurve)  lowerCurve,
Handle(Geom_TrimmedCurve)  upperCurve,
Handle_Geom_Curve  curve 
) const
private

Field Documentation

◆ c_blendingDistance

const double tigl::CTiglWingProfilePointList::c_blendingDistance
staticprivate

◆ c_trailingEdgeRelGap

const double tigl::CTiglWingProfilePointList::c_trailingEdgeRelGap
staticprivate

◆ coordinates

const std::vector<CTiglPoint>& tigl::CTiglWingProfilePointList::coordinates
private

Coordinates of a wing profile element

◆ profileUID

const std::string tigl::CTiglWingProfilePointList::profileUID
private

Reference to the wing profile

◆ profileWireAlgo

std::unique_ptr<ITiglWireAlgorithm> tigl::CTiglWingProfilePointList::profileWireAlgo
private

Pointer to wire algorithm (e.g. CTiglInterpolateBsplineWire)

◆ wireCache

Cache<WireCache, CTiglWingProfilePointList> tigl::CTiglWingProfilePointList::wireCache
private

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