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