libsurf
Programmer's Documentation

symframe.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_SYMFRAME_H
16 #define SURF_SYMFRAME_H
17 
18 #include <genua/point.h>
19 #include "curve.h"
20 
32 class SymFrame : public Curve
33 {
34  public:
35 
37  explicit SymFrame(const std::string & s) : Curve(s) {}
38 
40  Vector init(const PointList<3> & pts);
41 
43  virtual XmlElement toXml(bool share=false) const;
44 
46  virtual void fromXml(const XmlElement & xe);
47 
49  virtual SymFrame *clone() const;
50 
51  private:
52 
55 };
56 
57 #endif
58 
SymFrame(const std::string &s)
initialize with name
Definition: symframe.h:37
virtual XmlElement toXml(bool share=false) const
xml representation stores interpolation points
Definition: symframe.cpp:115
Cubic section curve.
Definition: curve.h:35
Symmetric fuselage frame.
Definition: symframe.h:32
virtual SymFrame * clone() const
generate a clone
Definition: symframe.cpp:159
PointList< 3 > ipp
interpolation points
Definition: symframe.h:54
virtual void fromXml(const XmlElement &xe)
construct from xml definition
Definition: symframe.cpp:134
Vector init(const PointList< 3 > &pts)
interpolate points (always with degree 3)
Definition: symframe.cpp:21
Generated on Wed Jan 19 2022 03:03:15 for libsurf by   doxygen 1.8.5