Virtual Testbed
Ship dynamics simulator for extreme conditions
iges/ruled_surface.hh
1 #ifndef VTESTBED_IGES_RULED_SURFACE_HH
2 #define VTESTBED_IGES_RULED_SURFACE_HH
3 
4 #include <vtestbed/iges/entity.hh>
5 
6 namespace vtb {
7 
8  namespace iges {
9 
11  template <class T>
12  class Ruled_surface: public Entity {
13 
14  private:
15  Pointer _curve1;
16  Pointer _curve2;
17  Integer _direction = 0;
18  Integer _developable = 0;
19 
20  public:
21 
22  inline
23  Ruled_surface(const Pointer& curve1, const Pointer& curve2):
24  Entity(Entity_type::Ruled_surface),
25  _curve1(curve1),
26  _curve2(curve2)
27  {}
28 
29  protected:
30 
31  void
32  parameters(iges_ostream& out) const override;
33 
34  };
35 
36  }
37 
38 }
39 
40 #endif // vim:filetype=cpp
Base class for entities.
Definition: iges/entity.hh:17
Main namespace.
Definition: convert.hh:9
Output stream that automatically wraps text for IGES files.
Definition: stream.hh:143