#include <QString>
#include <TopoDS_Face.hxx>
#include <TopExp_Explorer.hxx>
+#include <vector>
+#include <set>
class HYDROData_StricklerTable;
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
class TopoDS_Iterator;
class HYDROData_PolylineXY;
class HYDROData_Object;
-class gp_Pnt2d;
+class gp_XY;
class HYDROData_LandCoverMap : public HYDROData_Entity
{
HYDRODATA_EXPORT bool ExportTelemac( const QString& theFileName,
double theDeflection,
- const Handle(HYDROData_StricklerTable)& theTable ) const;
+ const Handle(HYDROData_StricklerTable)& theTable,
+ QString& statMessage) const;
HYDRODATA_EXPORT bool Add( const Handle( HYDROData_Object )&, const QString& theType );
HYDRODATA_EXPORT bool Add( const Handle( HYDROData_PolylineXY )&, const QString& theType );
+ using HYDROData_Entity::Remove;
HYDRODATA_EXPORT bool Remove( const TopoDS_Face& );
HYDRODATA_EXPORT bool Remove( const TopTools_ListOfShape& );
HYDRODATA_EXPORT virtual void UpdateLocalCS( double theDx, double theDy );
+ HYDRODATA_EXPORT void ClassifyPoints( const std::vector<gp_XY>& thePoints,
+ std::vector<std::set <QString> >& theTypes ) const;
+
+ HYDRODATA_EXPORT void ClassifyPoints( const std::vector<gp_XY>& thePoints,
+ const Handle(HYDROData_StricklerTable)& theTable,
+ std::vector<int>& theTypes ) const;
+
+ HYDRODATA_EXPORT void ClassifyPoints( const std::vector<gp_XY>& thePoints,
+ const Handle(HYDROData_StricklerTable)& theTable,
+ std::vector<double>& theCoeffs, double DefValue, bool UseMax ) const;
+
protected:
void SetShape( const TopoDS_Shape& );