1 # Copyright (C) 2013-2019 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
19 # This file was automatically generated by SWIG (http://www.swig.org).
22 # Do not make changes to this file unless you know what you are doing--modify
23 # the SWIG interface file instead.
25 from sys import version_info as _swig_python_version_info
26 if _swig_python_version_info >= (2, 7, 0):
27 def swig_import_helper():
29 pkg = __name__.rpartition('.')[0]
30 mname = '.'.join((pkg, '_hexablock_swig')).lstrip('.')
32 return importlib.import_module(mname)
34 return importlib.import_module('_hexablock_swig')
35 _hexablock_swig = swig_import_helper()
36 del swig_import_helper
37 elif _swig_python_version_info >= (2, 6, 0):
38 def swig_import_helper():
39 from os.path import dirname
43 fp, pathname, description = imp.find_module('_hexablock_swig', [dirname(__file__)])
45 import _hexablock_swig
46 return _hexablock_swig
48 _mod = imp.load_module('_hexablock_swig', fp, pathname, description)
53 _hexablock_swig = swig_import_helper()
54 del swig_import_helper
56 import _hexablock_swig
57 del _swig_python_version_info
60 _swig_property = property
62 pass # Python < 2.2 doesn't have 'property'.
65 import builtins as __builtin__
69 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
70 if (name == "thisown"):
71 return self.this.own(value)
73 if type(value).__name__ == 'SwigPyObject':
74 self.__dict__[name] = value
76 method = class_type.__swig_setmethods__.get(name, None)
78 return method(self, value)
81 object.__setattr__(self, name, value)
83 self.__dict__[name] = value
85 raise AttributeError("You cannot add attributes to %s" % self)
88 def _swig_setattr(self, class_type, name, value):
89 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
92 def _swig_getattr(self, class_type, name):
93 if (name == "thisown"):
94 return self.this.own()
95 method = class_type.__swig_getmethods__.get(name, None)
98 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
101 def _swig_repr(self):
103 strthis = "proxy of " + self.this.__repr__()
104 except __builtin__.Exception:
106 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
111 except __builtin__.Exception:
116 class SwigPyIterator(_object):
117 __swig_setmethods__ = {}
118 __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
119 __swig_getmethods__ = {}
120 __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
122 def __init__(self, *args, **kwargs):
123 raise AttributeError("No constructor defined - class is abstract")
124 __repr__ = _swig_repr
125 __swig_destroy__ = _hexablock_swig.delete_SwigPyIterator
126 __del__ = lambda self: None
129 return _hexablock_swig.SwigPyIterator_value(self)
132 return _hexablock_swig.SwigPyIterator_incr(self, n)
135 return _hexablock_swig.SwigPyIterator_decr(self, n)
137 def distance(self, x):
138 return _hexablock_swig.SwigPyIterator_distance(self, x)
141 return _hexablock_swig.SwigPyIterator_equal(self, x)
144 return _hexablock_swig.SwigPyIterator_copy(self)
147 return _hexablock_swig.SwigPyIterator_next(self)
150 return _hexablock_swig.SwigPyIterator___next__(self)
153 return _hexablock_swig.SwigPyIterator_previous(self)
155 def advance(self, n):
156 return _hexablock_swig.SwigPyIterator_advance(self, n)
159 return _hexablock_swig.SwigPyIterator___eq__(self, x)
162 return _hexablock_swig.SwigPyIterator___ne__(self, x)
164 def __iadd__(self, n):
165 return _hexablock_swig.SwigPyIterator___iadd__(self, n)
167 def __isub__(self, n):
168 return _hexablock_swig.SwigPyIterator___isub__(self, n)
170 def __add__(self, n):
171 return _hexablock_swig.SwigPyIterator___add__(self, n)
173 def __sub__(self, *args):
174 return _hexablock_swig.SwigPyIterator___sub__(self, *args)
177 SwigPyIterator_swigregister = _hexablock_swig.SwigPyIterator_swigregister
178 SwigPyIterator_swigregister(SwigPyIterator)
180 class VectorHexas(_object):
181 __swig_setmethods__ = {}
182 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorHexas, name, value)
183 __swig_getmethods__ = {}
184 __getattr__ = lambda self, name: _swig_getattr(self, VectorHexas, name)
185 __repr__ = _swig_repr
188 return _hexablock_swig.VectorHexas_iterator(self)
190 return self.iterator()
192 def __nonzero__(self):
193 return _hexablock_swig.VectorHexas___nonzero__(self)
196 return _hexablock_swig.VectorHexas___bool__(self)
199 return _hexablock_swig.VectorHexas___len__(self)
201 def __getslice__(self, i, j):
202 return _hexablock_swig.VectorHexas___getslice__(self, i, j)
204 def __setslice__(self, *args):
205 return _hexablock_swig.VectorHexas___setslice__(self, *args)
207 def __delslice__(self, i, j):
208 return _hexablock_swig.VectorHexas___delslice__(self, i, j)
210 def __delitem__(self, *args):
211 return _hexablock_swig.VectorHexas___delitem__(self, *args)
213 def __getitem__(self, *args):
214 return _hexablock_swig.VectorHexas___getitem__(self, *args)
216 def __setitem__(self, *args):
217 return _hexablock_swig.VectorHexas___setitem__(self, *args)
220 return _hexablock_swig.VectorHexas_pop(self)
223 return _hexablock_swig.VectorHexas_append(self, x)
226 return _hexablock_swig.VectorHexas_empty(self)
229 return _hexablock_swig.VectorHexas_size(self)
232 return _hexablock_swig.VectorHexas_swap(self, v)
235 return _hexablock_swig.VectorHexas_begin(self)
238 return _hexablock_swig.VectorHexas_end(self)
241 return _hexablock_swig.VectorHexas_rbegin(self)
244 return _hexablock_swig.VectorHexas_rend(self)
247 return _hexablock_swig.VectorHexas_clear(self)
249 def get_allocator(self):
250 return _hexablock_swig.VectorHexas_get_allocator(self)
253 return _hexablock_swig.VectorHexas_pop_back(self)
255 def erase(self, *args):
256 return _hexablock_swig.VectorHexas_erase(self, *args)
258 def __init__(self, *args):
259 this = _hexablock_swig.new_VectorHexas(*args)
261 self.this.append(this)
262 except __builtin__.Exception:
265 def push_back(self, x):
266 return _hexablock_swig.VectorHexas_push_back(self, x)
269 return _hexablock_swig.VectorHexas_front(self)
272 return _hexablock_swig.VectorHexas_back(self)
274 def assign(self, n, x):
275 return _hexablock_swig.VectorHexas_assign(self, n, x)
277 def resize(self, *args):
278 return _hexablock_swig.VectorHexas_resize(self, *args)
280 def insert(self, *args):
281 return _hexablock_swig.VectorHexas_insert(self, *args)
283 def reserve(self, n):
284 return _hexablock_swig.VectorHexas_reserve(self, n)
287 return _hexablock_swig.VectorHexas_capacity(self)
288 __swig_destroy__ = _hexablock_swig.delete_VectorHexas
289 __del__ = lambda self: None
290 VectorHexas_swigregister = _hexablock_swig.VectorHexas_swigregister
291 VectorHexas_swigregister(VectorHexas)
293 class VectorQuads(_object):
294 __swig_setmethods__ = {}
295 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorQuads, name, value)
296 __swig_getmethods__ = {}
297 __getattr__ = lambda self, name: _swig_getattr(self, VectorQuads, name)
298 __repr__ = _swig_repr
301 return _hexablock_swig.VectorQuads_iterator(self)
303 return self.iterator()
305 def __nonzero__(self):
306 return _hexablock_swig.VectorQuads___nonzero__(self)
309 return _hexablock_swig.VectorQuads___bool__(self)
312 return _hexablock_swig.VectorQuads___len__(self)
314 def __getslice__(self, i, j):
315 return _hexablock_swig.VectorQuads___getslice__(self, i, j)
317 def __setslice__(self, *args):
318 return _hexablock_swig.VectorQuads___setslice__(self, *args)
320 def __delslice__(self, i, j):
321 return _hexablock_swig.VectorQuads___delslice__(self, i, j)
323 def __delitem__(self, *args):
324 return _hexablock_swig.VectorQuads___delitem__(self, *args)
326 def __getitem__(self, *args):
327 return _hexablock_swig.VectorQuads___getitem__(self, *args)
329 def __setitem__(self, *args):
330 return _hexablock_swig.VectorQuads___setitem__(self, *args)
333 return _hexablock_swig.VectorQuads_pop(self)
336 return _hexablock_swig.VectorQuads_append(self, x)
339 return _hexablock_swig.VectorQuads_empty(self)
342 return _hexablock_swig.VectorQuads_size(self)
345 return _hexablock_swig.VectorQuads_swap(self, v)
348 return _hexablock_swig.VectorQuads_begin(self)
351 return _hexablock_swig.VectorQuads_end(self)
354 return _hexablock_swig.VectorQuads_rbegin(self)
357 return _hexablock_swig.VectorQuads_rend(self)
360 return _hexablock_swig.VectorQuads_clear(self)
362 def get_allocator(self):
363 return _hexablock_swig.VectorQuads_get_allocator(self)
366 return _hexablock_swig.VectorQuads_pop_back(self)
368 def erase(self, *args):
369 return _hexablock_swig.VectorQuads_erase(self, *args)
371 def __init__(self, *args):
372 this = _hexablock_swig.new_VectorQuads(*args)
374 self.this.append(this)
375 except __builtin__.Exception:
378 def push_back(self, x):
379 return _hexablock_swig.VectorQuads_push_back(self, x)
382 return _hexablock_swig.VectorQuads_front(self)
385 return _hexablock_swig.VectorQuads_back(self)
387 def assign(self, n, x):
388 return _hexablock_swig.VectorQuads_assign(self, n, x)
390 def resize(self, *args):
391 return _hexablock_swig.VectorQuads_resize(self, *args)
393 def insert(self, *args):
394 return _hexablock_swig.VectorQuads_insert(self, *args)
396 def reserve(self, n):
397 return _hexablock_swig.VectorQuads_reserve(self, n)
400 return _hexablock_swig.VectorQuads_capacity(self)
401 __swig_destroy__ = _hexablock_swig.delete_VectorQuads
402 __del__ = lambda self: None
403 VectorQuads_swigregister = _hexablock_swig.VectorQuads_swigregister
404 VectorQuads_swigregister(VectorQuads)
406 class VectorEdges(_object):
407 __swig_setmethods__ = {}
408 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorEdges, name, value)
409 __swig_getmethods__ = {}
410 __getattr__ = lambda self, name: _swig_getattr(self, VectorEdges, name)
411 __repr__ = _swig_repr
414 return _hexablock_swig.VectorEdges_iterator(self)
416 return self.iterator()
418 def __nonzero__(self):
419 return _hexablock_swig.VectorEdges___nonzero__(self)
422 return _hexablock_swig.VectorEdges___bool__(self)
425 return _hexablock_swig.VectorEdges___len__(self)
427 def __getslice__(self, i, j):
428 return _hexablock_swig.VectorEdges___getslice__(self, i, j)
430 def __setslice__(self, *args):
431 return _hexablock_swig.VectorEdges___setslice__(self, *args)
433 def __delslice__(self, i, j):
434 return _hexablock_swig.VectorEdges___delslice__(self, i, j)
436 def __delitem__(self, *args):
437 return _hexablock_swig.VectorEdges___delitem__(self, *args)
439 def __getitem__(self, *args):
440 return _hexablock_swig.VectorEdges___getitem__(self, *args)
442 def __setitem__(self, *args):
443 return _hexablock_swig.VectorEdges___setitem__(self, *args)
446 return _hexablock_swig.VectorEdges_pop(self)
449 return _hexablock_swig.VectorEdges_append(self, x)
452 return _hexablock_swig.VectorEdges_empty(self)
455 return _hexablock_swig.VectorEdges_size(self)
458 return _hexablock_swig.VectorEdges_swap(self, v)
461 return _hexablock_swig.VectorEdges_begin(self)
464 return _hexablock_swig.VectorEdges_end(self)
467 return _hexablock_swig.VectorEdges_rbegin(self)
470 return _hexablock_swig.VectorEdges_rend(self)
473 return _hexablock_swig.VectorEdges_clear(self)
475 def get_allocator(self):
476 return _hexablock_swig.VectorEdges_get_allocator(self)
479 return _hexablock_swig.VectorEdges_pop_back(self)
481 def erase(self, *args):
482 return _hexablock_swig.VectorEdges_erase(self, *args)
484 def __init__(self, *args):
485 this = _hexablock_swig.new_VectorEdges(*args)
487 self.this.append(this)
488 except __builtin__.Exception:
491 def push_back(self, x):
492 return _hexablock_swig.VectorEdges_push_back(self, x)
495 return _hexablock_swig.VectorEdges_front(self)
498 return _hexablock_swig.VectorEdges_back(self)
500 def assign(self, n, x):
501 return _hexablock_swig.VectorEdges_assign(self, n, x)
503 def resize(self, *args):
504 return _hexablock_swig.VectorEdges_resize(self, *args)
506 def insert(self, *args):
507 return _hexablock_swig.VectorEdges_insert(self, *args)
509 def reserve(self, n):
510 return _hexablock_swig.VectorEdges_reserve(self, n)
513 return _hexablock_swig.VectorEdges_capacity(self)
514 __swig_destroy__ = _hexablock_swig.delete_VectorEdges
515 __del__ = lambda self: None
516 VectorEdges_swigregister = _hexablock_swig.VectorEdges_swigregister
517 VectorEdges_swigregister(VectorEdges)
519 class VectorVertices(_object):
520 __swig_setmethods__ = {}
521 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorVertices, name, value)
522 __swig_getmethods__ = {}
523 __getattr__ = lambda self, name: _swig_getattr(self, VectorVertices, name)
524 __repr__ = _swig_repr
527 return _hexablock_swig.VectorVertices_iterator(self)
529 return self.iterator()
531 def __nonzero__(self):
532 return _hexablock_swig.VectorVertices___nonzero__(self)
535 return _hexablock_swig.VectorVertices___bool__(self)
538 return _hexablock_swig.VectorVertices___len__(self)
540 def __getslice__(self, i, j):
541 return _hexablock_swig.VectorVertices___getslice__(self, i, j)
543 def __setslice__(self, *args):
544 return _hexablock_swig.VectorVertices___setslice__(self, *args)
546 def __delslice__(self, i, j):
547 return _hexablock_swig.VectorVertices___delslice__(self, i, j)
549 def __delitem__(self, *args):
550 return _hexablock_swig.VectorVertices___delitem__(self, *args)
552 def __getitem__(self, *args):
553 return _hexablock_swig.VectorVertices___getitem__(self, *args)
555 def __setitem__(self, *args):
556 return _hexablock_swig.VectorVertices___setitem__(self, *args)
559 return _hexablock_swig.VectorVertices_pop(self)
562 return _hexablock_swig.VectorVertices_append(self, x)
565 return _hexablock_swig.VectorVertices_empty(self)
568 return _hexablock_swig.VectorVertices_size(self)
571 return _hexablock_swig.VectorVertices_swap(self, v)
574 return _hexablock_swig.VectorVertices_begin(self)
577 return _hexablock_swig.VectorVertices_end(self)
580 return _hexablock_swig.VectorVertices_rbegin(self)
583 return _hexablock_swig.VectorVertices_rend(self)
586 return _hexablock_swig.VectorVertices_clear(self)
588 def get_allocator(self):
589 return _hexablock_swig.VectorVertices_get_allocator(self)
592 return _hexablock_swig.VectorVertices_pop_back(self)
594 def erase(self, *args):
595 return _hexablock_swig.VectorVertices_erase(self, *args)
597 def __init__(self, *args):
598 this = _hexablock_swig.new_VectorVertices(*args)
600 self.this.append(this)
601 except __builtin__.Exception:
604 def push_back(self, x):
605 return _hexablock_swig.VectorVertices_push_back(self, x)
608 return _hexablock_swig.VectorVertices_front(self)
611 return _hexablock_swig.VectorVertices_back(self)
613 def assign(self, n, x):
614 return _hexablock_swig.VectorVertices_assign(self, n, x)
616 def resize(self, *args):
617 return _hexablock_swig.VectorVertices_resize(self, *args)
619 def insert(self, *args):
620 return _hexablock_swig.VectorVertices_insert(self, *args)
622 def reserve(self, n):
623 return _hexablock_swig.VectorVertices_reserve(self, n)
626 return _hexablock_swig.VectorVertices_capacity(self)
627 __swig_destroy__ = _hexablock_swig.delete_VectorVertices
628 __del__ = lambda self: None
629 VectorVertices_swigregister = _hexablock_swig.VectorVertices_swigregister
630 VectorVertices_swigregister(VectorVertices)
632 class VectorShapes(_object):
633 __swig_setmethods__ = {}
634 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorShapes, name, value)
635 __swig_getmethods__ = {}
636 __getattr__ = lambda self, name: _swig_getattr(self, VectorShapes, name)
637 __repr__ = _swig_repr
640 return _hexablock_swig.VectorShapes_iterator(self)
642 return self.iterator()
644 def __nonzero__(self):
645 return _hexablock_swig.VectorShapes___nonzero__(self)
648 return _hexablock_swig.VectorShapes___bool__(self)
651 return _hexablock_swig.VectorShapes___len__(self)
653 def __getslice__(self, i, j):
654 return _hexablock_swig.VectorShapes___getslice__(self, i, j)
656 def __setslice__(self, *args):
657 return _hexablock_swig.VectorShapes___setslice__(self, *args)
659 def __delslice__(self, i, j):
660 return _hexablock_swig.VectorShapes___delslice__(self, i, j)
662 def __delitem__(self, *args):
663 return _hexablock_swig.VectorShapes___delitem__(self, *args)
665 def __getitem__(self, *args):
666 return _hexablock_swig.VectorShapes___getitem__(self, *args)
668 def __setitem__(self, *args):
669 return _hexablock_swig.VectorShapes___setitem__(self, *args)
672 return _hexablock_swig.VectorShapes_pop(self)
675 return _hexablock_swig.VectorShapes_append(self, x)
678 return _hexablock_swig.VectorShapes_empty(self)
681 return _hexablock_swig.VectorShapes_size(self)
684 return _hexablock_swig.VectorShapes_swap(self, v)
687 return _hexablock_swig.VectorShapes_begin(self)
690 return _hexablock_swig.VectorShapes_end(self)
693 return _hexablock_swig.VectorShapes_rbegin(self)
696 return _hexablock_swig.VectorShapes_rend(self)
699 return _hexablock_swig.VectorShapes_clear(self)
701 def get_allocator(self):
702 return _hexablock_swig.VectorShapes_get_allocator(self)
705 return _hexablock_swig.VectorShapes_pop_back(self)
707 def erase(self, *args):
708 return _hexablock_swig.VectorShapes_erase(self, *args)
710 def __init__(self, *args):
711 this = _hexablock_swig.new_VectorShapes(*args)
713 self.this.append(this)
714 except __builtin__.Exception:
717 def push_back(self, x):
718 return _hexablock_swig.VectorShapes_push_back(self, x)
721 return _hexablock_swig.VectorShapes_front(self)
724 return _hexablock_swig.VectorShapes_back(self)
726 def assign(self, n, x):
727 return _hexablock_swig.VectorShapes_assign(self, n, x)
729 def resize(self, *args):
730 return _hexablock_swig.VectorShapes_resize(self, *args)
732 def insert(self, *args):
733 return _hexablock_swig.VectorShapes_insert(self, *args)
735 def reserve(self, n):
736 return _hexablock_swig.VectorShapes_reserve(self, n)
739 return _hexablock_swig.VectorShapes_capacity(self)
740 __swig_destroy__ = _hexablock_swig.delete_VectorShapes
741 __del__ = lambda self: None
742 VectorShapes_swigregister = _hexablock_swig.VectorShapes_swigregister
743 VectorShapes_swigregister(VectorShapes)
745 class VectorReal(_object):
746 __swig_setmethods__ = {}
747 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorReal, name, value)
748 __swig_getmethods__ = {}
749 __getattr__ = lambda self, name: _swig_getattr(self, VectorReal, name)
750 __repr__ = _swig_repr
753 return _hexablock_swig.VectorReal_iterator(self)
755 return self.iterator()
757 def __nonzero__(self):
758 return _hexablock_swig.VectorReal___nonzero__(self)
761 return _hexablock_swig.VectorReal___bool__(self)
764 return _hexablock_swig.VectorReal___len__(self)
766 def __getslice__(self, i, j):
767 return _hexablock_swig.VectorReal___getslice__(self, i, j)
769 def __setslice__(self, *args):
770 return _hexablock_swig.VectorReal___setslice__(self, *args)
772 def __delslice__(self, i, j):
773 return _hexablock_swig.VectorReal___delslice__(self, i, j)
775 def __delitem__(self, *args):
776 return _hexablock_swig.VectorReal___delitem__(self, *args)
778 def __getitem__(self, *args):
779 return _hexablock_swig.VectorReal___getitem__(self, *args)
781 def __setitem__(self, *args):
782 return _hexablock_swig.VectorReal___setitem__(self, *args)
785 return _hexablock_swig.VectorReal_pop(self)
788 return _hexablock_swig.VectorReal_append(self, x)
791 return _hexablock_swig.VectorReal_empty(self)
794 return _hexablock_swig.VectorReal_size(self)
797 return _hexablock_swig.VectorReal_swap(self, v)
800 return _hexablock_swig.VectorReal_begin(self)
803 return _hexablock_swig.VectorReal_end(self)
806 return _hexablock_swig.VectorReal_rbegin(self)
809 return _hexablock_swig.VectorReal_rend(self)
812 return _hexablock_swig.VectorReal_clear(self)
814 def get_allocator(self):
815 return _hexablock_swig.VectorReal_get_allocator(self)
818 return _hexablock_swig.VectorReal_pop_back(self)
820 def erase(self, *args):
821 return _hexablock_swig.VectorReal_erase(self, *args)
823 def __init__(self, *args):
824 this = _hexablock_swig.new_VectorReal(*args)
826 self.this.append(this)
827 except __builtin__.Exception:
830 def push_back(self, x):
831 return _hexablock_swig.VectorReal_push_back(self, x)
834 return _hexablock_swig.VectorReal_front(self)
837 return _hexablock_swig.VectorReal_back(self)
839 def assign(self, n, x):
840 return _hexablock_swig.VectorReal_assign(self, n, x)
842 def resize(self, *args):
843 return _hexablock_swig.VectorReal_resize(self, *args)
845 def insert(self, *args):
846 return _hexablock_swig.VectorReal_insert(self, *args)
848 def reserve(self, n):
849 return _hexablock_swig.VectorReal_reserve(self, n)
852 return _hexablock_swig.VectorReal_capacity(self)
853 __swig_destroy__ = _hexablock_swig.delete_VectorReal
854 __del__ = lambda self: None
855 VectorReal_swigregister = _hexablock_swig.VectorReal_swigregister
856 VectorReal_swigregister(VectorReal)
858 class VectorInt(_object):
859 __swig_setmethods__ = {}
860 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInt, name, value)
861 __swig_getmethods__ = {}
862 __getattr__ = lambda self, name: _swig_getattr(self, VectorInt, name)
863 __repr__ = _swig_repr
866 return _hexablock_swig.VectorInt_iterator(self)
868 return self.iterator()
870 def __nonzero__(self):
871 return _hexablock_swig.VectorInt___nonzero__(self)
874 return _hexablock_swig.VectorInt___bool__(self)
877 return _hexablock_swig.VectorInt___len__(self)
879 def __getslice__(self, i, j):
880 return _hexablock_swig.VectorInt___getslice__(self, i, j)
882 def __setslice__(self, *args):
883 return _hexablock_swig.VectorInt___setslice__(self, *args)
885 def __delslice__(self, i, j):
886 return _hexablock_swig.VectorInt___delslice__(self, i, j)
888 def __delitem__(self, *args):
889 return _hexablock_swig.VectorInt___delitem__(self, *args)
891 def __getitem__(self, *args):
892 return _hexablock_swig.VectorInt___getitem__(self, *args)
894 def __setitem__(self, *args):
895 return _hexablock_swig.VectorInt___setitem__(self, *args)
898 return _hexablock_swig.VectorInt_pop(self)
901 return _hexablock_swig.VectorInt_append(self, x)
904 return _hexablock_swig.VectorInt_empty(self)
907 return _hexablock_swig.VectorInt_size(self)
910 return _hexablock_swig.VectorInt_swap(self, v)
913 return _hexablock_swig.VectorInt_begin(self)
916 return _hexablock_swig.VectorInt_end(self)
919 return _hexablock_swig.VectorInt_rbegin(self)
922 return _hexablock_swig.VectorInt_rend(self)
925 return _hexablock_swig.VectorInt_clear(self)
927 def get_allocator(self):
928 return _hexablock_swig.VectorInt_get_allocator(self)
931 return _hexablock_swig.VectorInt_pop_back(self)
933 def erase(self, *args):
934 return _hexablock_swig.VectorInt_erase(self, *args)
936 def __init__(self, *args):
937 this = _hexablock_swig.new_VectorInt(*args)
939 self.this.append(this)
940 except __builtin__.Exception:
943 def push_back(self, x):
944 return _hexablock_swig.VectorInt_push_back(self, x)
947 return _hexablock_swig.VectorInt_front(self)
950 return _hexablock_swig.VectorInt_back(self)
952 def assign(self, n, x):
953 return _hexablock_swig.VectorInt_assign(self, n, x)
955 def resize(self, *args):
956 return _hexablock_swig.VectorInt_resize(self, *args)
958 def insert(self, *args):
959 return _hexablock_swig.VectorInt_insert(self, *args)
961 def reserve(self, n):
962 return _hexablock_swig.VectorInt_reserve(self, n)
965 return _hexablock_swig.VectorInt_capacity(self)
966 __swig_destroy__ = _hexablock_swig.delete_VectorInt
967 __del__ = lambda self: None
968 VectorInt_swigregister = _hexablock_swig.VectorInt_swigregister
969 VectorInt_swigregister(VectorInt)
971 DumpActif = _hexablock_swig.DumpActif
972 HOK = _hexablock_swig.HOK
973 HERR = _hexablock_swig.HERR
974 NOTHING = _hexablock_swig.NOTHING
975 EOL = _hexablock_swig.EOL
976 EOS = _hexablock_swig.EOS
977 CHVIDE = _hexablock_swig.CHVIDE
978 ZEROR = _hexablock_swig.ZEROR
979 UNR = _hexablock_swig.UNR
980 DEMI = _hexablock_swig.DEMI
981 DIM2 = _hexablock_swig.DIM2
982 M_PI = _hexablock_swig.M_PI
983 Degre2Radian = _hexablock_swig.Degre2Radian
984 dir_x = _hexablock_swig.dir_x
985 dir_y = _hexablock_swig.dir_y
986 dir_z = _hexablock_swig.dir_z
987 DIM3 = _hexablock_swig.DIM3
988 EL_NONE = _hexablock_swig.EL_NONE
989 EL_VERTEX = _hexablock_swig.EL_VERTEX
990 EL_EDGE = _hexablock_swig.EL_EDGE
991 EL_QUAD = _hexablock_swig.EL_QUAD
992 EL_HEXA = _hexablock_swig.EL_HEXA
993 EL_VECTOR = _hexablock_swig.EL_VECTOR
994 EL_GRID = _hexablock_swig.EL_GRID
995 EL_CYLINDER = _hexablock_swig.EL_CYLINDER
996 EL_PIPE = _hexablock_swig.EL_PIPE
997 EL_GROUP = _hexablock_swig.EL_GROUP
998 EL_LAW = _hexablock_swig.EL_LAW
999 EL_SHAPE = _hexablock_swig.EL_SHAPE
1000 EL_SUBSHAPE = _hexablock_swig.EL_SUBSHAPE
1001 EL_PROPAGATION = _hexablock_swig.EL_PROPAGATION
1002 EL_DOCU = _hexablock_swig.EL_DOCU
1003 EL_REMOVED = _hexablock_swig.EL_REMOVED
1004 EL_MAXI = _hexablock_swig.EL_MAXI
1005 HexaCell = _hexablock_swig.HexaCell
1006 QuadCell = _hexablock_swig.QuadCell
1007 EdgeCell = _hexablock_swig.EdgeCell
1008 HexaNode = _hexablock_swig.HexaNode
1009 QuadNode = _hexablock_swig.QuadNode
1010 EdgeNode = _hexablock_swig.EdgeNode
1011 VertexNode = _hexablock_swig.VertexNode
1012 SH_NONE = _hexablock_swig.SH_NONE
1013 SH_IMPORT = _hexablock_swig.SH_IMPORT
1014 SH_CYLINDER = _hexablock_swig.SH_CYLINDER
1015 SH_INTER = _hexablock_swig.SH_INTER
1016 SH_SPHERE = _hexablock_swig.SH_SPHERE
1017 SH_CLOUD = _hexablock_swig.SH_CLOUD
1018 SH_EXTRUD = _hexablock_swig.SH_EXTRUD
1019 CYL_NOFILL = _hexablock_swig.CYL_NOFILL
1020 CYL_CL4 = _hexablock_swig.CYL_CL4
1021 CYL_CL6 = _hexablock_swig.CYL_CL6
1022 CYL_CLOSED = _hexablock_swig.CYL_CLOSED
1023 CYL_PEER = _hexablock_swig.CYL_PEER
1024 CYL_ODD = _hexablock_swig.CYL_ODD
1025 GR_NONE = _hexablock_swig.GR_NONE
1026 GR_CARTESIAN = _hexablock_swig.GR_CARTESIAN
1027 GR_CYLINDRIC = _hexablock_swig.GR_CYLINDRIC
1028 GR_SPHERIC = _hexablock_swig.GR_SPHERIC
1029 GR_JOINT = _hexablock_swig.GR_JOINT
1030 GR_BICYL = _hexablock_swig.GR_BICYL
1031 GR_BIPIPE = _hexablock_swig.GR_BIPIPE
1032 GR_REPLACE = _hexablock_swig.GR_REPLACE
1033 GR_HEMISPHERIC = _hexablock_swig.GR_HEMISPHERIC
1034 GR_RIND = _hexablock_swig.GR_RIND
1035 GR_PART_SPHERIC = _hexablock_swig.GR_PART_SPHERIC
1036 GR_PART_RIND = _hexablock_swig.GR_PART_RIND
1037 S_E = _hexablock_swig.S_E
1038 S_NE = _hexablock_swig.S_NE
1039 S_N = _hexablock_swig.S_N
1040 S_NW = _hexablock_swig.S_NW
1041 S_W = _hexablock_swig.S_W
1042 S_SW = _hexablock_swig.S_SW
1043 S_S = _hexablock_swig.S_S
1044 S_SE = _hexablock_swig.S_SE
1045 S_MAXI = _hexablock_swig.S_MAXI
1046 Uniform = _hexablock_swig.Uniform
1047 Arithmetic = _hexablock_swig.Arithmetic
1048 Geometric = _hexablock_swig.Geometric
1049 OR_FRONT = _hexablock_swig.OR_FRONT
1050 OR_LEFT = _hexablock_swig.OR_LEFT
1051 OR_RIGHT = _hexablock_swig.OR_RIGHT
1052 OR_BACK = _hexablock_swig.OR_BACK
1053 IS_NONE = _hexablock_swig.IS_NONE
1054 IS_MARRIED = _hexablock_swig.IS_MARRIED
1055 NO_COUNTED = _hexablock_swig.NO_COUNTED
1056 NO_USED = _hexablock_swig.NO_USED
1057 IS_USED = _hexablock_swig.IS_USED
1058 V_AMONT = _hexablock_swig.V_AMONT
1059 V_AVAL = _hexablock_swig.V_AVAL
1060 V_TWO = _hexablock_swig.V_TWO
1061 E_A = _hexablock_swig.E_A
1062 E_B = _hexablock_swig.E_B
1063 E_C = _hexablock_swig.E_C
1064 E_D = _hexablock_swig.E_D
1065 QUAD4 = _hexablock_swig.QUAD4
1066 Q_A = _hexablock_swig.Q_A
1067 Q_B = _hexablock_swig.Q_B
1068 Q_C = _hexablock_swig.Q_C
1069 Q_D = _hexablock_swig.Q_D
1070 Q_E = _hexablock_swig.Q_E
1071 Q_F = _hexablock_swig.Q_F
1072 HQ_MAXI = _hexablock_swig.HQ_MAXI
1073 E_AC = _hexablock_swig.E_AC
1074 E_AD = _hexablock_swig.E_AD
1075 E_BC = _hexablock_swig.E_BC
1076 E_BD = _hexablock_swig.E_BD
1077 E_AE = _hexablock_swig.E_AE
1078 E_AF = _hexablock_swig.E_AF
1079 E_BE = _hexablock_swig.E_BE
1080 E_BF = _hexablock_swig.E_BF
1081 E_CE = _hexablock_swig.E_CE
1082 E_CF = _hexablock_swig.E_CF
1083 E_DE = _hexablock_swig.E_DE
1084 E_DF = _hexablock_swig.E_DF
1085 HE_MAXI = _hexablock_swig.HE_MAXI
1086 V_ACE = _hexablock_swig.V_ACE
1087 V_ACF = _hexablock_swig.V_ACF
1088 V_ADE = _hexablock_swig.V_ADE
1089 V_ADF = _hexablock_swig.V_ADF
1090 V_BCE = _hexablock_swig.V_BCE
1091 V_BCF = _hexablock_swig.V_BCF
1092 V_BDE = _hexablock_swig.V_BDE
1093 V_BDF = _hexablock_swig.V_BDF
1094 HV_MAXI = _hexablock_swig.HV_MAXI
1095 Q_INSIDE = _hexablock_swig.Q_INSIDE
1096 Q_DIRECT = _hexablock_swig.Q_DIRECT
1097 Q_INVERSE = _hexablock_swig.Q_INVERSE
1098 Q_UNDEFINED = _hexablock_swig.Q_UNDEFINED
1099 Q_WAITING = _hexablock_swig.Q_WAITING
1100 KS_Line = _hexablock_swig.KS_Line
1101 KS_Circle = _hexablock_swig.KS_Circle
1102 KS_Ellipse = _hexablock_swig.KS_Ellipse
1103 KS_Hyperbola = _hexablock_swig.KS_Hyperbola
1104 KS_Parabola = _hexablock_swig.KS_Parabola
1105 KS_BezierCurve = _hexablock_swig.KS_BezierCurve
1106 KS_BSplineCurve = _hexablock_swig.KS_BSplineCurve
1107 KS_OtherCurve = _hexablock_swig.KS_OtherCurve
1108 KS_None = _hexablock_swig.KS_None
1109 CylSmall = _hexablock_swig.CylSmall
1110 CylBig = _hexablock_swig.CylBig
1111 NxInt = _hexablock_swig.NxInt
1112 NxExt = _hexablock_swig.NxExt
1114 def get_temp_name(format, nomfic):
1115 return _hexablock_swig.get_temp_name(format, nomfic)
1116 get_temp_name = _hexablock_swig.get_temp_name
1118 def fatal_error(format, info1=None, info2=None):
1119 return _hexablock_swig.fatal_error(format, info1, info2)
1120 fatal_error = _hexablock_swig.fatal_error
1122 def prod_scalaire(v1, v2):
1123 return _hexablock_swig.prod_scalaire(v1, v2)
1124 prod_scalaire = _hexablock_swig.prod_scalaire
1126 def prod_vectoriel(v1, v2, v3):
1127 return _hexablock_swig.prod_vectoriel(v1, v2, v3)
1128 prod_vectoriel = _hexablock_swig.prod_vectoriel
1130 def prod_mixte(vi, vj, vk):
1131 return _hexablock_swig.prod_mixte(vi, vj, vk)
1132 prod_mixte = _hexablock_swig.prod_mixte
1134 def deg2radians(angle):
1135 return _hexablock_swig.deg2radians(angle)
1136 deg2radians = _hexablock_swig.deg2radians
1138 def rad2degres(angle):
1139 return _hexablock_swig.rad2degres(angle)
1140 rad2degres = _hexablock_swig.rad2degres
1143 return _hexablock_swig.calc_norme(v1)
1144 calc_norme = _hexablock_swig.calc_norme
1146 def calc_distance(v1, v2):
1147 return _hexablock_swig.calc_distance(v1, v2)
1148 calc_distance = _hexablock_swig.calc_distance
1150 def calc_d2(v1, v2):
1151 return _hexablock_swig.calc_d2(v1, v2)
1152 calc_d2 = _hexablock_swig.calc_d2
1154 def calc_vecteur(pta, ptb, vab):
1155 return _hexablock_swig.calc_vecteur(pta, ptb, vab)
1156 calc_vecteur = _hexablock_swig.calc_vecteur
1158 def copy_vecteur(va, vb):
1159 return _hexablock_swig.copy_vecteur(va, vb)
1160 copy_vecteur = _hexablock_swig.copy_vecteur
1162 def calc_milieu(pta, ptb, milieu):
1163 return _hexablock_swig.calc_milieu(pta, ptb, milieu)
1164 calc_milieu = _hexablock_swig.calc_milieu
1166 def normer_vecteur(v1):
1167 return _hexablock_swig.normer_vecteur(v1)
1168 normer_vecteur = _hexablock_swig.normer_vecteur
1171 return _hexablock_swig.carre(val)
1172 carre = _hexablock_swig.carre
1174 def same_coords(pa, pb, epsilon=1e-6):
1175 return _hexablock_swig.same_coords(pa, pb, epsilon)
1176 same_coords = _hexablock_swig.same_coords
1179 return _hexablock_swig.requals(*args)
1180 requals = _hexablock_swig.requals
1183 return _hexablock_swig.on_debug()
1184 on_debug = _hexablock_swig.on_debug
1187 return _hexablock_swig.in_test()
1188 in_test = _hexablock_swig.in_test
1191 return _hexablock_swig.niv_debug()
1192 niv_debug = _hexablock_swig.niv_debug
1194 def set_minus(chaine):
1195 return _hexablock_swig.set_minus(chaine)
1196 set_minus = _hexablock_swig.set_minus
1198 def special_option():
1199 return _hexablock_swig.special_option()
1200 special_option = _hexablock_swig.special_option
1202 def set_special_option(opt):
1203 return _hexablock_swig.set_special_option(opt)
1204 set_special_option = _hexablock_swig.set_special_option
1206 def sizeof_file(filename):
1207 return _hexablock_swig.sizeof_file(filename)
1208 sizeof_file = _hexablock_swig.sizeof_file
1210 def read_file(filename, size):
1211 return _hexablock_swig.read_file(filename, size)
1212 read_file = _hexablock_swig.read_file
1214 def get_time(buffer):
1215 return _hexablock_swig.get_time(buffer)
1216 get_time = _hexablock_swig.get_time
1218 def make_basename(filename, base):
1219 return _hexablock_swig.make_basename(filename, base)
1220 make_basename = _hexablock_swig.make_basename
1221 class EltBase(_object):
1222 __swig_setmethods__ = {}
1223 __setattr__ = lambda self, name, value: _swig_setattr(self, EltBase, name, value)
1224 __swig_getmethods__ = {}
1225 __getattr__ = lambda self, name: _swig_getattr(self, EltBase, name)
1226 __repr__ = _swig_repr
1228 def countHexa(self):
1229 return _hexablock_swig.EltBase_countHexa(self)
1231 def countQuad(self):
1232 return _hexablock_swig.EltBase_countQuad(self)
1234 def countEdge(self):
1235 return _hexablock_swig.EltBase_countEdge(self)
1237 def countVertex(self):
1238 return _hexablock_swig.EltBase_countVertex(self)
1240 def setError(self, kod=1):
1241 return _hexablock_swig.EltBase_setError(self, kod)
1244 return _hexablock_swig.EltBase_getError(self)
1247 return _hexablock_swig.EltBase_isValid(self)
1250 return _hexablock_swig.EltBase_isBad(self)
1252 def duplicate(self):
1253 return _hexablock_swig.EltBase_duplicate(self)
1255 def clearAssociation(self):
1256 return _hexablock_swig.EltBase_clearAssociation(self)
1258 def replaceEdge(self, old, nouveau):
1259 return _hexablock_swig.EltBase_replaceEdge(self, old, nouveau)
1261 def replaceVertex(self, old, nouveau):
1262 return _hexablock_swig.EltBase_replaceVertex(self, old, nouveau)
1264 def __init__(self, *args):
1265 this = _hexablock_swig.new_EltBase(*args)
1267 self.this.append(this)
1268 except __builtin__.Exception:
1270 __swig_destroy__ = _hexablock_swig.delete_EltBase
1271 __del__ = lambda self: None
1274 return _hexablock_swig.EltBase_remove(self)
1277 return _hexablock_swig.EltBase_suppress(self)
1280 return _hexablock_swig.EltBase_dump(self)
1282 def saveXml(self, xml):
1283 return _hexablock_swig.EltBase_saveXml(self, xml)
1285 def majReferences(self):
1286 return _hexablock_swig.EltBase_majReferences(self)
1288 def makeVarName(self, nom):
1289 return _hexablock_swig.EltBase_makeVarName(self, nom)
1291 makeName = staticmethod(_hexablock_swig.EltBase_makeName)
1293 makeName = _hexablock_swig.EltBase_makeName
1296 return _hexablock_swig.EltBase_next(self)
1298 def setNext(self, suivant):
1299 return _hexablock_swig.EltBase_setNext(self, suivant)
1302 return _hexablock_swig.EltBase_getId(self)
1304 def setId(self, ln):
1305 return _hexablock_swig.EltBase_setId(self, ln)
1308 return _hexablock_swig.EltBase_dad(self)
1311 return _hexablock_swig.EltBase_getType(self)
1314 return _hexablock_swig.EltBase_isHere(self)
1316 def isDeleted(self):
1317 return _hexablock_swig.EltBase_isDeleted(self)
1319 def razReferences(self):
1320 return _hexablock_swig.EltBase_razReferences(self)
1322 def addParent(self, dad):
1323 return _hexablock_swig.EltBase_addParent(self, dad)
1325 def getNbrParents(self):
1326 return _hexablock_swig.EltBase_getNbrParents(self)
1328 def hasParents(self):
1329 return _hexablock_swig.EltBase_hasParents(self)
1331 def getFather(self, nro):
1332 return _hexablock_swig.EltBase_getFather(self, nro)
1335 return _hexablock_swig.EltBase_getMark(self)
1337 def setMark(self, ln):
1338 return _hexablock_swig.EltBase_setMark(self, ln)
1340 def printName(self, *args):
1341 return _hexablock_swig.EltBase_printName(self, *args)
1344 return _hexablock_swig.EltBase_dumpRef(self)
1346 def getName(self, *args):
1347 return _hexablock_swig.EltBase_getName(self, *args)
1349 def setName(self, *args):
1350 return _hexablock_swig.EltBase_setName(self, *args)
1352 def debug(self, niv=0):
1353 return _hexablock_swig.EltBase_debug(self, niv)
1355 def isAssociated(self):
1356 return _hexablock_swig.EltBase_isAssociated(self)
1358 def getNextName(self):
1359 return _hexablock_swig.EltBase_getNextName(self)
1360 EltBase_swigregister = _hexablock_swig.EltBase_swigregister
1361 EltBase_swigregister(EltBase)
1362 cvar = _hexablock_swig.cvar
1363 ABR_TYPES = cvar.ABR_TYPES
1365 UnEpsil = cvar.UnEpsil
1366 Epsil2 = cvar.Epsil2
1368 def EltBase_makeName(type, id, name):
1369 return _hexablock_swig.EltBase_makeName(type, id, name)
1370 EltBase_makeName = _hexablock_swig.EltBase_makeName
1372 class Vertex(EltBase):
1373 __swig_setmethods__ = {}
1374 for _s in [EltBase]:
1375 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1376 __setattr__ = lambda self, name, value: _swig_setattr(self, Vertex, name, value)
1377 __swig_getmethods__ = {}
1378 for _s in [EltBase]:
1379 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1380 __getattr__ = lambda self, name: _swig_getattr(self, Vertex, name)
1381 __repr__ = _swig_repr
1384 return _hexablock_swig.Vertex_getX(self)
1387 return _hexablock_swig.Vertex_getY(self)
1390 return _hexablock_swig.Vertex_getZ(self)
1393 return _hexablock_swig.Vertex_setX(self, v)
1396 return _hexablock_swig.Vertex_setY(self, v)
1399 return _hexablock_swig.Vertex_setZ(self, v)
1402 return _hexablock_swig.Vertex_getAssoX(self)
1405 return _hexablock_swig.Vertex_getAssoY(self)
1408 return _hexablock_swig.Vertex_getAssoZ(self)
1410 def setAssociation(self, geom, subid):
1411 return _hexablock_swig.Vertex_setAssociation(self, geom, subid)
1413 def clearAssociation(self):
1414 return _hexablock_swig.Vertex_clearAssociation(self)
1416 def setColor(self, valeur):
1417 return _hexablock_swig.Vertex_setColor(self, valeur)
1419 def __init__(self, prev, x, y, z):
1420 this = _hexablock_swig.new_Vertex(prev, x, y, z)
1422 self.this.append(this)
1423 except __builtin__.Exception:
1425 __swig_destroy__ = _hexablock_swig.delete_Vertex
1426 __del__ = lambda self: None
1427 Vertex_swigregister = _hexablock_swig.Vertex_swigregister
1428 Vertex_swigregister(Vertex)
1430 class Edge(EltBase):
1431 __swig_setmethods__ = {}
1432 for _s in [EltBase]:
1433 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1434 __setattr__ = lambda self, name, value: _swig_setattr(self, Edge, name, value)
1435 __swig_getmethods__ = {}
1436 for _s in [EltBase]:
1437 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1438 __getattr__ = lambda self, name: _swig_getattr(self, Edge, name)
1439 __repr__ = _swig_repr
1441 def getVertex(self, nro):
1442 return _hexablock_swig.Edge_getVertex(self, nro)
1444 def addAssociation(self, geom, subid, deb, fin):
1445 return _hexablock_swig.Edge_addAssociation(self, geom, subid, deb, fin)
1447 def setAssociation(self, geom, subid):
1448 return _hexablock_swig.Edge_setAssociation(self, geom, subid)
1450 def findAssociation(self, geom):
1451 return _hexablock_swig.Edge_findAssociation(self, geom)
1453 def clearAssociation(self):
1454 return _hexablock_swig.Edge_clearAssociation(self)
1456 def setColor(self, valeur):
1457 return _hexablock_swig.Edge_setColor(self, valeur)
1460 return _hexablock_swig.Edge_getWay(self)
1462 def getLength(self):
1463 return _hexablock_swig.Edge_getLength(self)
1465 def __init__(self, va, vb):
1466 this = _hexablock_swig.new_Edge(va, vb)
1468 self.this.append(this)
1469 except __builtin__.Exception:
1471 __swig_destroy__ = _hexablock_swig.delete_Edge
1472 __del__ = lambda self: None
1473 Edge_swigregister = _hexablock_swig.Edge_swigregister
1474 Edge_swigregister(Edge)
1476 class Quad(EltBase):
1477 __swig_setmethods__ = {}
1478 for _s in [EltBase]:
1479 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1480 __setattr__ = lambda self, name, value: _swig_setattr(self, Quad, name, value)
1481 __swig_getmethods__ = {}
1482 for _s in [EltBase]:
1483 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1484 __getattr__ = lambda self, name: _swig_getattr(self, Quad, name)
1485 __repr__ = _swig_repr
1487 def getEdge(self, nro):
1488 return _hexablock_swig.Quad_getEdge(self, nro)
1490 def getVertex(self, nro):
1491 return _hexablock_swig.Quad_getVertex(self, nro)
1493 def addAssociation(self, forme, subid):
1494 return _hexablock_swig.Quad_addAssociation(self, forme, subid)
1496 def clearAssociation(self):
1497 return _hexablock_swig.Quad_clearAssociation(self)
1499 def setColor(self, valeur):
1500 return _hexablock_swig.Quad_setColor(self, valeur)
1502 def nearestVertex(self, other):
1503 return _hexablock_swig.Quad_nearestVertex(self, other)
1505 def getCenter(self, center):
1506 return _hexablock_swig.Quad_getCenter(self, center)
1508 def __init__(self, va, vb, vc, vd):
1509 this = _hexablock_swig.new_Quad(va, vb, vc, vd)
1511 self.this.append(this)
1512 except __builtin__.Exception:
1514 __swig_destroy__ = _hexablock_swig.delete_Quad
1515 __del__ = lambda self: None
1516 Quad_swigregister = _hexablock_swig.Quad_swigregister
1517 Quad_swigregister(Quad)
1519 class Hexa(EltBase):
1520 __swig_setmethods__ = {}
1521 for _s in [EltBase]:
1522 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1523 __setattr__ = lambda self, name, value: _swig_setattr(self, Hexa, name, value)
1524 __swig_getmethods__ = {}
1525 for _s in [EltBase]:
1526 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1527 __getattr__ = lambda self, name: _swig_getattr(self, Hexa, name)
1528 __repr__ = _swig_repr
1530 def getQuad(self, nro):
1531 return _hexablock_swig.Hexa_getQuad(self, nro)
1533 def getEdge(self, nro):
1534 return _hexablock_swig.Hexa_getEdge(self, nro)
1536 def getVertex(self, nro):
1537 return _hexablock_swig.Hexa_getVertex(self, nro)
1539 def setColor(self, valeur):
1540 return _hexablock_swig.Hexa_setColor(self, valeur)
1542 def __init__(self, qa, qb, qc, qd, qe, qf):
1543 this = _hexablock_swig.new_Hexa(qa, qb, qc, qd, qe, qf)
1545 self.this.append(this)
1546 except __builtin__.Exception:
1548 __swig_destroy__ = _hexablock_swig.delete_Hexa
1549 __del__ = lambda self: None
1550 Hexa_swigregister = _hexablock_swig.Hexa_swigregister
1551 Hexa_swigregister(Hexa)
1553 class Vector(EltBase):
1554 __swig_setmethods__ = {}
1555 for _s in [EltBase]:
1556 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1557 __setattr__ = lambda self, name, value: _swig_setattr(self, Vector, name, value)
1558 __swig_getmethods__ = {}
1559 for _s in [EltBase]:
1560 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1561 __getattr__ = lambda self, name: _swig_getattr(self, Vector, name)
1562 __repr__ = _swig_repr
1565 return _hexablock_swig.Vector_getDx(self)
1568 return _hexablock_swig.Vector_getDy(self)
1571 return _hexablock_swig.Vector_getDz(self)
1574 return _hexablock_swig.Vector_getNorm(self)
1576 def getAngleX(self):
1577 return _hexablock_swig.Vector_getAngleX(self)
1579 def __init__(self, doc, dx=0, dy=0, dz=0):
1580 this = _hexablock_swig.new_Vector(doc, dx, dy, dz)
1582 self.this.append(this)
1583 except __builtin__.Exception:
1585 __swig_destroy__ = _hexablock_swig.delete_Vector
1586 __del__ = lambda self: None
1587 Vector_swigregister = _hexablock_swig.Vector_swigregister
1588 Vector_swigregister(Vector)
1590 class Document(EltBase):
1591 __swig_setmethods__ = {}
1592 for _s in [EltBase]:
1593 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1594 __setattr__ = lambda self, name, value: _swig_setattr(self, Document, name, value)
1595 __swig_getmethods__ = {}
1596 for _s in [EltBase]:
1597 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1598 __getattr__ = lambda self, name: _swig_getattr(self, Document, name)
1599 __repr__ = _swig_repr
1601 def __init__(self, name, dad=None):
1602 this = _hexablock_swig.new_Document(name, dad)
1604 self.this.append(this)
1605 except __builtin__.Exception:
1609 return _hexablock_swig.Document_dump(self)
1611 def setName(self, name):
1612 return _hexablock_swig.Document_setName(self, name)
1614 def setLevel(self, niv):
1615 return _hexablock_swig.Document_setLevel(self, niv)
1617 def save(self, ficxml):
1618 return _hexablock_swig.Document_save(self, ficxml)
1620 def saveVtk(self, nomfic):
1621 return _hexablock_swig.Document_saveVtk(self, nomfic)
1624 return _hexablock_swig.Document_purge(self)
1626 def setTolerance(self, tol):
1627 return _hexablock_swig.Document_setTolerance(self, tol)
1629 def getTolerance(self):
1630 return _hexablock_swig.Document_getTolerance(self)
1632 def addVertex(self, x=0.0, y=0.0, z=0.0):
1633 return _hexablock_swig.Document_addVertex(self, x, y, z)
1635 def addEdge(self, va, vb):
1636 return _hexablock_swig.Document_addEdge(self, va, vb)
1638 def addEdgeVector(self, va, vec):
1639 return _hexablock_swig.Document_addEdgeVector(self, va, vec)
1641 def addQuad(self, v1, v2, v3, v4):
1642 return _hexablock_swig.Document_addQuad(self, v1, v2, v3, v4)
1644 def addQuadVertices(self, v1, v2, v3, v4):
1645 return _hexablock_swig.Document_addQuadVertices(self, v1, v2, v3, v4)
1647 def addHexa(self, qa, qb, qc, qd, qe, qf):
1648 return _hexablock_swig.Document_addHexa(self, qa, qb, qc, qd, qe, qf)
1650 def addHexaVertices(self, v1, v2, v3, v4, v5, v6, v7, v8):
1651 return _hexablock_swig.Document_addHexaVertices(self, v1, v2, v3, v4, v5, v6, v7, v8)
1653 def addHexa2Quads(self, q1, q2):
1654 return _hexablock_swig.Document_addHexa2Quads(self, q1, q2)
1656 def addHexa3Quads(self, q1, q2, q3):
1657 return _hexablock_swig.Document_addHexa3Quads(self, q1, q2, q3)
1659 def addHexa4Quads(self, q1, q2, q3, q4):
1660 return _hexablock_swig.Document_addHexa4Quads(self, q1, q2, q3, q4)
1662 def addHexa5Quads(self, q1, q2, q3, q4, q5):
1663 return _hexablock_swig.Document_addHexa5Quads(self, q1, q2, q3, q4, q5)
1665 def addVector(self, dx=0.0, dy=0.0, dz=0.0):
1666 return _hexablock_swig.Document_addVector(self, dx, dy, dz)
1668 def addVectorVertices(self, va, vb):
1669 return _hexablock_swig.Document_addVectorVertices(self, va, vb)
1671 def addLaws(self, lgmoy, usemax=True):
1672 return _hexablock_swig.Document_addLaws(self, lgmoy, usemax)
1674 def addHexaGroup(self, name):
1675 return _hexablock_swig.Document_addHexaGroup(self, name)
1677 def addQuadGroup(self, name):
1678 return _hexablock_swig.Document_addQuadGroup(self, name)
1680 def addQuadNodeGroup(self, name):
1681 return _hexablock_swig.Document_addQuadNodeGroup(self, name)
1683 def addHexaNodeGroup(self, name):
1684 return _hexablock_swig.Document_addHexaNodeGroup(self, name)
1686 def addEdgeGroup(self, name):
1687 return _hexablock_swig.Document_addEdgeGroup(self, name)
1689 def addEdgeNodeGroup(self, name):
1690 return _hexablock_swig.Document_addEdgeNodeGroup(self, name)
1692 def addVertexNodeGroup(self, name):
1693 return _hexablock_swig.Document_addVertexNodeGroup(self, name)
1695 def makeTranslation(self, elts, trans):
1696 return _hexablock_swig.Document_makeTranslation(self, elts, trans)
1698 def makeScale(self, elts, ver, k):
1699 return _hexablock_swig.Document_makeScale(self, elts, ver, k)
1701 def makeRotation(self, elts, ver, vec, angle):
1702 return _hexablock_swig.Document_makeRotation(self, elts, ver, vec, angle)
1704 def makeSymmetryPoint(self, elts, ver):
1705 return _hexablock_swig.Document_makeSymmetryPoint(self, elts, ver)
1707 def makeSymmetryLine(self, elts, ver, vec):
1708 return _hexablock_swig.Document_makeSymmetryLine(self, elts, ver, vec)
1710 def makeSymmetryPlane(self, elts, ver, vec):
1711 return _hexablock_swig.Document_makeSymmetryPlane(self, elts, ver, vec)
1713 def performTranslation(self, elts, trans):
1714 return _hexablock_swig.Document_performTranslation(self, elts, trans)
1716 def performScale(self, elts, ver, k):
1717 return _hexablock_swig.Document_performScale(self, elts, ver, k)
1719 def performRotation(self, elts, ver, vec, angle):
1720 return _hexablock_swig.Document_performRotation(self, elts, ver, vec, angle)
1722 def performSymmetryPoint(self, elts, ver):
1723 return _hexablock_swig.Document_performSymmetryPoint(self, elts, ver)
1725 def performSymmetryLine(self, elts, ver, vec):
1726 return _hexablock_swig.Document_performSymmetryLine(self, elts, ver, vec)
1728 def performSymmetryPlane(self, elts, ver, vec):
1729 return _hexablock_swig.Document_performSymmetryPlane(self, elts, ver, vec)
1731 def disconnectQuad(self, maille, face):
1732 return _hexablock_swig.Document_disconnectQuad(self, maille, face)
1734 def disconnectEdge(self, maille, arete):
1735 return _hexablock_swig.Document_disconnectEdge(self, maille, arete)
1737 def disconnectVertex(self, maille, noeud):
1738 return _hexablock_swig.Document_disconnectVertex(self, maille, noeud)
1740 def disconnectEdges(self, thexas, edges):
1741 return _hexablock_swig.Document_disconnectEdges(self, thexas, edges)
1743 def replace(self, pattern, cible, p1, c1, p2, c2):
1744 return _hexablock_swig.Document_replace(self, pattern, cible, p1, c1, p2, c2)
1746 def mergeVertices(self, v1, v2):
1747 return _hexablock_swig.Document_mergeVertices(self, v1, v2)
1749 def mergeEdges(self, e1, e2, v1, v2):
1750 return _hexablock_swig.Document_mergeEdges(self, e1, e2, v1, v2)
1752 def mergeQuads(self, q1, q2, v1, v2, v3, v4):
1753 return _hexablock_swig.Document_mergeQuads(self, q1, q2, v1, v2, v3, v4)
1755 def clearAssociation(self):
1756 return _hexablock_swig.Document_clearAssociation(self)
1758 def associateOpenedLine(self, mline, gline, tabid, pstart, pend):
1759 return _hexablock_swig.Document_associateOpenedLine(self, mline, gline, tabid, pstart, pend)
1761 def associateClosedLine(self, mfirst, mline, gline, tabid, pstart, inv):
1762 return _hexablock_swig.Document_associateClosedLine(self, mfirst, mline, gline, tabid, pstart, inv)
1764 def countHexa(self):
1765 return _hexablock_swig.Document_countHexa(self)
1767 def countQuad(self):
1768 return _hexablock_swig.Document_countQuad(self)
1770 def countEdge(self):
1771 return _hexablock_swig.Document_countEdge(self)
1773 def countVertex(self):
1774 return _hexablock_swig.Document_countVertex(self)
1776 def countVector(self):
1777 return _hexablock_swig.Document_countVector(self)
1779 def countGroup(self):
1780 return _hexablock_swig.Document_countGroup(self)
1783 return _hexablock_swig.Document_countLaw(self)
1785 def countPropagation(self):
1786 return _hexablock_swig.Document_countPropagation(self)
1788 def countShape(self):
1789 return _hexablock_swig.Document_countShape(self)
1791 def countUsedHexa(self):
1792 return _hexablock_swig.Document_countUsedHexa(self)
1794 def countUsedQuad(self):
1795 return _hexablock_swig.Document_countUsedQuad(self)
1797 def countUsedEdge(self):
1798 return _hexablock_swig.Document_countUsedEdge(self)
1800 def countUsedVertex(self):
1801 return _hexablock_swig.Document_countUsedVertex(self)
1803 def getHexa(self, nro):
1804 return _hexablock_swig.Document_getHexa(self, nro)
1806 def getQuad(self, nro):
1807 return _hexablock_swig.Document_getQuad(self, nro)
1809 def getEdge(self, nro):
1810 return _hexablock_swig.Document_getEdge(self, nro)
1812 def getVertex(self, nro):
1813 return _hexablock_swig.Document_getVertex(self, nro)
1815 def getUsedHexa(self, nro):
1816 return _hexablock_swig.Document_getUsedHexa(self, nro)
1818 def getUsedQuad(self, nro):
1819 return _hexablock_swig.Document_getUsedQuad(self, nro)
1821 def getUsedEdge(self, nro):
1822 return _hexablock_swig.Document_getUsedEdge(self, nro)
1824 def getUsedVertex(self, nro):
1825 return _hexablock_swig.Document_getUsedVertex(self, nro)
1827 def getVector(self, nro):
1828 return _hexablock_swig.Document_getVector(self, nro)
1830 def getShape(self, nro):
1831 return _hexablock_swig.Document_getShape(self, nro)
1833 def getGroup(self, nro):
1834 return _hexablock_swig.Document_getGroup(self, nro)
1836 def getLaw(self, nro):
1837 return _hexablock_swig.Document_getLaw(self, nro)
1839 def getPropagation(self, nro):
1840 return _hexablock_swig.Document_getPropagation(self, nro)
1842 def getFirstExplicitShape(self):
1843 return _hexablock_swig.Document_getFirstExplicitShape(self)
1845 def findEdge(self, va, vb):
1846 return _hexablock_swig.Document_findEdge(self, va, vb)
1848 def findQuad(self, *args):
1849 return _hexablock_swig.Document_findQuad(self, *args)
1851 def findHexa(self, va, vb):
1852 return _hexablock_swig.Document_findHexa(self, va, vb)
1854 def findGroup(self, name):
1855 return _hexablock_swig.Document_findGroup(self, name)
1857 def findLaw(self, name):
1858 return _hexablock_swig.Document_findLaw(self, name)
1860 def findPropagation(self, arete):
1861 return _hexablock_swig.Document_findPropagation(self, arete)
1863 def removeHexa(self, maille):
1864 return _hexablock_swig.Document_removeHexa(self, maille)
1866 def removeQuad(self, maille):
1867 return _hexablock_swig.Document_removeQuad(self, maille)
1869 def removeConnectedHexa(self, maille):
1870 return _hexablock_swig.Document_removeConnectedHexa(self, maille)
1872 def removeElements(self, bloc):
1873 return _hexablock_swig.Document_removeElements(self, bloc)
1875 def removeGroup(self, grp):
1876 return _hexablock_swig.Document_removeGroup(self, grp)
1878 def removeLaw(self, lau):
1879 return _hexablock_swig.Document_removeLaw(self, lau)
1881 def makeCartesianTop(self, nx, ny, nz):
1882 return _hexablock_swig.Document_makeCartesianTop(self, nx, ny, nz)
1884 def makeCartesianUni(self, ori, vx, vy, vz, lx, ly, lz, nx, ny, nz):
1885 return _hexablock_swig.Document_makeCartesianUni(self, ori, vx, vy, vz, lx, ly, lz, nx, ny, nz)
1887 def makeCartesian(self, ori, vx, vy, vz, tlx, tly, tlz):
1888 return _hexablock_swig.Document_makeCartesian(self, ori, vx, vy, vz, tlx, tly, tlz)
1890 def makeCylinderTop(self, nr, na, nh):
1891 return _hexablock_swig.Document_makeCylinderTop(self, nr, na, nh)
1893 def makeCylinderUni(self, orig, vx, vz, rint, rext, ang, haut, nr, na, nh):
1894 return _hexablock_swig.Document_makeCylinderUni(self, orig, vx, vz, rint, rext, ang, haut, nr, na, nh)
1896 def makeCylinder(self, orig, vx, vz, tray, tang, thaut):
1897 return _hexablock_swig.Document_makeCylinder(self, orig, vx, vz, tray, tang, thaut)
1899 def makePipeTop(self, nr, na, nh):
1900 return _hexablock_swig.Document_makePipeTop(self, nr, na, nh)
1902 def makePipeUni(self, orig, vx, vz, rint, rext, angle, haut, nr, na, nh):
1903 return _hexablock_swig.Document_makePipeUni(self, orig, vx, vz, rint, rext, angle, haut, nr, na, nh)
1905 def makePipe(self, orig, vx, vz, tray, tang, thaut):
1906 return _hexablock_swig.Document_makePipe(self, orig, vx, vz, tray, tang, thaut)
1908 def makeSphericalTop(self, nbre, crit=0):
1909 return _hexablock_swig.Document_makeSphericalTop(self, nbre, crit)
1911 def makeSphericalUni(self, centre, vx, vz, rayon, nbre, crit=0):
1912 return _hexablock_swig.Document_makeSphericalUni(self, centre, vx, vz, rayon, nbre, crit)
1914 def makeSpherical(self, centre, vx, vz, rayon, crit=0):
1915 return _hexablock_swig.Document_makeSpherical(self, centre, vx, vz, rayon, crit)
1917 def makeSphereTop(self, nr, na, nh):
1918 return _hexablock_swig.Document_makeSphereTop(self, nr, na, nh)
1920 def makeSphereUni(self, centre, vx, vz, rtrou, rext, ang, vplan, nr, na, nh):
1921 return _hexablock_swig.Document_makeSphereUni(self, centre, vx, vz, rtrou, rext, ang, vplan, nr, na, nh)
1923 def makeSphere(self, centre, vx, vz, tray, tang, thaut):
1924 return _hexablock_swig.Document_makeSphere(self, centre, vx, vz, tray, tang, thaut)
1926 def makeRindTop(self, nr, na, nh):
1927 return _hexablock_swig.Document_makeRindTop(self, nr, na, nh)
1929 def makeRindUni(self, centre, vx, vz, raytrou, rint, rext, ang, vplan, nr, na, nh):
1930 return _hexablock_swig.Document_makeRindUni(self, centre, vx, vz, raytrou, rint, rext, ang, vplan, nr, na, nh)
1932 def makeRind(self, centre, vx, vz, tray, tang, thaut):
1933 return _hexablock_swig.Document_makeRind(self, centre, vx, vz, tray, tang, thaut)
1935 def makeCylinders(self, ori1, z1, r1, h1, ori2, z2, r2, h2):
1936 return _hexablock_swig.Document_makeCylinders(self, ori1, z1, r1, h1, ori2, z2, r2, h2)
1938 def makePipes(self, ori1, z1, rint1, rex1, h1, ori2, z2, rint2, rex2, h2):
1939 return _hexablock_swig.Document_makePipes(self, ori1, z1, rint1, rex1, h1, ori2, z2, rint2, rex2, h2)
1941 def extrudeQuadTop(self, start, nbre):
1942 return _hexablock_swig.Document_extrudeQuadTop(self, start, nbre)
1944 def extrudeQuadUni(self, start, dv, len, nbre):
1945 return _hexablock_swig.Document_extrudeQuadUni(self, start, dv, len, nbre)
1947 def extrudeQuad(self, start, dv, tlen):
1948 return _hexablock_swig.Document_extrudeQuad(self, start, dv, tlen)
1950 def extrudeQuadsTop(self, start, nbre):
1951 return _hexablock_swig.Document_extrudeQuadsTop(self, start, nbre)
1953 def extrudeQuadsUni(self, start, axis, len, nbre):
1954 return _hexablock_swig.Document_extrudeQuadsUni(self, start, axis, len, nbre)
1956 def extrudeQuads(self, start, axis, tlen):
1957 return _hexablock_swig.Document_extrudeQuads(self, start, axis, tlen)
1959 def revolutionQuadUni(self, start, center, axis, angle, nbre):
1960 return _hexablock_swig.Document_revolutionQuadUni(self, start, center, axis, angle, nbre)
1962 def revolutionQuad(self, start, center, axis, angles):
1963 return _hexablock_swig.Document_revolutionQuad(self, start, center, axis, angles)
1965 def revolutionQuadsUni(self, start, center, axis, angle, nbre):
1966 return _hexablock_swig.Document_revolutionQuadsUni(self, start, center, axis, angle, nbre)
1968 def revolutionQuads(self, start, center, axis, angles):
1969 return _hexablock_swig.Document_revolutionQuads(self, start, center, axis, angles)
1971 def joinQuadUni(self, start, dest, v1, v2, v3, v4, nb):
1972 return _hexablock_swig.Document_joinQuadUni(self, start, dest, v1, v2, v3, v4, nb)
1974 def joinQuadsUni(self, start, dest, v1, v2, v3, v4, nb):
1975 return _hexablock_swig.Document_joinQuadsUni(self, start, dest, v1, v2, v3, v4, nb)
1977 def joinQuad(self, start, dest, va1, vb1, va2, vb2, tlen):
1978 return _hexablock_swig.Document_joinQuad(self, start, dest, va1, vb1, va2, vb2, tlen)
1980 def joinQuads(self, start, dest, va1, vb1, va2, vb2, tlen):
1981 return _hexablock_swig.Document_joinQuads(self, start, dest, va1, vb1, va2, vb2, tlen)
1983 def cutUni(self, eddge, nbre):
1984 return _hexablock_swig.Document_cutUni(self, eddge, nbre)
1986 def cut(self, eddge, tlen):
1987 return _hexablock_swig.Document_cut(self, eddge, tlen)
1989 def addGroup(self, name, kind):
1990 return _hexablock_swig.Document_addGroup(self, name, kind)
1993 return _hexablock_swig.Document_isSaved(self)
1995 def appendXml(self, fstudy):
1996 return _hexablock_swig.Document_appendXml(self, fstudy)
1999 return _hexablock_swig.Document_getXml(self)
2002 return _hexablock_swig.Document_getLevel(self)
2004 def findVertex(self, *args):
2005 return _hexablock_swig.Document_findVertex(self, *args)
2007 def closeQuads(self, q1, q2):
2008 return _hexablock_swig.Document_closeQuads(self, q1, q2)
2010 def addLaw(self, *args):
2011 return _hexablock_swig.Document_addLaw(self, *args)
2013 def checkAssociations(self):
2014 return _hexablock_swig.Document_checkAssociations(self)
2016 def addShape(self, forme, name):
2017 return _hexablock_swig.Document_addShape(self, forme, name)
2018 __swig_destroy__ = _hexablock_swig.delete_Document
2019 __del__ = lambda self: None
2020 Document_swigregister = _hexablock_swig.Document_swigregister
2021 Document_swigregister(Document)
2023 class Propagation(EltBase):
2024 __swig_setmethods__ = {}
2025 for _s in [EltBase]:
2026 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2027 __setattr__ = lambda self, name, value: _swig_setattr(self, Propagation, name, value)
2028 __swig_getmethods__ = {}
2029 for _s in [EltBase]:
2030 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2031 __getattr__ = lambda self, name: _swig_getattr(self, Propagation, name)
2032 __repr__ = _swig_repr
2035 return _hexablock_swig.Propagation_getEdges(self)
2038 return _hexablock_swig.Propagation_getLaw(self)
2041 return _hexablock_swig.Propagation_getWay(self)
2043 def setWay(self, sens):
2044 return _hexablock_swig.Propagation_setWay(self, sens)
2046 def setLaw(self, loi):
2047 return _hexablock_swig.Propagation_setLaw(self, loi)
2049 def __init__(self, doc):
2050 this = _hexablock_swig.new_Propagation(doc)
2052 self.this.append(this)
2053 except __builtin__.Exception:
2056 def saveXml(self, xml):
2057 return _hexablock_swig.Propagation_saveXml(self, xml)
2059 def addEdge(self, arete):
2060 return _hexablock_swig.Propagation_addEdge(self, arete)
2063 return _hexablock_swig.Propagation_majLaw(self)
2064 __swig_destroy__ = _hexablock_swig.delete_Propagation
2065 __del__ = lambda self: None
2066 Propagation_swigregister = _hexablock_swig.Propagation_swigregister
2067 Propagation_swigregister(Propagation)
2071 return _hexablock_swig.hex_instance()
2072 hex_instance = _hexablock_swig.hex_instance
2074 __swig_setmethods__ = {}
2075 __setattr__ = lambda self, name, value: _swig_setattr(self, Hex, name, value)
2076 __swig_getmethods__ = {}
2077 __getattr__ = lambda self, name: _swig_getattr(self, Hex, name)
2078 __repr__ = _swig_repr
2080 getInstance = staticmethod(_hexablock_swig.Hex_getInstance)
2082 getInstance = _hexablock_swig.Hex_getInstance
2084 def countDocument(self):
2085 return _hexablock_swig.Hex_countDocument(self)
2087 def getDocument(self, nro):
2088 return _hexablock_swig.Hex_getDocument(self, nro)
2090 def removeDocument(self, doc):
2091 return _hexablock_swig.Hex_removeDocument(self, doc)
2093 def addDocument(self, *args):
2094 return _hexablock_swig.Hex_addDocument(self, *args)
2096 def loadDocument(self, name):
2097 return _hexablock_swig.Hex_loadDocument(self, name)
2099 def findDocument(self, *args):
2100 return _hexablock_swig.Hex_findDocument(self, *args)
2103 return _hexablock_swig.Hex_what(self)
2105 def sizeofMessage(self):
2106 return _hexablock_swig.Hex_sizeofMessage(self)
2108 def getMessageLine(self, nlig):
2109 return _hexablock_swig.Hex_getMessageLine(self, nlig)
2112 this = _hexablock_swig.new_Hex()
2114 self.this.append(this)
2115 except __builtin__.Exception:
2117 __swig_destroy__ = _hexablock_swig.delete_Hex
2118 __del__ = lambda self: None
2119 Hex_swigregister = _hexablock_swig.Hex_swigregister
2120 Hex_swigregister(Hex)
2122 def Hex_getInstance():
2123 return _hexablock_swig.Hex_getInstance()
2124 Hex_getInstance = _hexablock_swig.Hex_getInstance
2128 return _hexablock_swig.what()
2129 what = _hexablock_swig.what
2130 class Elements(EltBase):
2131 __swig_setmethods__ = {}
2132 for _s in [EltBase]:
2133 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2134 __setattr__ = lambda self, name, value: _swig_setattr(self, Elements, name, value)
2135 __swig_getmethods__ = {}
2136 for _s in [EltBase]:
2137 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2138 __getattr__ = lambda self, name: _swig_getattr(self, Elements, name)
2139 __repr__ = _swig_repr
2141 def getHexa(self, nro):
2142 return _hexablock_swig.Elements_getHexa(self, nro)
2144 def getQuad(self, nro):
2145 return _hexablock_swig.Elements_getQuad(self, nro)
2147 def getEdge(self, nro):
2148 return _hexablock_swig.Elements_getEdge(self, nro)
2150 def getVertex(self, nro):
2151 return _hexablock_swig.Elements_getVertex(self, nro)
2153 def getHexaIJK(self, nx, ny, nz):
2154 return _hexablock_swig.Elements_getHexaIJK(self, nx, ny, nz)
2156 def getQuadIJ(self, nx, ny, nz):
2157 return _hexablock_swig.Elements_getQuadIJ(self, nx, ny, nz)
2159 def getQuadJK(self, nx, ny, nz):
2160 return _hexablock_swig.Elements_getQuadJK(self, nx, ny, nz)
2162 def getQuadIK(self, nx, ny, nz):
2163 return _hexablock_swig.Elements_getQuadIK(self, nx, ny, nz)
2165 def getEdgeI(self, nx, ny, nz):
2166 return _hexablock_swig.Elements_getEdgeI(self, nx, ny, nz)
2168 def getEdgeJ(self, nx, ny, nz):
2169 return _hexablock_swig.Elements_getEdgeJ(self, nx, ny, nz)
2171 def getEdgeK(self, nx, ny, nz):
2172 return _hexablock_swig.Elements_getEdgeK(self, nx, ny, nz)
2174 def getVertexIJK(self, nx, ny, nz):
2175 return _hexablock_swig.Elements_getVertexIJK(self, nx, ny, nz)
2177 def countHexa(self):
2178 return _hexablock_swig.Elements_countHexa(self)
2180 def countQuad(self):
2181 return _hexablock_swig.Elements_countQuad(self)
2183 def countEdge(self):
2184 return _hexablock_swig.Elements_countEdge(self)
2186 def countVertex(self):
2187 return _hexablock_swig.Elements_countVertex(self)
2189 def nearestVertex(self, other):
2190 return _hexablock_swig.Elements_nearestVertex(self, other)
2192 def findVertex(self, elt):
2193 return _hexablock_swig.Elements_findVertex(self, elt)
2195 def clearAssociation(self):
2196 return _hexablock_swig.Elements_clearAssociation(self)
2198 def saveVtk(self, nomfic):
2199 return _hexablock_swig.Elements_saveVtk(self, nomfic)
2201 def __init__(self, doc):
2202 this = _hexablock_swig.new_Elements(doc)
2204 self.this.append(this)
2205 except __builtin__.Exception:
2207 __swig_destroy__ = _hexablock_swig.delete_Elements
2208 __del__ = lambda self: None
2209 Elements_swigregister = _hexablock_swig.Elements_swigregister
2210 Elements_swigregister(Elements)
2212 class BiCylinder(Elements):
2213 __swig_setmethods__ = {}
2214 for _s in [Elements]:
2215 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2216 __setattr__ = lambda self, name, value: _swig_setattr(self, BiCylinder, name, value)
2217 __swig_getmethods__ = {}
2218 for _s in [Elements]:
2219 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2220 __getattr__ = lambda self, name: _swig_getattr(self, BiCylinder, name)
2221 __repr__ = _swig_repr
2223 def __init__(self, doc):
2224 this = _hexablock_swig.new_BiCylinder(doc)
2226 self.this.append(this)
2227 except __builtin__.Exception:
2230 def getHexaIJK(self, part, nx, ny, nz):
2231 return _hexablock_swig.BiCylinder_getHexaIJK(self, part, nx, ny, nz)
2233 def getQuadIJ(self, part, nx, ny, nz):
2234 return _hexablock_swig.BiCylinder_getQuadIJ(self, part, nx, ny, nz)
2236 def getQuadJK(self, part, nx, ny, nz):
2237 return _hexablock_swig.BiCylinder_getQuadJK(self, part, nx, ny, nz)
2239 def getQuadIK(self, part, nx, ny, nz):
2240 return _hexablock_swig.BiCylinder_getQuadIK(self, part, nx, ny, nz)
2242 def getEdgeI(self, part, nx, ny, nz):
2243 return _hexablock_swig.BiCylinder_getEdgeI(self, part, nx, ny, nz)
2245 def getEdgeJ(self, part, nx, ny, nz):
2246 return _hexablock_swig.BiCylinder_getEdgeJ(self, part, nx, ny, nz)
2248 def getEdgeK(self, part, nx, ny, nz):
2249 return _hexablock_swig.BiCylinder_getEdgeK(self, part, nx, ny, nz)
2251 def getVertexIJK(self, part, nx, ny, nz):
2252 return _hexablock_swig.BiCylinder_getVertexIJK(self, part, nx, ny, nz)
2253 __swig_destroy__ = _hexablock_swig.delete_BiCylinder
2254 __del__ = lambda self: None
2255 BiCylinder_swigregister = _hexablock_swig.BiCylinder_swigregister
2256 BiCylinder_swigregister(BiCylinder)
2258 class NewShape(EltBase):
2259 __swig_setmethods__ = {}
2260 for _s in [EltBase]:
2261 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2262 __setattr__ = lambda self, name, value: _swig_setattr(self, NewShape, name, value)
2263 __swig_getmethods__ = {}
2264 for _s in [EltBase]:
2265 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2266 __getattr__ = lambda self, name: _swig_getattr(self, NewShape, name)
2267 __repr__ = _swig_repr
2269 def countVertex(self):
2270 return _hexablock_swig.NewShape_countVertex(self)
2272 def countEdge(self):
2273 return _hexablock_swig.NewShape_countEdge(self)
2275 def countFace(self):
2276 return _hexablock_swig.NewShape_countFace(self)
2278 def getVertex(self, nro):
2279 return _hexablock_swig.NewShape_getVertex(self, nro)
2281 def getEdge(self, nro):
2282 return _hexablock_swig.NewShape_getEdge(self, nro)
2284 def getFace(self, nro):
2285 return _hexablock_swig.NewShape_getFace(self, nro)
2287 def getNameVertex(self, nro):
2288 return _hexablock_swig.NewShape_getNameVertex(self, nro)
2290 def getNameEdge(self, nro):
2291 return _hexablock_swig.NewShape_getNameEdge(self, nro)
2293 def getNameFace(self, nro):
2294 return _hexablock_swig.NewShape_getNameFace(self, nro)
2296 def __init__(self, *args):
2297 this = _hexablock_swig.new_NewShape(*args)
2299 self.this.append(this)
2300 except __builtin__.Exception:
2302 __swig_destroy__ = _hexablock_swig.delete_NewShape
2303 __del__ = lambda self: None
2304 NewShape_swigregister = _hexablock_swig.NewShape_swigregister
2305 NewShape_swigregister(NewShape)
2307 class Group(EltBase):
2308 __swig_setmethods__ = {}
2309 for _s in [EltBase]:
2310 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2311 __setattr__ = lambda self, name, value: _swig_setattr(self, Group, name, value)
2312 __swig_getmethods__ = {}
2313 for _s in [EltBase]:
2314 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2315 __getattr__ = lambda self, name: _swig_getattr(self, Group, name)
2316 __repr__ = _swig_repr
2318 def addElement(self, elt):
2319 return _hexablock_swig.Group_addElement(self, elt)
2321 def countElement(self):
2322 return _hexablock_swig.Group_countElement(self)
2325 return _hexablock_swig.Group_getKind(self)
2327 def clearElement(self):
2328 return _hexablock_swig.Group_clearElement(self)
2330 def removeElement(self, *args):
2331 return _hexablock_swig.Group_removeElement(self, *args)
2333 def getElement(self, nro):
2334 return _hexablock_swig.Group_getElement(self, nro)
2336 def __init__(self, dad, nom, grp):
2337 this = _hexablock_swig.new_Group(dad, nom, grp)
2339 self.this.append(this)
2340 except __builtin__.Exception:
2342 __swig_destroy__ = _hexablock_swig.delete_Group
2343 __del__ = lambda self: None
2344 Group_swigregister = _hexablock_swig.Group_swigregister
2345 Group_swigregister(Group)
2347 # This file is compatible with both classic and new-style classes.