Programmer's Documentation

Public Types | Public Member Functions | Private Attributes | List of all members
StitchedWingSpec Class Reference

Detailed Description

Specification of wing with multiple segments.

Temporary object to facilitate the construction of wings with multiple segments which are based on different types of interpolation. This is especially useful for wings with blended winglets and cubic segments.

#include <stitchedsurf.h>

Collaboration diagram for StitchedWingSpec:

Public Types

enum  SegType { SegLinear, SegCubic, SegWlBlend }

Public Member Functions

 StitchedWingSpec (const CurvePtrArray &crv)
 initialize with reference to curves
uint addSegment (uint first, uint last, SegType s=SegLinear)
 define a new segment from curves [first, last]
uint nsegments () const
 number of segments
void construct (SurfaceArray &slist, Vector &vbreak) const
 construct surfaces from segments

Private Attributes

const CurvePtrArray & cpa
 curves to use for interpolation
Indices sBegin
 specify which curves make up segments
Indices sEnd
std::vector< SegType > sType
 segment types

The documentation for this class was generated from the following files:
Generated on Mon Jan 24 2022 03:03:20 for libsurf by   doxygen 1.8.5