Salome HOME
debug of DTM presentation
[modules/hydro.git] / src / HYDROData / HYDROData_LandCoverMap.cxx
index 4ad735022b32330c1219f570afdd3ff2d35b437f..7afb3132cdb25b1224543faf1a4c08cd5adc8872 100644 (file)
@@ -61,6 +61,7 @@
 #include <Geom_TrimmedCurve.hxx>
 #include <TopTools_DataMapOfShapeListOfShape.hxx>
 #include <NCollection_DoubleMap.hxx>
+#include <HYDROData_LCM_FaceClassifier.h>
 
 #include <stdexcept>
 
@@ -1257,3 +1258,9 @@ void HYDROData_LandCoverMap::UpdateLocalCS( double theDx, double theDy )
   TopoDS_Shape aLocatedShape = HYDROData_ShapesTool::Translated( aShape, theDx, theDy, 0 );
   SetShape( aLocatedShape );
 }
+
+void HYDROData_LandCoverMap::ClassifyPoints( const std::vector<gp_Pnt2d>& thePoints, std::vector<std::set <QString> >& theTypes ) const
+{
+  HYDROData_LCM_FaceClassifier FC(this);
+  FC.Classify(thePoints, theTypes, NULL);
+}