--- Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
+-- Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
--
--- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
--- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+-- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
--
--- This library is free software; you can redistribute it and/or
--- modify it under the terms of the GNU Lesser General Public
--- License as published by the Free Software Foundation; either
--- version 2.1 of the License.
+-- This library is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU Lesser General Public
+-- License as published by the Free Software Foundation; either
+-- version 2.1 of the License.
--
--- This library is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
--- Lesser General Public License for more details.
+-- This library is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+-- Lesser General Public License for more details.
--
--- You should have received a copy of the GNU Lesser General Public
--- License along with this library; if not, write to the Free Software
--- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+-- You should have received a copy of the GNU Lesser General Public
+-- License along with this library; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
--- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+-- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
--
-- File: GEOMAlgo_Tools3D.cdl
State from TopAbs,
ShapeEnum from TopAbs,
Pnt from gp,
+ Pnt2d from gp,
Shape from TopoDS,
Vertex from TopoDS,
Edge from TopoDS,
-- If the method returns True theEdgeOff is the
-- edge founded
returns Boolean from Standard;
+
+--modified by NIZNHY-PKV Tue Nov 22 12:18:30 2011f
+ PntInFace(myclass;
+ theF : Face from TopoDS;
+ theP :out Pnt from gp;
+ theP2D:out Pnt2d from gp)
+ ---Purpose: Computes a point <theP> inside the face <theF>.
+ -- <theP2D> - 2D representation of <theP>
+ -- on the surface of <theF>
+ -- Returns 0 in case of success.
+ returns Integer from Standard;
+--modified by NIZNHY-PKV Tue Nov 22 12:18:36 2011t
--fields
end Tools3D;