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//
46template <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 }
65 {
66 }
67
68 // protected members
69 protected :
71 double w;
72
73 // dynamic object handling
76};
78IMPLEMENT_DYNAMIC_PLACEMENT_N(CINOSNurbsPoint, N);
79
80//------------------------------------------------------------------------------
81// end of file
82//------------------------------------------------------------------------------
83
84#endif // INC_CINOSNURBSPOINT_H
#define DECLARE_DYNAMIC_PLACEMENT(aClass)
Definition cinospartitionmemory.h:348
#define DECLARE_DYNAMIC_N(aClass, aN)
Definition cinospartitionmemory.h:338
#define IMPLEMENT_DYNAMIC_N(aClass, aN)
Definition cinospartitionmemory.h:373
Definition cinosmcmodule.h:1900
Definition cinosnurbscurve.h:70
Definition cinosnurbspoint.h:47
virtual ~CINOSNurbsPoint()
destructor
Definition cinosnurbspoint.h:64
CINOSNurbsPoint(double adWeight=1.0)
constructor
Definition cinosnurbspoint.h:60
double w
point weight
Definition cinosnurbspoint.h:71