Salome HOME
refs #550: fix crash when myObject is NULL
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportPolylineOp.h
index 4e7a066e808a62d7edba884661740035f54798f4..9dddb0c9ad5aa4dc5d07975267e31805a822ca75 100644 (file)
@@ -31,12 +31,17 @@ class QFile;
 class gp_XYZ;
 struct HYDROGUI_CurveBlock
 {
+  //HYDROGUI_CurveBlock() : myType(-1), myIsConnected(false), myIsClosed(false), myName(""), myCurvePlane(-1), myRefRatio(1.0) 
+    //{};
   std::vector<gp_XYZ> myXYZPoints;
-  bool myType;
+  int myType;
   bool myIsConnected;
   bool myIsClosed;
   int myCurvePlane;
   QString myName;
+  std::vector<double> myAdditionalCurveInfo;
+  std::vector<double> myRefCoords;
+  double myRefRatio;
 };
 
 class HYDROGUI_ImportPolylineOp : public HYDROGUI_Operation