Salome HOME
29470 - Point cloud on a face
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_AlgoTools.hxx
index 19f9227b7e2add9ddb75d4c0c87d0d1dca9a1bce..f9ef5e326965fae2ff15c62064560350e0877c6f 100644 (file)
@@ -42,6 +42,7 @@
 #include <TopoDS_Face.hxx>
 #include <TopoDS_Shape.hxx>
 #include <TopoDS_Edge.hxx>
+#include <TopoDS_Compound.hxx>
 
 #include <TopTools_ListOfShape.hxx>
 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
@@ -75,6 +76,13 @@ class GEOMAlgo_AlgoTools  {
                                       gp_Pnt& theP,
                                       gp_Pnt2d& theP2D) ;
 
+  //! Computes a set of points inside the face <theF>. <br>
+  //!          Returns 0 in case of success. <br>
+  Standard_EXPORT
+    static  Standard_Integer PointCloudInFace(const TopoDS_Face& theF,
+                                              const int          theNbPnts,
+                                              TopoDS_Compound&   theCompound) ;
+
   Standard_EXPORT
     static  Standard_Boolean IsCompositeShape(const TopoDS_Shape& aS) ;