virtual double z() const = 0;
/// Returns the type of this class of attributes
- static inline std::string type() {return std::string("Point");}
+ static inline std::string type() {return std::string("Dir");}
/// Returns the type of this class of attributes, not static method
virtual std::string attributeType() {return type();}
#include <Model_AttributeDouble.h>
#include <GeomData_Point.h>
#include <GeomData_Point2D.h>
+#include <GeomData_Dir.h>
#include <TDataStd_Name.hxx>
using namespace std;
anAttr = new Model_AttributeDouble(anAttrLab);
else if (theAttrType == GeomData_Point::type())
anAttr = new GeomData_Point(anAttrLab);
+ else if (theAttrType == GeomData_Dir::type())
+ anAttr = new GeomData_Dir(anAttrLab);
else if (theAttrType == GeomData_Point2D::type())
anAttr = new GeomData_Point2D(anAttrLab);