Salome HOME
Copyright update 2020
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_Hypothesis_i.hxx
1 // Copyright (C) 2007-2020  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // ---
21 // File    : BLSURFPlugin_Hypothesis.hxx
22 // Authors : Francis KLOSS (OCC) & Patrick LAUG (INRIA) & Lioka RAZAFINDRAZAKA (CEA)
23 //           Size maps developement: Nicolas GEIMER (OCC) & Gilles DAVID (EURIWARE)
24 // ---
25 //
26 #ifndef _BLSURFPlugin_Hypothesis_i_HXX_
27 #define _BLSURFPlugin_Hypothesis_i_HXX_
28
29 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(BLSURFPlugin_Algorithm)
31
32 #include "SMESH_Hypothesis_i.hxx"
33 #include "BLSURFPlugin_Hypothesis.hxx"
34
35 class SMESH_Gen;
36 class GEOM_Object;
37
38 // BLSURFPlugin parameters hypothesis
39
40 class BLSURFPlugin_Hypothesis_i:
41   public virtual POA_BLSURFPlugin::BLSURFPlugin_Hypothesis,
42   public virtual SMESH_Hypothesis_i
43 {
44 public:
45   // Constructor
46   BLSURFPlugin_Hypothesis_i(PortableServer::POA_ptr thePOA,
47                             ::SMESH_Gen*            theGenImpl,
48                             bool                    theHasGEOM);
49   // Destructor
50   virtual ~BLSURFPlugin_Hypothesis_i();
51
52   char* GetMeshGemsVersion();
53
54   void SetPhysicalMesh(CORBA::Long theValue);
55   CORBA::Long GetPhysicalMesh();
56
57   void SetGeometricMesh(CORBA::Long theValue);
58   CORBA::Long GetGeometricMesh();
59
60   void SetPhySize(CORBA::Double theValue);
61   void SetPhySizeRel(CORBA::Double theValue);
62   CORBA::Double GetPhySize();
63   CORBA::Boolean IsPhySizeRel();
64
65   void SetMinSize(CORBA::Double theMinSize);
66   void SetMinSizeRel(CORBA::Double theMinSize);
67   CORBA::Double GetMinSize();
68   CORBA::Boolean IsMinSizeRel();
69
70   void SetMaxSize(CORBA::Double theMaxSize);
71   void SetMaxSizeRel(CORBA::Double theMaxSize);
72   CORBA::Double GetMaxSize();
73   CORBA::Boolean IsMaxSizeRel();
74
75   void SetUseGradation(CORBA::Boolean theValue);
76   CORBA::Boolean GetUseGradation();
77   void SetGradation(CORBA::Double theValue);
78   CORBA::Double GetGradation();
79
80   void SetUseVolumeGradation(CORBA::Boolean theValue);
81   CORBA::Boolean GetUseVolumeGradation();
82   void SetVolumeGradation(CORBA::Double theValue);
83   CORBA::Double GetVolumeGradation();
84
85   void SetQuadAllowed(CORBA::Boolean theValue);
86
87   void SetElementType(CORBA::Long theValue);
88   CORBA::Long GetElementType();
89
90   void SetAngleMesh(CORBA::Double theValue);
91   CORBA::Double GetAngleMesh();
92
93   void SetChordalError(CORBA::Double distance);
94   CORBA::Double GetChordalError();
95
96   void SetAnisotropic(CORBA::Boolean anisotropic);
97   CORBA::Boolean GetAnisotropic();
98
99   void SetAnisotropicRatio(CORBA::Double ratio);
100   CORBA::Double GetAnisotropicRatio();
101
102   void SetRemoveTinyEdges(CORBA::Boolean remove);
103   CORBA::Boolean GetRemoveTinyEdges();
104
105   void SetTinyEdgeLength(CORBA::Double length);
106   CORBA::Double GetTinyEdgeLength();
107
108   void SetOptimiseTinyEdges(CORBA::Boolean toOptimise);
109   CORBA::Boolean GetOptimiseTinyEdges();
110
111   void SetTinyEdgeOptimisationLength(CORBA::Double length);
112   CORBA::Double GetTinyEdgeOptimisationLength();
113
114   void SetCorrectSurfaceIntersection(CORBA::Boolean toOptimise);
115   CORBA::Boolean GetCorrectSurfaceIntersection();
116
117   void SetCorrectSurfaceIntersectionMaxCost(CORBA::Double maxCost);
118   CORBA::Double GetCorrectSurfaceIntersectionMaxCost();
119
120   void SetBadElementRemoval(CORBA::Boolean remove);
121   CORBA::Boolean GetBadElementRemoval();
122
123   void SetBadElementAspectRatio(CORBA::Double ratio);
124   CORBA::Double GetBadElementAspectRatio();
125
126   void SetOptimizeMesh(CORBA::Boolean optimize);
127   CORBA::Boolean GetOptimizeMesh();
128
129   void SetQuadraticMesh(CORBA::Boolean quadratic);
130   CORBA::Boolean GetQuadraticMesh();
131
132   void SetTopology(CORBA::Long theValue);
133   CORBA::Long GetTopology();
134
135
136   /*!
137    *  Activate/deactivate surface proximity computation
138    */
139   void SetSurfaceProximity( CORBA::Boolean toUse );
140   CORBA::Boolean GetSurfaceProximity();
141
142   /*!
143    * Set number of surface element layers to be generated due to surface proximity
144    */
145   void SetNbSurfaceProximityLayers( CORBA::Short nbLayers );
146   CORBA::Short GetNbSurfaceProximityLayers();
147
148   /*!
149    * Set coefficient by which size of element refined due to surface proximity is increased
150    */
151   void SetSurfaceProximityRatio( CORBA::Double ratio );
152   CORBA::Double GetSurfaceProximityRatio();
153
154   /*!
155    *  Activate/deactivate volume proximity computation
156    */
157   void SetVolumeProximity( CORBA::Boolean toUse );
158   CORBA::Boolean GetVolumeProximity();
159
160   /*!
161    * Set number of surface element layers to be generated due to volume proximity
162    */
163   void SetNbVolumeProximityLayers( CORBA::Short nbLayers );
164   CORBA::Short GetNbVolumeProximityLayers();
165
166   /*!
167    * Set coefficient by which size of element refined due to volume proximity is increased
168    */
169   void SetVolumeProximityRatio( CORBA::Double ratio );
170   CORBA::Double GetVolumeProximityRatio();
171
172
173   void SetVerbosity(CORBA::Short theVal) throw (SALOME::SALOME_Exception);
174   CORBA::Short GetVerbosity();
175
176   void SetEnforceCadEdgesSize( CORBA::Boolean toEnforce );
177   CORBA::Boolean GetEnforceCadEdgesSize();
178
179   void SetJacobianRectificationRespectGeometry( CORBA::Boolean allowRectification );
180   CORBA::Boolean GetJacobianRectificationRespectGeometry();
181
182   void SetUseDeprecatedPatchMesher( CORBA::Boolean useDeprecatedPatchMesher );
183   CORBA::Boolean GetUseDeprecatedPatchMesher();
184
185   void SetJacobianRectification( CORBA::Boolean allowRectification );
186   CORBA::Boolean GetJacobianRectification();
187
188   void SetMaxNumberOfPointsPerPatch( CORBA::Long nb ) throw (SALOME::SALOME_Exception);
189   CORBA::Long GetMaxNumberOfPointsPerPatch();
190
191   void SetMaxNumberOfThreads( CORBA::Long nb ) throw (SALOME::SALOME_Exception);
192   CORBA::Long GetMaxNumberOfThreads();
193
194   void SetRespectGeometry( CORBA::Boolean toRespect );
195   CORBA::Boolean GetRespectGeometry();
196
197   void SetTinyEdgesAvoidSurfaceIntersections( CORBA::Boolean toAvoidIntersection );
198   CORBA::Boolean GetTinyEdgesAvoidSurfaceIntersections();
199
200   void SetClosedGeometry( CORBA::Boolean isClosed );
201   CORBA::Boolean GetClosedGeometry();
202
203   void SetDebug( CORBA::Boolean isDebug );
204   bool GetDebug();
205
206   void SetPeriodicTolerance( CORBA::Double tol ) throw (SALOME::SALOME_Exception);
207   double GetPeriodicTolerance() throw (SALOME::SALOME_Exception);
208
209   void SetRequiredEntities( const char* howToTreat ) throw (SALOME::SALOME_Exception);
210   char* GetRequiredEntities();
211
212   void SetSewingTolerance( CORBA::Double tol ) throw (SALOME::SALOME_Exception);
213   CORBA::Double GetSewingTolerance() throw (SALOME::SALOME_Exception);
214
215   void SetTags( const char* howToTreat ) throw (SALOME::SALOME_Exception);
216   char* GetTags();
217
218   void SetHyperPatches(const BLSURFPlugin::THyperPatchList& hpl);
219   BLSURFPlugin::THyperPatchList* GetHyperPatches();
220
221   void SetPreCADMergeEdges(CORBA::Boolean theValue);
222   CORBA::Boolean GetPreCADMergeEdges();
223
224   void SetPreCADRemoveDuplicateCADFaces(CORBA::Boolean theValue);
225   CORBA::Boolean GetPreCADRemoveDuplicateCADFaces();
226
227   void SetPreCADProcess3DTopology(CORBA::Boolean theValue);
228   CORBA::Boolean GetPreCADProcess3DTopology();
229
230   void SetPreCADDiscardInput(CORBA::Boolean theValue);
231   CORBA::Boolean GetPreCADDiscardInput();
232
233   void SetOptionValue(const char* optionName, const char* optionValue) throw (SALOME::SALOME_Exception);
234   void SetPreCADOptionValue(const char* optionName, const char* optionValue) throw (SALOME::SALOME_Exception);
235   char* GetOptionValue(const char* optionName) throw (SALOME::SALOME_Exception);
236   char* GetPreCADOptionValue(const char* optionName) throw (SALOME::SALOME_Exception);
237
238   void UnsetOption(const char* optionName);
239   void UnsetPreCADOption(const char* optionName);
240
241   BLSURFPlugin::string_array* GetOptionValues();
242   BLSURFPlugin::string_array* GetPreCADOptionValues();
243   BLSURFPlugin::string_array* GetAdvancedOptionValues();
244
245   void SetOptionValues(const BLSURFPlugin::string_array& options) throw (SALOME::SALOME_Exception);
246   void SetPreCADOptionValues(const BLSURFPlugin::string_array& options) throw (SALOME::SALOME_Exception);
247   void SetAdvancedOptionValues(const BLSURFPlugin::string_array& options);
248   void SetAdvancedOption(const char* optionsAndValues) throw (SALOME::SALOME_Exception);
249
250   void AddOption(const char* optionName, const char* optionValue);
251   void AddPreCADOption(const char* optionName, const char* optionValue);
252   char* GetOption(const char* optionName);
253   char* GetPreCADOption(const char* optionName);
254
255   void SetSizeMapEntry(const char* entry, const char* sizeMap) throw (SALOME::SALOME_Exception);
256
257   void SetConstantSizeMapEntry(const char* entry, GEOM::shape_type shapeType, CORBA::Double sizeMap) throw (SALOME::SALOME_Exception);
258
259   char* GetSizeMapEntry(const char* entry) throw (SALOME::SALOME_Exception);
260
261   void UnsetEntry(const char* entry);
262
263   BLSURFPlugin::string_array* GetSizeMapEntries();
264
265   void SetSizeMapEntries(const BLSURFPlugin::string_array& sizeMaps) throw (SALOME::SALOME_Exception);
266
267   void SetSizeMap(GEOM::GEOM_Object_ptr GeomObj, const char* sizeMap) throw (SALOME::SALOME_Exception);
268
269   void SetConstantSizeMap(GEOM::GEOM_Object_ptr GeomObj, CORBA::Double sizeMap);
270
271   void UnsetSizeMap(GEOM::GEOM_Object_ptr GeomObj);
272
273   void ClearSizeMaps();
274
275   void SetAttractor(GEOM::GEOM_Object_ptr GeomObj, const char* attractor);
276
277   void UnsetAttractor(GEOM::GEOM_Object_ptr GeomObj);
278
279   void SetAttractorEntry(const char* entry, const char* attractor) throw (SALOME::SALOME_Exception);
280
281   char* GetAttractorEntry(const char* entry) throw (SALOME::SALOME_Exception);
282
283   BLSURFPlugin::string_array* GetAttractorEntries();
284   
285   
286   /*!
287     * Set/get/unset an attractor on a face 
288     */
289   
290   void SetAttractorGeom(GEOM::GEOM_Object_ptr GeomObj, GEOM::GEOM_Object_ptr Attractor, CORBA::Double StartSize, CORBA::Double EndSize, CORBA::Double ActionRadius, CORBA::Double ConstantRadius );
291
292   void UnsetAttractorGeom(GEOM::GEOM_Object_ptr GeomObj,
293                           GEOM::GEOM_Object_ptr theAttractor);
294
295   void UnsetAttractorEntry(const char* entry, const char* attractor);
296   void SetClassAttractorEntry(const char* entry, const char* att_entry, CORBA::Double StartSize, CORBA::Double EndSize, CORBA::Double ActionRadius, CORBA::Double ConstantRadius)  throw (SALOME::SALOME_Exception);
297
298   BLSURFPlugin::TAttParamsMap* GetAttractorParams();
299   
300
301   /*
302    void SetCustomSizeMap(GEOM::GEOM_Object_ptr GeomObj, const char* sizeMap);
303
304    void UnsetCustomSizeMap(GEOM::GEOM_Object_ptr GeomObj);
305
306    void SetCustomSizeMapEntry(const char* entry,const char* sizeMap )  throw (SALOME::SALOME_Exception);
307
308    char* GetCustomSizeMapEntry(const char* entry)  throw (SALOME::SALOME_Exception);
309
310    BLSURFPlugin::string_array* GetCustomSizeMapEntries();
311    */
312
313   ///////////////////////
314   // ENFORCED VERTEXES //
315   ///////////////////////
316
317   BLSURFPlugin::TFaceEntryEnfVertexListMap* GetAllEnforcedVerticesByFace();
318   BLSURFPlugin::TEnfVertexList* GetAllEnforcedVertices();
319
320   BLSURFPlugin::TFaceEntryCoordsListMap* GetAllCoordsByFace();
321   BLSURFPlugin::TCoordsEnfVertexMap* GetAllEnforcedVerticesByCoords();
322
323   BLSURFPlugin::TFaceEntryEnfVertexEntryListMap* GetAllEnfVertexEntriesByFace();
324   BLSURFPlugin::TEnfVertexEntryEnfVertexMap* GetAllEnforcedVerticesByEnfVertexEntry();
325
326   void ClearAllEnforcedVertices();
327
328   /*!
329    * Set/get/unset an enforced vertex on geom object
330    */
331   // OBSOLETE
332   bool SetEnforcedVertex(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z)
333       throw (SALOME::SALOME_Exception);
334   bool SetEnforcedVertexNamed(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theVertexName)
335       throw (SALOME::SALOME_Exception);
336   bool SetEnforcedVertexGeom(GEOM::GEOM_Object_ptr theFace, GEOM::GEOM_Object_ptr theVertex)
337       throw (SALOME::SALOME_Exception);
338   bool SetEnforcedVertexWithGroup(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theGroupName)
339       throw (SALOME::SALOME_Exception);
340   bool SetEnforcedVertexNamedWithGroup(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theVertexName, const char* theGroupName)
341       throw (SALOME::SALOME_Exception);
342   bool SetEnforcedVertexGeomWithGroup(GEOM::GEOM_Object_ptr theFace, GEOM::GEOM_Object_ptr theVertex, const char* theGroupName)
343       throw (SALOME::SALOME_Exception);
344
345   BLSURFPlugin::TEnfVertexList* GetEnforcedVertices(GEOM::GEOM_Object_ptr theFace) throw (SALOME::SALOME_Exception);
346
347   bool UnsetEnforcedVertex(GEOM::GEOM_Object_ptr theFace, CORBA::Double x, CORBA::Double y, CORBA::Double z)
348       throw (SALOME::SALOME_Exception);
349   bool UnsetEnforcedVertexGeom(GEOM::GEOM_Object_ptr theFace, GEOM::GEOM_Object_ptr theVertex)
350       throw (SALOME::SALOME_Exception);
351   bool UnsetEnforcedVertices(GEOM::GEOM_Object_ptr theFace) throw (SALOME::SALOME_Exception);
352
353   // NEW - no face
354   bool AddEnforcedVertex(CORBA::Double x, CORBA::Double y, CORBA::Double z)
355       throw (SALOME::SALOME_Exception);
356   bool AddEnforcedVertexNamed(CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theVertexName)
357       throw (SALOME::SALOME_Exception);
358   bool AddEnforcedVertexGeom(GEOM::GEOM_Object_ptr theVertex)
359       throw (SALOME::SALOME_Exception);
360   bool AddEnforcedVertexWithGroup(CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theGroupName)
361       throw (SALOME::SALOME_Exception);
362   bool AddEnforcedVertexNamedWithGroup(CORBA::Double x, CORBA::Double y, CORBA::Double z, const char* theVertexName, const char* theGroupName)
363       throw (SALOME::SALOME_Exception);
364   bool AddEnforcedVertexGeomWithGroup(GEOM::GEOM_Object_ptr theVertex, const char* theGroupName)
365       throw (SALOME::SALOME_Exception);
366
367   bool RemoveEnforcedVertex(CORBA::Double x, CORBA::Double y, CORBA::Double z)
368       throw (SALOME::SALOME_Exception);
369   bool RemoveEnforcedVertexGeom(GEOM::GEOM_Object_ptr theVertex)
370       throw (SALOME::SALOME_Exception);
371   bool RemoveEnforcedVertices() throw (SALOME::SALOME_Exception);
372
373   /*!
374    * Set/get/unset an enforced vertex on geom object given by entry
375    */
376   bool SetEnforcedVertexEntry(const char* theFaceEntry, CORBA::Double x = 0, CORBA::Double y = 0, CORBA::Double z = 0,
377       const char* theVertexName = "", const char* theVertexEntry = "", const char* theGroupName = "")
378       throw (SALOME::SALOME_Exception);
379
380   BLSURFPlugin::TEnfVertexList* GetEnforcedVerticesEntry(const char* theFaceEntry) throw (SALOME::SALOME_Exception);
381
382   bool UnsetEnforcedVertexEntry(const char* theFaceEntry, CORBA::Double x, CORBA::Double y, CORBA::Double z,
383       const char* theVertexEntry = "") throw (SALOME::SALOME_Exception);
384   bool UnsetEnforcedVerticesEntry(const char* theFaceEntry) throw (SALOME::SALOME_Exception);
385
386   /*!
387    * To add internal vertices as enforced vertices
388    */
389   void SetInternalEnforcedVertexAllFaces(CORBA::Boolean toEnforceInternalVertices);
390   CORBA::Boolean GetInternalEnforcedVertexAllFaces();
391   void SetInternalEnforcedVertexAllFacesGroup(const char*  groupName = "");
392   char* GetInternalEnforcedVertexAllFacesGroup();
393
394 // Enable internal enforced vertices on specific face if requested by user
395 //  void SetInternalEnforcedVertex(GEOM::GEOM_Object_ptr theFace, CORBA::Boolean toEnforceInternalVertices) throw (SALOME::SALOME_Exception);
396 //  void SetInternalEnforcedVertexWithGroup(GEOM::GEOM_Object_ptr theFace, CORBA::Boolean toEnforceInternalVertices, const char* theGroupName = "") throw (SALOME::SALOME_Exception);
397 //  void SetInternalEnforcedVertexEntry(const char* theFaceEntry, CORBA::Boolean toEnforceInternalVertices, const char* theGroupName = "") throw (SALOME::SALOME_Exception);
398 //  CORBA::Boolean GetInternalEnforcedVertex(GEOM::GEOM_Object_ptr theFace) throw (SALOME::SALOME_Exception);
399 //  CORBA::Boolean GetInternalEnforcedVertexEntry(const char* theFaceEntry) throw (SALOME::SALOME_Exception);
400   
401   ///////////////////////
402   // PERIODICITY       //
403   ///////////////////////
404
405   void ClearPreCadPeriodicityVectors();
406
407   BLSURFPlugin::TPeriodicityList* GetPreCadFacesPeriodicityVector();
408   BLSURFPlugin::TPeriodicityList* GetPreCadEdgesPeriodicityVector();
409
410   BLSURFPlugin::TPeriodicityList* PreCadVectorToSequence(const ::BLSURFPlugin_Hypothesis::TPreCadPeriodicityVector& preCadPeriodicityVector);
411
412   void AddPreCadFacesPeriodicity(GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theFace2)
413       throw (SALOME::SALOME_Exception);
414
415   void AddPreCadFacesPeriodicityWithVertices(GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theFace2,
416       const GEOM::ListOfGO& theSourceVertices, const GEOM::ListOfGO& theTargetVertices)
417       throw (SALOME::SALOME_Exception);
418
419   void AddPreCadFacesPeriodicityEntry(const char* theFace1Entry, const char* theFace2Entry,
420       const BLSURFPlugin::TEntryList& theSourceVerticesEntries, const BLSURFPlugin::TEntryList& theTargetVerticesEntries)
421       throw (SALOME::SALOME_Exception);
422
423   void AddPreCadEdgesPeriodicity(GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2)
424       throw (SALOME::SALOME_Exception);
425
426   void AddPreCadEdgesPeriodicityWithVertices(GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2,
427       const GEOM::ListOfGO& theSourceVertices, const GEOM::ListOfGO& theTargetVertices)
428       throw (SALOME::SALOME_Exception);
429
430   void AddPreCadEdgesPeriodicityEntry(const char* theEdge1Entry, const char* theEdge2Entry,
431       const BLSURFPlugin::TEntryList& theSourceVerticesEntries, const BLSURFPlugin::TEntryList& theTargetVerticesEntries)
432       throw (SALOME::SALOME_Exception);
433
434   ///////////////////////
435   
436   /*!
437     * Sets the file for export resulting mesh in GMF format
438     */
439 //   void SetGMFFile(const char* theFileName, CORBA::Boolean isBinary);
440   void SetGMFFile(const char* theFileName);
441   char* GetGMFFile();
442 //   CORBA::Boolean GetGMFFileMode();
443
444   // Get implementation
445   ::BLSURFPlugin_Hypothesis* GetImpl();
446
447   // Verify whether hypothesis supports given entity type 
448   CORBA::Boolean IsDimSupported(SMESH::Dimension type);
449
450
451
452   // Methods for copying mesh definition to other geometry
453
454   // Return geometry this hypothesis depends on. Return false if there is no geometry parameter
455   virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
456                                    std::vector< int >         & subIDArray ) const;
457
458   // Set new geometry instead of that returned by getObjectsDependOn()
459   virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
460                                    std::vector< int >         & subIDArray );
461 private:
462   ///////////////////////
463   // PERIODICITY       //
464   ///////////////////////
465   std::string ShapeTypeToString(GEOM::shape_type theShapeType);
466   void CheckShapeType(GEOM::GEOM_Object_ptr shape, GEOM::shape_type theShapeType);
467   void CheckShapeTypes(GEOM::GEOM_Object_ptr shape, std::vector<GEOM::shape_type> theShapeTypes);
468   std::string PublishIfNeeded(GEOM::GEOM_Object_ptr shape, GEOM::shape_type theShapeType, std::string prefix);
469   std::string FormatVerticesEntries(std::vector<std::string> &theSourceVerticesEntries, std::vector<std::string> &theTargetVerticesEntries);
470
471 };
472
473 #endif