1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : BLSURFPlugin_Algorithm.idl
22 // Authors : Francis KLOSS (OCC) & Patrick LAUG (INRIA) & Lioka RAZAFINDRAZAKA (CEA)
23 // Size maps developement: Nicolas GEIMER (OCC) & Gilles DAVID (EURIWARE)
26 #ifndef _SMESH_BLSURFALGORITHM_IDL_
27 #define _SMESH_BLSURFALGORITHM_IDL_
29 #include "SMESH_Hypothesis.idl"
30 #include "GEOM_Gen.idl"
31 #include "SALOME_Exception.idl"
34 * BLSURFPlugin: interfaces to BLSURF related hypotheses and algorithms
38 typedef sequence<string> string_array;
40 // Enforced vertex name
41 typedef string TEnfName;
43 typedef string TEntry;
44 typedef sequence<TEntry> TEntryList;
46 typedef string TEnfGroupName;
48 // Coordinates of enforced vertex
49 typedef sequence<double,3> TEnfVertexCoords;
51 typedef sequence<TEnfVertexCoords> TEnfVertexCoordsList;
57 TEnfVertexCoords coords;
58 TEnfGroupName grpName;
59 TEntryList faceEntries;
61 // List of enforced vertices
62 typedef sequence<TEnfVertex> TEnfVertexList;
64 // Map Face Entry / List of enforced vertices
65 struct TFaceEntryEnfVertexListMapElement {
67 TEnfVertexList enfVertexList;
69 typedef sequence<TFaceEntryEnfVertexListMapElement> TFaceEntryEnfVertexListMap;
71 // Map Face Entry / List of coords
72 struct TFaceEntryCoordsListMapElement {
74 TEnfVertexCoordsList coordsList;
76 typedef sequence<TFaceEntryCoordsListMapElement> TFaceEntryCoordsListMap;
78 // Map Face Entry / List of enf vertex entries
79 struct TFaceEntryEnfVertexEntryListMapElement {
81 TEntryList enfVertexEntryList;
83 typedef sequence<TFaceEntryEnfVertexEntryListMapElement> TFaceEntryEnfVertexEntryListMap;
85 // Map Coords / Enforced vertex
86 struct TCoordsEnfVertexElement {
87 TEnfVertexCoords coords;
90 typedef sequence<TCoordsEnfVertexElement> TCoordsEnfVertexMap;
92 // Map Enf Vertex Entry / Enforced vertex
93 struct TEnfVertexEntryEnfVertexElement {
94 TEntry enfVertexEntry;
97 typedef sequence<TEnfVertexEntryEnfVertexElement> TEnfVertexEntryEnfVertexMap;
99 // List of Face Entry with internal enforced vertices activated
100 typedef sequence<TEntry> TFaceEntryInternalVerticesList;
103 struct TAttractorParams {
111 typedef sequence<TAttractorParams> TAttParamsMap;
114 struct TPreCadPeriodicity {
117 TEntryList theSourceVerticesEntries;
118 TEntryList theTargetVerticesEntries;
121 typedef sequence<TPreCadPeriodicity> TPeriodicityList;
124 typedef sequence<long> THyperPatch;
125 typedef sequence<THyperPatch> THyperPatchList;
128 * BLSURFPlugin_BLSURF: interface of BLSURF algorithm
130 interface BLSURFPlugin_BLSURF : SMESH::SMESH_2D_Algo
135 * BLSURFPlugin_Hypothesis: interface of "BLSURF parameters" hypothesis
137 interface BLSURFPlugin_Hypothesis : SMESH::SMESH_Hypothesis
141 * Sets a way to define size of mesh elements to generate
142 * 0 - size is defined automatically
143 * 1 - size is set by SetPhySize() method
144 * 2 - size is set by SetPhySize() method. A sizemap is defined.
146 void SetPhysicalMesh(in long isCustom);
147 long GetPhysicalMesh();
150 * Sets a way to define maximum angular deflection of mesh from CAD model
151 * 0 - deflection is defined automatically
152 * 1 - deflection is set by SetAngleMesh() method
153 * 2 - deflection is set by SetAngleMesh() method. A sizemap is defined (TODO).
155 void SetGeometricMesh(in long isCustom);
156 long GetGeometricMesh();
159 * Sets size of mesh elements to generate
161 void SetPhySize(in double size);
162 void SetPhySizeRel(in double size);
164 boolean IsPhySizeRel();
167 * Sets lower boundary of mesh element size
169 void SetMinSize(in double theMinSize);
170 void SetMinSizeRel(in double theMinSize);
172 boolean IsMinSizeRel();
175 * Sets upper boundary of mesh element size
177 void SetMaxSize(in double theMaxSize);
178 void SetMaxSizeRel(in double theMaxSize);
180 boolean IsMaxSizeRel();
183 * Sets maximal allowed ratio between the lengths of two adjacent edges
185 void SetUseGradation(in boolean toUse);
186 boolean GetUseGradation();
187 void SetGradation(in double ratio);
188 double GetGradation();
191 * Sets maximal allowed ratio between the lengths of two adjacent edges in 3D mesh
193 void SetUseVolumeGradation(in boolean toUse);
194 boolean GetUseVolumeGradation();
195 void SetVolumeGradation(in double ratio);
196 double GetVolumeGradation();
199 * Sets to create quadrilateral elements or not
201 void SetQuadAllowed(in boolean allowed);
202 boolean GetQuadAllowed();
205 * Sets angular deflection (in degrees) of a mesh face and edge from CAD surface
207 void SetAngleMesh(in double angle);
208 double GetAngleMesh();
211 * Sets the maximum desired distance between a triangle and its supporting CAD surface
213 void SetChordalError(in double distance);
214 double GetChordalError();
217 * Determines whether the generated mesh will be isotropic or anisotropic
219 void SetAnisotropic(in boolean anisotropic);
220 boolean GetAnisotropic();
223 * Defines the maximum anisotropic ratio of the metric governing the anisotropic process.
224 * The default value of 0 means that the metric (and thus the generated elements)
225 * can be arbitrarily stretched.
227 void SetAnisotropicRatio(in double ratio);
228 double GetAnisotropicRatio();
231 * This patch-independent correction option can be activated to remove the tiny
232 * (nano) edges from the generated mesh, without taking into account the tags
233 * (attributes) specifications.
235 void SetRemoveTinyEdges(in boolean remove);
236 boolean GetRemoveTinyEdges();
239 * Defines the minimal length under which an edge is considered to be a tiny one
241 void SetTinyEdgeLength(in double length);
242 double GetTinyEdgeLength();
245 * This patch-independent correction option can be activated to remove the tiny
246 * edges (defined by the option tiny edge optimisation length) from the generated
247 * mesh when it improves the local mesh quality, without taking into account the
248 * tags (attributes) specifications.
250 void SetOptimiseTinyEdges(in boolean toOptimise);
251 boolean GetOptimiseTinyEdges();
254 * Defines the minimal length under which an edge is considered to be a tiny one
255 * to be optimised out by the optimise tiny edges option
257 void SetTinyEdgeOptimisationLength(in double length);
258 double GetTinyEdgeOptimisationLength();
261 * Activate correction of all surface intersections
263 void SetCorrectSurfaceIntersection(in boolean toCorrect);
264 boolean GetCorrectSurfaceIntersection();
267 * Defines the time the user is ready to spend in the intersection prevention process.
268 * For example, maxCost = 3 means that MeshGems-CADSurf will not spend more time
269 * in the intersection removal process than 3 times the time required to mesh
270 * without processing the intersections.
272 void SetCorrectSurfaceIntersectionMaxCost(in double maxCost);
273 double GetCorrectSurfaceIntersectionMaxCost();
276 * This patch independent correction option can be activated to remove the bad
277 * elements (often called slivers) from the generated mesh, without taking into account
278 * the tags (attributes) specification.
280 void SetBadElementRemoval(in boolean remove);
281 boolean GetBadElementRemoval();
284 * This parameter defines the aspect ratio triggering the "bad element"
285 * classification for the force bad surface element removal option.
287 void SetBadElementAspectRatio(in double ratio);
288 double GetBadElementAspectRatio();
291 * If this option is activated, MeshGems-CADSurf will optimize the mesh in order to
292 * get better shaped elements, during a process which respects the patch independent options.
293 * This optimisation cannot be fully performed when correct_surface_intersections = 1.
295 void SetOptimizeMesh(in boolean optimize);
296 boolean GetOptimizeMesh();
299 * Determines the order of mesh elements to be generated (linear or quadratic)
301 void SetQuadraticMesh(in boolean quadratic);
302 boolean GetQuadraticMesh();
305 * Sets topology usage way defining how mesh conformity is assured
306 * value=0 - mesh conformity is assured by conformity of a shape
307 * value=1,2 - mesh conformity is assured by pre-processing a CAD model (OBSOLETE)
308 * value=3 - mesh conformity is assured by pre-processing a CAD model with Pre-CAD
310 void SetTopology(in long way);
314 * Sets verbosity level in the range 0 to 100.
316 void SetVerbosity(in short theVal) raises (SALOME::SALOME_Exception);
317 short GetVerbosity();
320 * Set enforce_cad_edge_sizes parameter
322 * Relaxes the given sizemap constraint around CAD edges to allow a better
323 * element quality and a better geometric approximation. It is only useful in
324 * combination with the gradation option.
326 void SetEnforceCadEdgesSize( in boolean toEnforce );
327 boolean GetEnforceCadEdgesSize();
330 * Set jacobian_rectification_respect_geometry parameter
332 * While making the mesh quadratic, allows to lose the CAD-mesh associativity in order
333 * to correct elements with nagative Jacobian
335 void SetJacobianRectificationRespectGeometry( in boolean allowRectification );
336 boolean GetJacobianRectificationRespectGeometry();
339 * Set rectify_jacobian parameter
341 * While making the mesh quadratic, allow to fix nagative Jacobian surface elements
343 void SetJacobianRectification( in boolean allowRectification );
344 boolean GetJacobianRectification();
347 * Set max_number_of_points_per_patch parameter
349 * This parameter controls the maximum amount of points MeshGems-CADSurf is allowed
350 * to generate on a single CAD patch. For an automatic gestion of the memory, one
351 * can set this parameter to 0
353 void SetMaxNumberOfPointsPerPatch( in long nb ) raises (SALOME::SALOME_Exception);
354 long GetMaxNumberOfPointsPerPatch();
358 * Set max_number_of_threads parameter
360 * Set the maximum of threads to use for multithreading mesh computation.
362 void SetMaxNumberOfThreads( in long nb ) raises (SALOME::SALOME_Exception);
363 long GetMaxNumberOfThreads();
366 * Set respect_geometry parameter
368 * This patch independent option can be deactivated to allow MeshGems-CADSurf
369 * to lower the geometry accuracy in its patch independent process.
371 void SetRespectGeometry( in boolean toRespect );
372 boolean GetRespectGeometry();
375 * Set tiny_edges_avoid_surface_intersections parameter
377 * This option defines the priority between the tiny feature
378 * suppression and the surface intersection prevention.
380 void SetTinyEdgesAvoidSurfaceIntersections( in boolean toAvoidIntersection );
381 boolean GetTinyEdgesAvoidSurfaceIntersections();
384 * Set closed_geometry parameter parameter
386 * Describes whether the geometry is expected to be closed or not.
387 * When activated, this option helps MeshGems-PreCAD to treat the dirtiest geometries.
389 void SetClosedGeometry( in boolean isClosed );
390 boolean GetClosedGeometry();
393 * Set debug parameter
395 * Make MeshGems-CADSurf will be very verbose and will output some intermediate
396 * files in the working directory. This option is mainly meant for Distene support issues.
398 void SetDebug( in boolean isDebug );
402 * Set periodic_tolerance parameter
404 * This parameter defines the maximum size difference between two periodic edges
405 * and also the maximum distance error between two periodic entities.
407 void SetPeriodicTolerance( in double tol ) raises (SALOME::SALOME_Exception);
408 double GetPeriodicTolerance() raises (SALOME::SALOME_Exception);
411 * Set required_entities parameter
413 * The required entities control the correction operations.
414 * Accepted values for this parameter are :
415 * - "respect" : MeshGems-CADSurf is not allowed to alter any required entity,
416 * even for correction purposes,
417 * - "ignore" : MeshGems-CADSurf will ignore the required entities in its processing,
418 * - "clear" : MeshGems-CADSurf will clear any required status for the entities.
419 * There will not be any entity marked as required in the generated mesh.
421 void SetRequiredEntities( in string howToTreat ) raises (SALOME::SALOME_Exception);
422 string GetRequiredEntities();
425 * Set sewing_tolerance parameter
427 * This parameter is the tolerance of the assembly.
429 void SetSewingTolerance( in double tol ) raises (SALOME::SALOME_Exception);
430 double GetSewingTolerance() raises (SALOME::SALOME_Exception);
435 * The tag (attribute) system controls the optimisation process.
436 * Accepted values for this parameter are :
437 * - "respect" : the CAD tags will be preserved and unaltered by the optimisation operations,
438 * - "ignore" : the CAD tags will be ignored by the optimisation operations
439 * but they will still be present in the output mesh,
440 * - "clear" : MeshGems-CADSurf will clear any tag on any entity and optimise accordingly.
441 * There will not be any tag in the generated mesh.
443 void SetTags( in string howToTreat ) raises (SALOME::SALOME_Exception);
449 void SetHyperPatches(in THyperPatchList hpl);
450 THyperPatchList GetHyperPatches();
455 void SetPreCADMergeEdges(in boolean toMergeEdges);
456 boolean GetPreCADMergeEdges();
459 * To remove duplicate CAD faces.
461 void SetPreCADRemoveDuplicateCADFaces(in boolean toRemoveDuplicateCADFaces);
462 boolean GetPreCADRemoveDuplicateCADFaces();
465 * To process 3D topology.
467 void SetPreCADProcess3DTopology(in boolean toProcess);
468 boolean GetPreCADProcess3DTopology();
472 * To compute topology from scratch
474 void SetPreCADDiscardInput(in boolean toDiscardInput);
475 boolean GetPreCADDiscardInput();
478 * Sets advanced option value
480 void SetOptionValue(in string optionName,
481 in string optionValue) raises (SALOME::SALOME_Exception);
482 void SetPreCADOptionValue(in string optionName,
483 in string optionValue) raises (SALOME::SALOME_Exception);
484 string GetOptionValue(in string optionName) raises (SALOME::SALOME_Exception);
485 string GetPreCADOptionValue(in string optionName) raises (SALOME::SALOME_Exception);
487 * Unsets advanced option
489 void UnsetOption(in string optionName);
490 void UnsetPreCADOption(in string optionName);
493 * Adds custom advanced option and its value
495 void SetAdvancedOption(in string optionsAndValues) // in a form "option_1 v1 option_2 v2'"
496 raises (SALOME::SALOME_Exception);
497 void AddOption(in string optionName, in string optionValue);
498 void AddPreCADOption(in string optionName, in string optionValue);
499 string GetOption(in string optionName);
500 string GetPreCADOption(in string optionName);
503 * Return array of strings each of which is option name concatenated
504 * with option value devided by semicolon - "option_name:option_value:option_type".
505 * Option value is empty if an option is not set.
506 * option_type: 1 if user-define, 0 if default
507 * Note: the method is mostly for interaction with GUI.
509 string_array GetOptionValues();
510 string_array GetPreCADOptionValues();
511 string_array GetAdvancedOptionValues();
514 * Set option values each in the form "option_name[:option_value][:option_type]".
515 * Note: the method is mostly for interaction with GUI.
517 void SetOptionValues(in string_array options) raises (SALOME::SALOME_Exception);
518 void SetPreCADOptionValues(in string_array options) raises (SALOME::SALOME_Exception);
519 void SetAdvancedOptionValues(in string_array options);
524 void SetSizeMapEntries(in string_array sizeMaps) raises (SALOME::SALOME_Exception);
525 void ClearSizeMaps();
527 void UnsetEntry(in string entry);
530 * Set/unset a SizeMap on geom object
532 void SetSizeMap(in GEOM::GEOM_Object GeomObj, in string sizeMap) raises (SALOME::SALOME_Exception);
533 void SetConstantSizeMap(in GEOM::GEOM_Object GeomObj, in double sizeMap);
534 void UnsetSizeMap(in GEOM::GEOM_Object GeomObj);
537 * Set a SizeMap on geom object given by entry
539 void SetSizeMapEntry(in string entry, in string sizeMap) raises (SALOME::SALOME_Exception);
540 void SetConstantSizeMapEntry(in string entry, in GEOM::shape_type shapeType, in double sizeMap) raises (SALOME::SALOME_Exception);
541 string GetSizeMapEntry(in string entry) raises (SALOME::SALOME_Exception);
542 string_array GetSizeMapEntries();
545 * Set/unset an attractor on geom object
547 void SetAttractor(in GEOM::GEOM_Object GeomObj, in string attractor);
548 void UnsetAttractor(in GEOM::GEOM_Object GeomObj);
551 * Set an attractor on geom object given by entry
553 void SetAttractorEntry(in string entry, in string attractor) raises (SALOME::SALOME_Exception);
554 string GetAttractorEntry(in string entry) raises (SALOME::SALOME_Exception);
555 string_array GetAttractorEntries();
558 * Set/unset an attractor given as geom object on another geom object
560 void SetAttractorGeom(in GEOM::GEOM_Object GeomObj, in GEOM::GEOM_Object AttractorShape, in double StartSize, in double EndSize, in double ActionRadius, in double ConstantRadius);
561 void UnsetAttractorGeom(in GEOM::GEOM_Object GeomObj, in GEOM::GEOM_Object AttractorShape);
562 void UnsetAttractorEntry(in string entry, in string attractor);
565 * Set an attractor given by entry on a geom object given by entry
567 void SetClassAttractorEntry(in string entry, in string att_entry, in double StartSize, in double EndSize, in double ActionRadius, in double ConstantRadius ) raises (SALOME::SALOME_Exception);
568 BLSURFPlugin::TAttParamsMap GetAttractorParams();
571 void SetCustomSizeMapEntry(in string entry, in string sizeMap);
572 string GetCustomSizeMapEntry(in string entry);
573 void SetCustomSizeMap(in GEOM::GEOM_Object GeomObj, in string sizeMap);
574 void UnsetCustomSizeMap(in GEOM::GEOM_Object GeomObj);
575 string_array GetCustomSizeMapEntries();
577 ///////////////////////
578 // ENFORCED VERTEXES //
579 ///////////////////////
581 TFaceEntryEnfVertexListMap GetAllEnforcedVerticesByFace();
582 TEnfVertexList GetAllEnforcedVertices();
584 TFaceEntryCoordsListMap GetAllCoordsByFace();
585 TCoordsEnfVertexMap GetAllEnforcedVerticesByCoords();
587 TFaceEntryEnfVertexEntryListMap GetAllEnfVertexEntriesByFace();
588 TEnfVertexEntryEnfVertexMap GetAllEnforcedVerticesByEnfVertexEntry();
590 void ClearAllEnforcedVertices();
593 * Set/get/unset an enforced vertex on geom face
596 boolean SetEnforcedVertex(in GEOM::GEOM_Object theFace, in double x, in double y, in double z) raises (SALOME::SALOME_Exception);
597 boolean SetEnforcedVertexNamed(in GEOM::GEOM_Object theFace, in double x, in double y, in double z, in TEnfName theVertexName) raises (SALOME::SALOME_Exception);
598 boolean SetEnforcedVertexGeom(in GEOM::GEOM_Object theFace, in GEOM::GEOM_Object theVertex) raises (SALOME::SALOME_Exception);
599 boolean SetEnforcedVertexWithGroup(in GEOM::GEOM_Object theFace, in double x, in double y, in double z, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
600 boolean SetEnforcedVertexNamedWithGroup(in GEOM::GEOM_Object theFace, in double x, in double y, in double z, in TEnfName theVertexName, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
601 boolean SetEnforcedVertexGeomWithGroup(in GEOM::GEOM_Object theFace, in GEOM::GEOM_Object theVertex, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
603 TEnfVertexList GetEnforcedVertices(in GEOM::GEOM_Object theFace) raises (SALOME::SALOME_Exception);
604 boolean UnsetEnforcedVertex(in GEOM::GEOM_Object theFace, in double x, in double y, in double z) raises (SALOME::SALOME_Exception);
605 boolean UnsetEnforcedVertexGeom(in GEOM::GEOM_Object theFace, in GEOM::GEOM_Object theVertex) raises (SALOME::SALOME_Exception);
606 boolean UnsetEnforcedVertices(in GEOM::GEOM_Object theFace) raises (SALOME::SALOME_Exception);
609 boolean AddEnforcedVertex(in double x, in double y, in double z) raises (SALOME::SALOME_Exception);
610 boolean AddEnforcedVertexNamed(in double x, in double y, in double z, in TEnfName theVertexName) raises (SALOME::SALOME_Exception);
611 boolean AddEnforcedVertexGeom(in GEOM::GEOM_Object theVertex) raises (SALOME::SALOME_Exception);
612 boolean AddEnforcedVertexWithGroup(in double x, in double y, in double z, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
613 boolean AddEnforcedVertexNamedWithGroup(in double x, in double y, in double z, in TEnfName theVertexName, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
614 boolean AddEnforcedVertexGeomWithGroup(in GEOM::GEOM_Object theVertex, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
616 boolean RemoveEnforcedVertex(in double x, in double y, in double z) raises (SALOME::SALOME_Exception);
617 boolean RemoveEnforcedVertexGeom(in GEOM::GEOM_Object theVertex) raises (SALOME::SALOME_Exception);
618 boolean RemoveEnforcedVertices() raises (SALOME::SALOME_Exception);
621 * Set/get/unset an enforced vertex on geom face given by entry
623 boolean SetEnforcedVertexEntry(in TEntry theFaceEntry, in double x, in double y, in double z,
624 in TEnfName theVertexName, in TEntry theVertexEntry, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
626 TEnfVertexList GetEnforcedVerticesEntry(in TEntry theFaceEntry) raises (SALOME::SALOME_Exception);
627 boolean UnsetEnforcedVertexEntry(in TEntry theFaceEntry, in double x, in double y, in double z, in TEntry theVertexEntry) raises (SALOME::SALOME_Exception);
628 // boolean UnsetEnforcedVertexEntryGeom(in TEntry theFaceEntry, in TEntry theVertexEntry) raises (SALOME::SALOME_Exception);
629 boolean UnsetEnforcedVerticesEntry(in TEntry theFaceEntry) raises (SALOME::SALOME_Exception);
632 * To get/set internal vertices as enforced vertices
634 void SetInternalEnforcedVertexAllFaces(in boolean toEnforceInternalVertices);
635 boolean GetInternalEnforcedVertexAllFaces();
636 void SetInternalEnforcedVertexAllFacesGroup(in TEnfGroupName groupName);
637 TEnfGroupName GetInternalEnforcedVertexAllFacesGroup();
639 // Enable internal enforced vertices on specific face if requested by user
640 // void SetInternalEnforcedVertex(in GEOM::GEOM_Object theFace,in boolean toEnforceInternalVertices) raises (SALOME::SALOME_Exception);
641 // void SetInternalEnforcedVertexWithGroup(in GEOM::GEOM_Object theFace, in boolean toEnforceInternalVertices, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
642 // void SetInternalEnforcedVertexEntry(in TEntry theFaceEntry, in boolean toEnforceInternalVertices, in TEnfGroupName groupName) raises (SALOME::SALOME_Exception);
643 // boolean GetInternalEnforcedVertex(in GEOM::GEOM_Object theFace) raises (SALOME::SALOME_Exception);
644 // boolean GetInternalEnforcedVertexEntry(in TEntry theFaceEntry) raises (SALOME::SALOME_Exception);
645 // TFaceEntryInternalVerticesList GetAllInternalEnforcedVerticesFaces();
646 ///////////////////////
649 ///////////////////////
651 ///////////////////////
653 void ClearPreCadPeriodicityVectors();
654 void AddPreCadFacesPeriodicity(in GEOM::GEOM_Object theFace1, in GEOM::GEOM_Object theFace2) raises (SALOME::SALOME_Exception);
655 void AddPreCadFacesPeriodicityWithVertices(in GEOM::GEOM_Object theFace1, in GEOM::GEOM_Object theFace2, in GEOM::ListOfGO theSourceVertices, in GEOM::ListOfGO theTargetVertices) raises (SALOME::SALOME_Exception);
656 void AddPreCadFacesPeriodicityEntry(in TEntry theFace1, in TEntry theFace2, in TEntryList theSourceVertices, in TEntryList theTargetVertices) raises (SALOME::SALOME_Exception);
657 void AddPreCadEdgesPeriodicity(in GEOM::GEOM_Object theEdge1, in GEOM::GEOM_Object theEdge2) raises (SALOME::SALOME_Exception);
658 void AddPreCadEdgesPeriodicityWithVertices(in GEOM::GEOM_Object theEdge1, in GEOM::GEOM_Object theEdge2, in GEOM::ListOfGO theSourceVertices, in GEOM::ListOfGO theTargetVertices) raises (SALOME::SALOME_Exception);
659 void AddPreCadEdgesPeriodicityEntry(in TEntry theEdge1, in TEntry theEdge2, in TEntryList theSourceVertices, in TEntryList theTargetVertices) raises (SALOME::SALOME_Exception);
660 TPeriodicityList GetPreCadFacesPeriodicityVector();
661 TPeriodicityList GetPreCadEdgesPeriodicityVector();
662 ///////////////////////
665 * Sets the file for export resulting mesh in GMF format
667 // void SetGMFFile(in string theFileName, in boolean isBinary);
668 void SetGMFFile(in string theFileName);
670 // boolean GetGMFFileMode();
673 // Obsolete methods - To be removed in V7
675 void SetPhyMin(in double theMinSize);
677 void SetPhyMax(in double theMaxSize);
679 void SetGeoMin(in double theMinSize);
681 void SetGeoMax(in double theMaxSize);
683 void SetAngleMeshS(in double angle);
684 double GetAngleMeshS();
685 void SetAngleMeshC(in double angle);
686 double GetAngleMeshC();
687 void SetDecimesh(in boolean toIgnoreEdges);
688 boolean GetDecimesh();
689 void SetPreCADRemoveNanoEdges(in boolean toRemoveNanoEdges);
690 boolean GetPreCADRemoveNanoEdges();
691 void SetPreCADEpsNano(in double epsNano);
692 double GetPreCADEpsNano();