/src/contrib/geom-5.1.2.7/src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl

http://pythonocc.googlecode.com/ · Unknown · 144 lines · 115 code · 29 blank · 0 comment · 0 complexity · 7d5bcc35b1df3852c3f3314dd06e1a37 MD5 · raw file

  1. -- Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
  2. --
  3. -- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
  4. -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
  5. --
  6. -- This library is free software; you can redistribute it and/or
  7. -- modify it under the terms of the GNU Lesser General Public
  8. -- License as published by the Free Software Foundation; either
  9. -- version 2.1 of the License.
  10. --
  11. -- This library is distributed in the hope that it will be useful,
  12. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. -- Lesser General Public License for more details.
  15. --
  16. -- You should have received a copy of the GNU Lesser General Public
  17. -- License along with this library; if not, write to the Free Software
  18. -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. --
  20. -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
  21. --
  22. -- File: GEOMAlgo_FinderShapeOn1.cdl
  23. -- Created: Fri Mar 4 10:26:54 2005
  24. -- Author: Peter KURNEV
  25. -- <pkv@irinox>
  26. --
  27. class FinderShapeOn1 from GEOMAlgo
  28. inherits ShapeAlgo from GEOMAlgo
  29. ---Purpose:
  30. uses
  31. Pnt from gp,--
  32. Surface from Geom,
  33. Surface from GeomAdaptor,
  34. ShapeEnum from TopAbs,
  35. State from TopAbs,
  36. Face from TopoDS,
  37. Edge from TopoDS,
  38. ListOfShape from TopTools,
  39. State from GEOMAlgo,
  40. ListOfPnt from GEOMAlgo,
  41. IndexedDataMapOfShapeState from GEOMAlgo
  42. --raises
  43. is
  44. Create
  45. returns FinderShapeOn1 from GEOMAlgo;
  46. ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();"
  47. SetSurface(me:out;
  48. aS:Surface from Geom);
  49. SetShapeType(me:out;
  50. aST:ShapeEnum from TopAbs);
  51. SetState(me:out;
  52. aSF:State from GEOMAlgo);
  53. SetNbPntsMin(me:out;
  54. aNb:Integer from Standard);
  55. NbPntsMin(me)
  56. returns Integer from Standard;
  57. SetNbPntsMax(me:out;
  58. aNb:Integer from Standard);
  59. NbPntsMax(me)
  60. returns Integer from Standard;
  61. Surface(me)
  62. returns Surface from Geom;
  63. ---C++: return const &
  64. ShapeType(me)
  65. returns ShapeEnum from TopAbs;
  66. State(me)
  67. returns State from GEOMAlgo;
  68. Perform(me:out)
  69. is redefined;
  70. Shapes(me)
  71. returns ListOfShape from TopTools;
  72. ---C++: return const &
  73. --
  74. -- protected methods
  75. --
  76. CheckData(me:out)
  77. is redefined protected;
  78. ProcessVertices(me:out)
  79. is protected;
  80. ProcessEdges(me:out)
  81. is protected;
  82. ProcessFaces(me:out)
  83. is protected;
  84. ProcessSolids(me:out)
  85. is protected;
  86. InnerPoints(me:out;
  87. aF :Face from TopoDS;
  88. aLP:out ListOfPnt from GEOMAlgo)
  89. is protected;
  90. InnerPoints(me:out;
  91. aE :Edge from TopoDS;
  92. aLP:out ListOfPnt from GEOMAlgo)
  93. is protected;
  94. InnerPoints(me:out;
  95. aE :Edge from TopoDS;
  96. aNbPnts: Integer from Standard;
  97. aLP:out ListOfPnt from GEOMAlgo)
  98. is protected;
  99. MSS (me)
  100. returns IndexedDataMapOfShapeState from GEOMAlgo;
  101. ---C++:return const &
  102. GetPointState(me:out; aP: Pnt from gp)
  103. returns State from TopAbs is virtual protected;
  104. fields
  105. mySurface : Surface from Geom is protected;
  106. myShapeType : ShapeEnum from TopAbs is protected;
  107. myState : State from GEOMAlgo is protected;
  108. myNbPntsMin : Integer from Standard is protected;
  109. myNbPntsMax : Integer from Standard is protected;
  110. --
  111. myGAS : Surface from GeomAdaptor is protected;
  112. myLS : ListOfShape from TopTools is protected;
  113. --
  114. myMSS : IndexedDataMapOfShapeState from GEOMAlgo is protected;
  115. end FinderShapeOn1;