*/
HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_PROFILEUZ;}
+ /**
+ * Dump object to Python script representation.
+ */
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+
public:
/**
* Returns the 3D presentation of all points.
*/
- HYDRODATA_EXPORT virtual TopoDS_Shape GetShape();
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
/**
- * Returns the 3D presentation of all points.
+ * Returns the depth for given distance.
*/
- HYDRODATA_EXPORT virtual double GetDepthFromDistance( const double& theDistance ) const;
+ HYDRODATA_EXPORT static double GetDepthFromDistance( const PointsList& thePoints,
+ const double& theDistance );
/**