INOS
cinosnurbspoint.h
Go to the documentation of this file.
1 //******************************************************************************
26 //******************************************************************************
27 #ifndef INC_CINOSNURBSPOINT_H
28 #define INC_CINOSNURBSPOINT_H
29 //------------------------------------------------------------------------------
30 // includes
31 //------------------------------------------------------------------------------
32 //
33 // system
34 #include <inos.h>
35 #include <cinosvector.h>
36 
37 //
38 // C++
39 //
40 // project
41 //
42 //------------------------------------------------------------------------------
43 // class definition
44 //------------------------------------------------------------------------------
45 //
46 template <int N> class CINOSNurbsPoint : public TINOSVector<N>
47 {
48  //--- user interface ---------------------------------------------------
49 
50  // public member functions
51  public :
52 
53  //--- internals --------------------------------------------------------
54 
55  template <int> friend class CINOSNurbsCurve;
56 
57  // constructor / destructor
58  public :
60  CINOSNurbsPoint (double adWeight = 1.0) : TINOSVector<N>(), w(adWeight)
61  {
62  }
64  virtual ~CINOSNurbsPoint ()
65  {
66  }
67 
68  // protected members
69  protected :
71  double w;
72 
73  // dynamic object handling
74  DECLARE_DYNAMIC_N(CINOSNurbsPoint, N);
76 };
78 IMPLEMENT_DYNAMIC_PLACEMENT_N(CINOSNurbsPoint, N);
79 
80 //------------------------------------------------------------------------------
81 // end of file
82 //------------------------------------------------------------------------------
83 
84 #endif // INC_CINOSNURBSPOINT_H
CINOSNurbsPoint::~CINOSNurbsPoint
virtual ~CINOSNurbsPoint()
destructor
Definition: cinosnurbspoint.h:64
CINOSNurbsPoint::w
double w
point weight
Definition: cinosnurbspoint.h:71
CINOSNurbsCurve
Definition: cinosnurbscurve.h:69
CINOSNurbsPoint::CINOSNurbsPoint
CINOSNurbsPoint(double adWeight=1.0)
constructor
Definition: cinosnurbspoint.h:60
IMPLEMENT_DYNAMIC_N
#define IMPLEMENT_DYNAMIC_N(aClass, aN)
Definition: cinospartitionmemory.h:373
DECLARE_DYNAMIC_PLACEMENT
#define DECLARE_DYNAMIC_PLACEMENT(aClass)
Definition: cinospartitionmemory.h:348
CINOSNurbsPoint
Definition: cinosnurbspoint.h:46