libsurf
Programmer's Documentation

eggframe.h (r6227/r5385)
1 
2 /* Copyright (C) 2015 David Eller <david@larosterna.com>
3  *
4  * Commercial License Usage
5  * Licensees holding valid commercial licenses may use this file in accordance
6  * with the terms contained in their respective non-exclusive license agreement.
7  * For further information contact david@larosterna.com .
8  *
9  * GNU General Public License Usage
10  * Alternatively, this file may be used under the terms of the GNU General
11  * Public License version 3.0 as published by the Free Software Foundation and
12  * appearing in the file gpl.txt included in the packaging of this file.
13  */
14 
15 #ifndef SURF_EGGFRAME_H
16 #define SURF_EGGFRAME_H
17 
18 #include "symframe.h"
19 
31 class EggFrame : public SymFrame
32 {
33  public:
34 
36  explicit EggFrame(const std::string & s) : SymFrame(s) {}
37 
39  void init(const Vct3 & pzl, const Vct3 & pzu, const Vct3 & pys);
40 
42  virtual XmlElement toXml(bool share=false) const;
43 
45  virtual void fromXml(const XmlElement & xe);
46 
48  virtual EggFrame *clone() const;
49 
50  private:
51 
53  Vct3 zl, zu, ys;
54 };
55 
56 #endif
virtual XmlElement toXml(bool share=false) const
xml representation stores interpolation points
Definition: eggframe.cpp:52
virtual void fromXml(const XmlElement &xe)
construct from xml definition
Definition: eggframe.cpp:76
void init(const Vct3 &pzl, const Vct3 &pzu, const Vct3 &pys)
create spline approximation
Definition: eggframe.cpp:21
Vct3 zl
defining points
Definition: eggframe.h:53
virtual EggFrame * clone() const
generate clone
Definition: eggframe.cpp:114
EggFrame(const std::string &s)
initialize with name
Definition: eggframe.h:36
Huegelschaeffer curve.
Definition: eggframe.h:31
Symmetric fuselage frame.
Definition: symframe.h:32
Generated on Wed Jan 19 2022 03:03:15 for libsurf by   doxygen 1.8.5