Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #550: fix crash when myObject is NULL
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImportPolylineOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
b/src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
index 4e7a066e808a62d7edba884661740035f54798f4..9dddb0c9ad5aa4dc5d07975267e31805a822ca75 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
+++ b/
src/HYDROGUI/HYDROGUI_ImportPolylineOp.h
@@
-31,12
+31,17
@@
class QFile;
class gp_XYZ;
struct HYDROGUI_CurveBlock
{
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;
std::vector<gp_XYZ> myXYZPoints;
-
bool
myType;
+
int
myType;
bool myIsConnected;
bool myIsClosed;
int myCurvePlane;
QString myName;
bool myIsConnected;
bool myIsClosed;
int myCurvePlane;
QString myName;
+ std::vector<double> myAdditionalCurveInfo;
+ std::vector<double> myRefCoords;
+ double myRefRatio;
};
class HYDROGUI_ImportPolylineOp : public HYDROGUI_Operation
};
class HYDROGUI_ImportPolylineOp : public HYDROGUI_Operation