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
copyrights are updated
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_PolylineXY.h
diff --git
a/src/HYDROData/HYDROData_PolylineXY.h
b/src/HYDROData/HYDROData_PolylineXY.h
index a0172fd743de4aed5bb98d2d698d1c3b83fbab62..611a2a30f51a8eb3a2683937da67e5842a9c871b 100644
(file)
--- a/
src/HYDROData/HYDROData_PolylineXY.h
+++ b/
src/HYDROData/HYDROData_PolylineXY.h
@@
-83,6
+83,8
@@
public:
*/
HYDRODATA_EXPORT static QColor DefaultWireColor();
*/
HYDRODATA_EXPORT static QColor DefaultWireColor();
+ HYDRODATA_EXPORT bool IsCustom() const;
+
public:
/**
public:
/**
@@
-122,16
+124,12
@@
public:
public:
public:
- /**
- * Returns the 2D presentation of all points.
- */
- HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
-
/**
* Returns the 3D presentation of all points.
*/
/**
* Returns the 3D presentation of all points.
*/
- HYDRODATA_EXPORT virtual bool ImportShape( const TopoDS_Shape& theShape );
-
+ HYDRODATA_EXPORT virtual bool ImportShape( const TopoDS_Shape& theShape,
+ bool IsInterpolationAllowed = false,
+ double theDeviation = 1E-3 );
/**
* Returns flag indicating that polyline can be edited or not.
/**
* Returns flag indicating that polyline can be edited or not.
@@
-278,7
+276,7
@@
public:
* only for section with this index
* \return list of points
*/
* only for section with this index
* \return list of points
*/
- HYDRODATA_EXPORT virtual PointsList GetPoints( const int theSectionIndex = -1 ) const;
+ HYDRODATA_EXPORT virtual PointsList GetPoints( const int theSectionIndex = -1
, bool IsConvertToGlobal = false
) const;
/**
/**
@@
-301,6
+299,8
@@
protected:
*/
HYDRODATA_EXPORT virtual void setEditable( const bool theIsEditable );
*/
HYDRODATA_EXPORT virtual void setEditable( const bool theIsEditable );
+ HYDRODATA_EXPORT void Interpolate();
+
protected:
friend class HYDROData_Profile;
protected:
friend class HYDROData_Profile;
@@
-316,6
+316,9
@@
protected:
* Destructs properties of the object and object itself, removes it from the document.
*/
HYDRODATA_EXPORT ~HYDROData_PolylineXY();
* Destructs properties of the object and object itself, removes it from the document.
*/
HYDRODATA_EXPORT ~HYDROData_PolylineXY();
+
+private:
+ bool myIsInCustomFlag;
};
#endif
};
#endif