#include <vtkPolyData.h>
#include <vtkIdList.h>
-#include <vtkDelaunay2D.h>
-class hydroDelaunay2D: public vtkDelaunay2D
-{
-public:
- static hydroDelaunay2D *New();
- virtual int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
-protected:
- hydroDelaunay2D();
- ~hydroDelaunay2D();
- virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
-};
-
class QFile;
class gp_XYZ;
class gp_XY;
-class Handle_HYDROData_PolylineXY;
-
+class HYDROData_PolylineXY;
-DEFINE_STANDARD_HANDLE(HYDROData_Bathymetry, HYDROData_IAltitudeObject)
/**\class HYDROData_Bathymetry
};
public:
-
- DEFINE_STANDARD_RTTI(HYDROData_Bathymetry);
+ DEFINE_STANDARD_RTTIEXT(HYDROData_Bathymetry, HYDROData_IAltitudeObject);
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
/**
* Returns altitude for given point.
* \param thePoint the point to examine
+ * \param theMethod interpolation model, default 0 = nearest point
* \return altitude value
*/
- HYDRODATA_EXPORT virtual double GetAltitudeForPoint( const gp_XY& thePoint ) const;
+ HYDRODATA_EXPORT virtual double GetAltitudeForPoint( const gp_XY& thePoint, int theMethod=0 ) const;
public:
// Public methods to work with files.
*/
HYDRODATA_EXPORT virtual bool ImportFromFile( const TCollection_AsciiString& theFileName );
- HYDRODATA_EXPORT Handle_HYDROData_PolylineXY CreateBoundaryPolyline() const;
+ HYDRODATA_EXPORT Handle(HYDROData_PolylineXY) CreateBoundaryPolyline() const;
HYDRODATA_EXPORT virtual void UpdateLocalCS( double theDx, double theDy );