Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implementation of task "3.1. Ability to export the PartSet to GEOM"
[modules/shaper.git]
/
src
/
Selector
/
Selector_NExplode.h
diff --git
a/src/Selector/Selector_NExplode.h
b/src/Selector/Selector_NExplode.h
index 4e020c1a9fc9e1f4e06decae426309771d9d8f48..a7ab04c2dd7408bb061f4c8443c29cc5a1ecae51 100644
(file)
--- a/
src/Selector/Selector_NExplode.h
+++ b/
src/Selector/Selector_NExplode.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2017 CEA/DEN, EDF R&D
+// Copyright (C) 2017
-2019
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef Selector_NExplode_H_
//
#ifndef Selector_NExplode_H_
@@
-34,8
+33,10
@@
class Selector_NExplode
{
public:
class Selector_NExplode
{
public:
- /// \brief Initializes the sorted list of shapes by the
context shape and type of sub-shapes
.
+ /// \brief Initializes the sorted list of shapes by the
shapes list
.
SELECTOR_EXPORT Selector_NExplode(const TopoDS_ListOfShape& theShapes);
SELECTOR_EXPORT Selector_NExplode(const TopoDS_ListOfShape& theShapes);
+ /// \brief Initializes the sorted list of shapes by the context shape and type of sub-shapes.
+ SELECTOR_EXPORT Selector_NExplode(const TopoDS_Shape& theShape, const TopAbs_ShapeEnum theType);
/// Returns an index (started from one) of sub-shape in the sorted list. Returns 0 if not found.
SELECTOR_EXPORT int index(const TopoDS_Shape& theSubShape);
/// Returns an index (started from one) of sub-shape in the sorted list. Returns 0 if not found.
SELECTOR_EXPORT int index(const TopoDS_Shape& theSubShape);
@@
-43,7
+44,7
@@
class Selector_NExplode
SELECTOR_EXPORT TopoDS_Shape shape(const int theIndex);
protected:
SELECTOR_EXPORT TopoDS_Shape shape(const int theIndex);
protected:
- TopoDS_ListOfShape mySorted; ///< keep
the
the ordered list of shapes
+ TopoDS_ListOfShape mySorted; ///< keep the ordered list of shapes
};
#endif
};
#endif