1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
7 from sys import version_info as _swig_python_version_info
8 if _swig_python_version_info >= (2, 7, 0):
9 def swig_import_helper():
11 pkg = __name__.rpartition('.')[0]
12 mname = '.'.join((pkg, '_hexablock_swig')).lstrip('.')
14 return importlib.import_module(mname)
16 return importlib.import_module('_hexablock_swig')
17 _hexablock_swig = swig_import_helper()
18 del swig_import_helper
19 elif _swig_python_version_info >= (2, 6, 0):
20 def swig_import_helper():
21 from os.path import dirname
25 fp, pathname, description = imp.find_module('_hexablock_swig', [dirname(__file__)])
27 import _hexablock_swig
28 return _hexablock_swig
30 _mod = imp.load_module('_hexablock_swig', fp, pathname, description)
35 _hexablock_swig = swig_import_helper()
36 del swig_import_helper
38 import _hexablock_swig
39 del _swig_python_version_info
42 _swig_property = property
44 pass # Python < 2.2 doesn't have 'property'.
47 import builtins as __builtin__
51 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
52 if (name == "thisown"):
53 return self.this.own(value)
55 if type(value).__name__ == 'SwigPyObject':
56 self.__dict__[name] = value
58 method = class_type.__swig_setmethods__.get(name, None)
60 return method(self, value)
63 object.__setattr__(self, name, value)
65 self.__dict__[name] = value
67 raise AttributeError("You cannot add attributes to %s" % self)
70 def _swig_setattr(self, class_type, name, value):
71 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
74 def _swig_getattr(self, class_type, name):
75 if (name == "thisown"):
76 return self.this.own()
77 method = class_type.__swig_getmethods__.get(name, None)
80 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 strthis = "proxy of " + self.this.__repr__()
86 except __builtin__.Exception:
88 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 except __builtin__.Exception:
98 class SwigPyIterator(_object):
99 __swig_setmethods__ = {}
100 __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
101 __swig_getmethods__ = {}
102 __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
104 def __init__(self, *args, **kwargs):
105 raise AttributeError("No constructor defined - class is abstract")
106 __repr__ = _swig_repr
107 __swig_destroy__ = _hexablock_swig.delete_SwigPyIterator
108 __del__ = lambda self: None
111 return _hexablock_swig.SwigPyIterator_value(self)
114 return _hexablock_swig.SwigPyIterator_incr(self, n)
117 return _hexablock_swig.SwigPyIterator_decr(self, n)
119 def distance(self, x):
120 return _hexablock_swig.SwigPyIterator_distance(self, x)
123 return _hexablock_swig.SwigPyIterator_equal(self, x)
126 return _hexablock_swig.SwigPyIterator_copy(self)
129 return _hexablock_swig.SwigPyIterator_next(self)
132 return _hexablock_swig.SwigPyIterator___next__(self)
135 return _hexablock_swig.SwigPyIterator_previous(self)
137 def advance(self, n):
138 return _hexablock_swig.SwigPyIterator_advance(self, n)
141 return _hexablock_swig.SwigPyIterator___eq__(self, x)
144 return _hexablock_swig.SwigPyIterator___ne__(self, x)
146 def __iadd__(self, n):
147 return _hexablock_swig.SwigPyIterator___iadd__(self, n)
149 def __isub__(self, n):
150 return _hexablock_swig.SwigPyIterator___isub__(self, n)
152 def __add__(self, n):
153 return _hexablock_swig.SwigPyIterator___add__(self, n)
155 def __sub__(self, *args):
156 return _hexablock_swig.SwigPyIterator___sub__(self, *args)
159 SwigPyIterator_swigregister = _hexablock_swig.SwigPyIterator_swigregister
160 SwigPyIterator_swigregister(SwigPyIterator)
162 class VectorHexas(_object):
163 __swig_setmethods__ = {}
164 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorHexas, name, value)
165 __swig_getmethods__ = {}
166 __getattr__ = lambda self, name: _swig_getattr(self, VectorHexas, name)
167 __repr__ = _swig_repr
170 return _hexablock_swig.VectorHexas_iterator(self)
172 return self.iterator()
174 def __nonzero__(self):
175 return _hexablock_swig.VectorHexas___nonzero__(self)
178 return _hexablock_swig.VectorHexas___bool__(self)
181 return _hexablock_swig.VectorHexas___len__(self)
183 def __getslice__(self, i, j):
184 return _hexablock_swig.VectorHexas___getslice__(self, i, j)
186 def __setslice__(self, *args):
187 return _hexablock_swig.VectorHexas___setslice__(self, *args)
189 def __delslice__(self, i, j):
190 return _hexablock_swig.VectorHexas___delslice__(self, i, j)
192 def __delitem__(self, *args):
193 return _hexablock_swig.VectorHexas___delitem__(self, *args)
195 def __getitem__(self, *args):
196 return _hexablock_swig.VectorHexas___getitem__(self, *args)
198 def __setitem__(self, *args):
199 return _hexablock_swig.VectorHexas___setitem__(self, *args)
202 return _hexablock_swig.VectorHexas_pop(self)
205 return _hexablock_swig.VectorHexas_append(self, x)
208 return _hexablock_swig.VectorHexas_empty(self)
211 return _hexablock_swig.VectorHexas_size(self)
214 return _hexablock_swig.VectorHexas_swap(self, v)
217 return _hexablock_swig.VectorHexas_begin(self)
220 return _hexablock_swig.VectorHexas_end(self)
223 return _hexablock_swig.VectorHexas_rbegin(self)
226 return _hexablock_swig.VectorHexas_rend(self)
229 return _hexablock_swig.VectorHexas_clear(self)
231 def get_allocator(self):
232 return _hexablock_swig.VectorHexas_get_allocator(self)
235 return _hexablock_swig.VectorHexas_pop_back(self)
237 def erase(self, *args):
238 return _hexablock_swig.VectorHexas_erase(self, *args)
240 def __init__(self, *args):
241 this = _hexablock_swig.new_VectorHexas(*args)
243 self.this.append(this)
244 except __builtin__.Exception:
247 def push_back(self, x):
248 return _hexablock_swig.VectorHexas_push_back(self, x)
251 return _hexablock_swig.VectorHexas_front(self)
254 return _hexablock_swig.VectorHexas_back(self)
256 def assign(self, n, x):
257 return _hexablock_swig.VectorHexas_assign(self, n, x)
259 def resize(self, *args):
260 return _hexablock_swig.VectorHexas_resize(self, *args)
262 def insert(self, *args):
263 return _hexablock_swig.VectorHexas_insert(self, *args)
265 def reserve(self, n):
266 return _hexablock_swig.VectorHexas_reserve(self, n)
269 return _hexablock_swig.VectorHexas_capacity(self)
270 __swig_destroy__ = _hexablock_swig.delete_VectorHexas
271 __del__ = lambda self: None
272 VectorHexas_swigregister = _hexablock_swig.VectorHexas_swigregister
273 VectorHexas_swigregister(VectorHexas)
275 class VectorQuads(_object):
276 __swig_setmethods__ = {}
277 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorQuads, name, value)
278 __swig_getmethods__ = {}
279 __getattr__ = lambda self, name: _swig_getattr(self, VectorQuads, name)
280 __repr__ = _swig_repr
283 return _hexablock_swig.VectorQuads_iterator(self)
285 return self.iterator()
287 def __nonzero__(self):
288 return _hexablock_swig.VectorQuads___nonzero__(self)
291 return _hexablock_swig.VectorQuads___bool__(self)
294 return _hexablock_swig.VectorQuads___len__(self)
296 def __getslice__(self, i, j):
297 return _hexablock_swig.VectorQuads___getslice__(self, i, j)
299 def __setslice__(self, *args):
300 return _hexablock_swig.VectorQuads___setslice__(self, *args)
302 def __delslice__(self, i, j):
303 return _hexablock_swig.VectorQuads___delslice__(self, i, j)
305 def __delitem__(self, *args):
306 return _hexablock_swig.VectorQuads___delitem__(self, *args)
308 def __getitem__(self, *args):
309 return _hexablock_swig.VectorQuads___getitem__(self, *args)
311 def __setitem__(self, *args):
312 return _hexablock_swig.VectorQuads___setitem__(self, *args)
315 return _hexablock_swig.VectorQuads_pop(self)
318 return _hexablock_swig.VectorQuads_append(self, x)
321 return _hexablock_swig.VectorQuads_empty(self)
324 return _hexablock_swig.VectorQuads_size(self)
327 return _hexablock_swig.VectorQuads_swap(self, v)
330 return _hexablock_swig.VectorQuads_begin(self)
333 return _hexablock_swig.VectorQuads_end(self)
336 return _hexablock_swig.VectorQuads_rbegin(self)
339 return _hexablock_swig.VectorQuads_rend(self)
342 return _hexablock_swig.VectorQuads_clear(self)
344 def get_allocator(self):
345 return _hexablock_swig.VectorQuads_get_allocator(self)
348 return _hexablock_swig.VectorQuads_pop_back(self)
350 def erase(self, *args):
351 return _hexablock_swig.VectorQuads_erase(self, *args)
353 def __init__(self, *args):
354 this = _hexablock_swig.new_VectorQuads(*args)
356 self.this.append(this)
357 except __builtin__.Exception:
360 def push_back(self, x):
361 return _hexablock_swig.VectorQuads_push_back(self, x)
364 return _hexablock_swig.VectorQuads_front(self)
367 return _hexablock_swig.VectorQuads_back(self)
369 def assign(self, n, x):
370 return _hexablock_swig.VectorQuads_assign(self, n, x)
372 def resize(self, *args):
373 return _hexablock_swig.VectorQuads_resize(self, *args)
375 def insert(self, *args):
376 return _hexablock_swig.VectorQuads_insert(self, *args)
378 def reserve(self, n):
379 return _hexablock_swig.VectorQuads_reserve(self, n)
382 return _hexablock_swig.VectorQuads_capacity(self)
383 __swig_destroy__ = _hexablock_swig.delete_VectorQuads
384 __del__ = lambda self: None
385 VectorQuads_swigregister = _hexablock_swig.VectorQuads_swigregister
386 VectorQuads_swigregister(VectorQuads)
388 class VectorEdges(_object):
389 __swig_setmethods__ = {}
390 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorEdges, name, value)
391 __swig_getmethods__ = {}
392 __getattr__ = lambda self, name: _swig_getattr(self, VectorEdges, name)
393 __repr__ = _swig_repr
396 return _hexablock_swig.VectorEdges_iterator(self)
398 return self.iterator()
400 def __nonzero__(self):
401 return _hexablock_swig.VectorEdges___nonzero__(self)
404 return _hexablock_swig.VectorEdges___bool__(self)
407 return _hexablock_swig.VectorEdges___len__(self)
409 def __getslice__(self, i, j):
410 return _hexablock_swig.VectorEdges___getslice__(self, i, j)
412 def __setslice__(self, *args):
413 return _hexablock_swig.VectorEdges___setslice__(self, *args)
415 def __delslice__(self, i, j):
416 return _hexablock_swig.VectorEdges___delslice__(self, i, j)
418 def __delitem__(self, *args):
419 return _hexablock_swig.VectorEdges___delitem__(self, *args)
421 def __getitem__(self, *args):
422 return _hexablock_swig.VectorEdges___getitem__(self, *args)
424 def __setitem__(self, *args):
425 return _hexablock_swig.VectorEdges___setitem__(self, *args)
428 return _hexablock_swig.VectorEdges_pop(self)
431 return _hexablock_swig.VectorEdges_append(self, x)
434 return _hexablock_swig.VectorEdges_empty(self)
437 return _hexablock_swig.VectorEdges_size(self)
440 return _hexablock_swig.VectorEdges_swap(self, v)
443 return _hexablock_swig.VectorEdges_begin(self)
446 return _hexablock_swig.VectorEdges_end(self)
449 return _hexablock_swig.VectorEdges_rbegin(self)
452 return _hexablock_swig.VectorEdges_rend(self)
455 return _hexablock_swig.VectorEdges_clear(self)
457 def get_allocator(self):
458 return _hexablock_swig.VectorEdges_get_allocator(self)
461 return _hexablock_swig.VectorEdges_pop_back(self)
463 def erase(self, *args):
464 return _hexablock_swig.VectorEdges_erase(self, *args)
466 def __init__(self, *args):
467 this = _hexablock_swig.new_VectorEdges(*args)
469 self.this.append(this)
470 except __builtin__.Exception:
473 def push_back(self, x):
474 return _hexablock_swig.VectorEdges_push_back(self, x)
477 return _hexablock_swig.VectorEdges_front(self)
480 return _hexablock_swig.VectorEdges_back(self)
482 def assign(self, n, x):
483 return _hexablock_swig.VectorEdges_assign(self, n, x)
485 def resize(self, *args):
486 return _hexablock_swig.VectorEdges_resize(self, *args)
488 def insert(self, *args):
489 return _hexablock_swig.VectorEdges_insert(self, *args)
491 def reserve(self, n):
492 return _hexablock_swig.VectorEdges_reserve(self, n)
495 return _hexablock_swig.VectorEdges_capacity(self)
496 __swig_destroy__ = _hexablock_swig.delete_VectorEdges
497 __del__ = lambda self: None
498 VectorEdges_swigregister = _hexablock_swig.VectorEdges_swigregister
499 VectorEdges_swigregister(VectorEdges)
501 class VectorVertices(_object):
502 __swig_setmethods__ = {}
503 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorVertices, name, value)
504 __swig_getmethods__ = {}
505 __getattr__ = lambda self, name: _swig_getattr(self, VectorVertices, name)
506 __repr__ = _swig_repr
509 return _hexablock_swig.VectorVertices_iterator(self)
511 return self.iterator()
513 def __nonzero__(self):
514 return _hexablock_swig.VectorVertices___nonzero__(self)
517 return _hexablock_swig.VectorVertices___bool__(self)
520 return _hexablock_swig.VectorVertices___len__(self)
522 def __getslice__(self, i, j):
523 return _hexablock_swig.VectorVertices___getslice__(self, i, j)
525 def __setslice__(self, *args):
526 return _hexablock_swig.VectorVertices___setslice__(self, *args)
528 def __delslice__(self, i, j):
529 return _hexablock_swig.VectorVertices___delslice__(self, i, j)
531 def __delitem__(self, *args):
532 return _hexablock_swig.VectorVertices___delitem__(self, *args)
534 def __getitem__(self, *args):
535 return _hexablock_swig.VectorVertices___getitem__(self, *args)
537 def __setitem__(self, *args):
538 return _hexablock_swig.VectorVertices___setitem__(self, *args)
541 return _hexablock_swig.VectorVertices_pop(self)
544 return _hexablock_swig.VectorVertices_append(self, x)
547 return _hexablock_swig.VectorVertices_empty(self)
550 return _hexablock_swig.VectorVertices_size(self)
553 return _hexablock_swig.VectorVertices_swap(self, v)
556 return _hexablock_swig.VectorVertices_begin(self)
559 return _hexablock_swig.VectorVertices_end(self)
562 return _hexablock_swig.VectorVertices_rbegin(self)
565 return _hexablock_swig.VectorVertices_rend(self)
568 return _hexablock_swig.VectorVertices_clear(self)
570 def get_allocator(self):
571 return _hexablock_swig.VectorVertices_get_allocator(self)
574 return _hexablock_swig.VectorVertices_pop_back(self)
576 def erase(self, *args):
577 return _hexablock_swig.VectorVertices_erase(self, *args)
579 def __init__(self, *args):
580 this = _hexablock_swig.new_VectorVertices(*args)
582 self.this.append(this)
583 except __builtin__.Exception:
586 def push_back(self, x):
587 return _hexablock_swig.VectorVertices_push_back(self, x)
590 return _hexablock_swig.VectorVertices_front(self)
593 return _hexablock_swig.VectorVertices_back(self)
595 def assign(self, n, x):
596 return _hexablock_swig.VectorVertices_assign(self, n, x)
598 def resize(self, *args):
599 return _hexablock_swig.VectorVertices_resize(self, *args)
601 def insert(self, *args):
602 return _hexablock_swig.VectorVertices_insert(self, *args)
604 def reserve(self, n):
605 return _hexablock_swig.VectorVertices_reserve(self, n)
608 return _hexablock_swig.VectorVertices_capacity(self)
609 __swig_destroy__ = _hexablock_swig.delete_VectorVertices
610 __del__ = lambda self: None
611 VectorVertices_swigregister = _hexablock_swig.VectorVertices_swigregister
612 VectorVertices_swigregister(VectorVertices)
614 class VectorShapes(_object):
615 __swig_setmethods__ = {}
616 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorShapes, name, value)
617 __swig_getmethods__ = {}
618 __getattr__ = lambda self, name: _swig_getattr(self, VectorShapes, name)
619 __repr__ = _swig_repr
622 return _hexablock_swig.VectorShapes_iterator(self)
624 return self.iterator()
626 def __nonzero__(self):
627 return _hexablock_swig.VectorShapes___nonzero__(self)
630 return _hexablock_swig.VectorShapes___bool__(self)
633 return _hexablock_swig.VectorShapes___len__(self)
635 def __getslice__(self, i, j):
636 return _hexablock_swig.VectorShapes___getslice__(self, i, j)
638 def __setslice__(self, *args):
639 return _hexablock_swig.VectorShapes___setslice__(self, *args)
641 def __delslice__(self, i, j):
642 return _hexablock_swig.VectorShapes___delslice__(self, i, j)
644 def __delitem__(self, *args):
645 return _hexablock_swig.VectorShapes___delitem__(self, *args)
647 def __getitem__(self, *args):
648 return _hexablock_swig.VectorShapes___getitem__(self, *args)
650 def __setitem__(self, *args):
651 return _hexablock_swig.VectorShapes___setitem__(self, *args)
654 return _hexablock_swig.VectorShapes_pop(self)
657 return _hexablock_swig.VectorShapes_append(self, x)
660 return _hexablock_swig.VectorShapes_empty(self)
663 return _hexablock_swig.VectorShapes_size(self)
666 return _hexablock_swig.VectorShapes_swap(self, v)
669 return _hexablock_swig.VectorShapes_begin(self)
672 return _hexablock_swig.VectorShapes_end(self)
675 return _hexablock_swig.VectorShapes_rbegin(self)
678 return _hexablock_swig.VectorShapes_rend(self)
681 return _hexablock_swig.VectorShapes_clear(self)
683 def get_allocator(self):
684 return _hexablock_swig.VectorShapes_get_allocator(self)
687 return _hexablock_swig.VectorShapes_pop_back(self)
689 def erase(self, *args):
690 return _hexablock_swig.VectorShapes_erase(self, *args)
692 def __init__(self, *args):
693 this = _hexablock_swig.new_VectorShapes(*args)
695 self.this.append(this)
696 except __builtin__.Exception:
699 def push_back(self, x):
700 return _hexablock_swig.VectorShapes_push_back(self, x)
703 return _hexablock_swig.VectorShapes_front(self)
706 return _hexablock_swig.VectorShapes_back(self)
708 def assign(self, n, x):
709 return _hexablock_swig.VectorShapes_assign(self, n, x)
711 def resize(self, *args):
712 return _hexablock_swig.VectorShapes_resize(self, *args)
714 def insert(self, *args):
715 return _hexablock_swig.VectorShapes_insert(self, *args)
717 def reserve(self, n):
718 return _hexablock_swig.VectorShapes_reserve(self, n)
721 return _hexablock_swig.VectorShapes_capacity(self)
722 __swig_destroy__ = _hexablock_swig.delete_VectorShapes
723 __del__ = lambda self: None
724 VectorShapes_swigregister = _hexablock_swig.VectorShapes_swigregister
725 VectorShapes_swigregister(VectorShapes)
727 class VectorReal(_object):
728 __swig_setmethods__ = {}
729 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorReal, name, value)
730 __swig_getmethods__ = {}
731 __getattr__ = lambda self, name: _swig_getattr(self, VectorReal, name)
732 __repr__ = _swig_repr
735 return _hexablock_swig.VectorReal_iterator(self)
737 return self.iterator()
739 def __nonzero__(self):
740 return _hexablock_swig.VectorReal___nonzero__(self)
743 return _hexablock_swig.VectorReal___bool__(self)
746 return _hexablock_swig.VectorReal___len__(self)
748 def __getslice__(self, i, j):
749 return _hexablock_swig.VectorReal___getslice__(self, i, j)
751 def __setslice__(self, *args):
752 return _hexablock_swig.VectorReal___setslice__(self, *args)
754 def __delslice__(self, i, j):
755 return _hexablock_swig.VectorReal___delslice__(self, i, j)
757 def __delitem__(self, *args):
758 return _hexablock_swig.VectorReal___delitem__(self, *args)
760 def __getitem__(self, *args):
761 return _hexablock_swig.VectorReal___getitem__(self, *args)
763 def __setitem__(self, *args):
764 return _hexablock_swig.VectorReal___setitem__(self, *args)
767 return _hexablock_swig.VectorReal_pop(self)
770 return _hexablock_swig.VectorReal_append(self, x)
773 return _hexablock_swig.VectorReal_empty(self)
776 return _hexablock_swig.VectorReal_size(self)
779 return _hexablock_swig.VectorReal_swap(self, v)
782 return _hexablock_swig.VectorReal_begin(self)
785 return _hexablock_swig.VectorReal_end(self)
788 return _hexablock_swig.VectorReal_rbegin(self)
791 return _hexablock_swig.VectorReal_rend(self)
794 return _hexablock_swig.VectorReal_clear(self)
796 def get_allocator(self):
797 return _hexablock_swig.VectorReal_get_allocator(self)
800 return _hexablock_swig.VectorReal_pop_back(self)
802 def erase(self, *args):
803 return _hexablock_swig.VectorReal_erase(self, *args)
805 def __init__(self, *args):
806 this = _hexablock_swig.new_VectorReal(*args)
808 self.this.append(this)
809 except __builtin__.Exception:
812 def push_back(self, x):
813 return _hexablock_swig.VectorReal_push_back(self, x)
816 return _hexablock_swig.VectorReal_front(self)
819 return _hexablock_swig.VectorReal_back(self)
821 def assign(self, n, x):
822 return _hexablock_swig.VectorReal_assign(self, n, x)
824 def resize(self, *args):
825 return _hexablock_swig.VectorReal_resize(self, *args)
827 def insert(self, *args):
828 return _hexablock_swig.VectorReal_insert(self, *args)
830 def reserve(self, n):
831 return _hexablock_swig.VectorReal_reserve(self, n)
834 return _hexablock_swig.VectorReal_capacity(self)
835 __swig_destroy__ = _hexablock_swig.delete_VectorReal
836 __del__ = lambda self: None
837 VectorReal_swigregister = _hexablock_swig.VectorReal_swigregister
838 VectorReal_swigregister(VectorReal)
840 class VectorInt(_object):
841 __swig_setmethods__ = {}
842 __setattr__ = lambda self, name, value: _swig_setattr(self, VectorInt, name, value)
843 __swig_getmethods__ = {}
844 __getattr__ = lambda self, name: _swig_getattr(self, VectorInt, name)
845 __repr__ = _swig_repr
848 return _hexablock_swig.VectorInt_iterator(self)
850 return self.iterator()
852 def __nonzero__(self):
853 return _hexablock_swig.VectorInt___nonzero__(self)
856 return _hexablock_swig.VectorInt___bool__(self)
859 return _hexablock_swig.VectorInt___len__(self)
861 def __getslice__(self, i, j):
862 return _hexablock_swig.VectorInt___getslice__(self, i, j)
864 def __setslice__(self, *args):
865 return _hexablock_swig.VectorInt___setslice__(self, *args)
867 def __delslice__(self, i, j):
868 return _hexablock_swig.VectorInt___delslice__(self, i, j)
870 def __delitem__(self, *args):
871 return _hexablock_swig.VectorInt___delitem__(self, *args)
873 def __getitem__(self, *args):
874 return _hexablock_swig.VectorInt___getitem__(self, *args)
876 def __setitem__(self, *args):
877 return _hexablock_swig.VectorInt___setitem__(self, *args)
880 return _hexablock_swig.VectorInt_pop(self)
883 return _hexablock_swig.VectorInt_append(self, x)
886 return _hexablock_swig.VectorInt_empty(self)
889 return _hexablock_swig.VectorInt_size(self)
892 return _hexablock_swig.VectorInt_swap(self, v)
895 return _hexablock_swig.VectorInt_begin(self)
898 return _hexablock_swig.VectorInt_end(self)
901 return _hexablock_swig.VectorInt_rbegin(self)
904 return _hexablock_swig.VectorInt_rend(self)
907 return _hexablock_swig.VectorInt_clear(self)
909 def get_allocator(self):
910 return _hexablock_swig.VectorInt_get_allocator(self)
913 return _hexablock_swig.VectorInt_pop_back(self)
915 def erase(self, *args):
916 return _hexablock_swig.VectorInt_erase(self, *args)
918 def __init__(self, *args):
919 this = _hexablock_swig.new_VectorInt(*args)
921 self.this.append(this)
922 except __builtin__.Exception:
925 def push_back(self, x):
926 return _hexablock_swig.VectorInt_push_back(self, x)
929 return _hexablock_swig.VectorInt_front(self)
932 return _hexablock_swig.VectorInt_back(self)
934 def assign(self, n, x):
935 return _hexablock_swig.VectorInt_assign(self, n, x)
937 def resize(self, *args):
938 return _hexablock_swig.VectorInt_resize(self, *args)
940 def insert(self, *args):
941 return _hexablock_swig.VectorInt_insert(self, *args)
943 def reserve(self, n):
944 return _hexablock_swig.VectorInt_reserve(self, n)
947 return _hexablock_swig.VectorInt_capacity(self)
948 __swig_destroy__ = _hexablock_swig.delete_VectorInt
949 __del__ = lambda self: None
950 VectorInt_swigregister = _hexablock_swig.VectorInt_swigregister
951 VectorInt_swigregister(VectorInt)
953 DumpActif = _hexablock_swig.DumpActif
954 HOK = _hexablock_swig.HOK
955 HERR = _hexablock_swig.HERR
956 NOTHING = _hexablock_swig.NOTHING
957 EOL = _hexablock_swig.EOL
958 EOS = _hexablock_swig.EOS
959 CHVIDE = _hexablock_swig.CHVIDE
960 ZEROR = _hexablock_swig.ZEROR
961 UNR = _hexablock_swig.UNR
962 DEMI = _hexablock_swig.DEMI
963 DIM2 = _hexablock_swig.DIM2
964 M_PI = _hexablock_swig.M_PI
965 Degre2Radian = _hexablock_swig.Degre2Radian
966 dir_x = _hexablock_swig.dir_x
967 dir_y = _hexablock_swig.dir_y
968 dir_z = _hexablock_swig.dir_z
969 DIM3 = _hexablock_swig.DIM3
970 EL_NONE = _hexablock_swig.EL_NONE
971 EL_VERTEX = _hexablock_swig.EL_VERTEX
972 EL_EDGE = _hexablock_swig.EL_EDGE
973 EL_QUAD = _hexablock_swig.EL_QUAD
974 EL_HEXA = _hexablock_swig.EL_HEXA
975 EL_VECTOR = _hexablock_swig.EL_VECTOR
976 EL_GRID = _hexablock_swig.EL_GRID
977 EL_CYLINDER = _hexablock_swig.EL_CYLINDER
978 EL_PIPE = _hexablock_swig.EL_PIPE
979 EL_GROUP = _hexablock_swig.EL_GROUP
980 EL_LAW = _hexablock_swig.EL_LAW
981 EL_SHAPE = _hexablock_swig.EL_SHAPE
982 EL_SUBSHAPE = _hexablock_swig.EL_SUBSHAPE
983 EL_PROPAGATION = _hexablock_swig.EL_PROPAGATION
984 EL_DOCU = _hexablock_swig.EL_DOCU
985 EL_REMOVED = _hexablock_swig.EL_REMOVED
986 EL_MAXI = _hexablock_swig.EL_MAXI
987 HexaCell = _hexablock_swig.HexaCell
988 QuadCell = _hexablock_swig.QuadCell
989 EdgeCell = _hexablock_swig.EdgeCell
990 HexaNode = _hexablock_swig.HexaNode
991 QuadNode = _hexablock_swig.QuadNode
992 EdgeNode = _hexablock_swig.EdgeNode
993 VertexNode = _hexablock_swig.VertexNode
994 SH_NONE = _hexablock_swig.SH_NONE
995 SH_IMPORT = _hexablock_swig.SH_IMPORT
996 SH_CYLINDER = _hexablock_swig.SH_CYLINDER
997 SH_INTER = _hexablock_swig.SH_INTER
998 SH_SPHERE = _hexablock_swig.SH_SPHERE
999 SH_CLOUD = _hexablock_swig.SH_CLOUD
1000 SH_EXTRUD = _hexablock_swig.SH_EXTRUD
1001 CYL_NOFILL = _hexablock_swig.CYL_NOFILL
1002 CYL_CL4 = _hexablock_swig.CYL_CL4
1003 CYL_CL6 = _hexablock_swig.CYL_CL6
1004 CYL_CLOSED = _hexablock_swig.CYL_CLOSED
1005 CYL_PEER = _hexablock_swig.CYL_PEER
1006 CYL_ODD = _hexablock_swig.CYL_ODD
1007 GR_NONE = _hexablock_swig.GR_NONE
1008 GR_CARTESIAN = _hexablock_swig.GR_CARTESIAN
1009 GR_CYLINDRIC = _hexablock_swig.GR_CYLINDRIC
1010 GR_SPHERIC = _hexablock_swig.GR_SPHERIC
1011 GR_JOINT = _hexablock_swig.GR_JOINT
1012 GR_BICYL = _hexablock_swig.GR_BICYL
1013 GR_BIPIPE = _hexablock_swig.GR_BIPIPE
1014 GR_REPLACE = _hexablock_swig.GR_REPLACE
1015 GR_HEMISPHERIC = _hexablock_swig.GR_HEMISPHERIC
1016 GR_RIND = _hexablock_swig.GR_RIND
1017 GR_PART_SPHERIC = _hexablock_swig.GR_PART_SPHERIC
1018 GR_PART_RIND = _hexablock_swig.GR_PART_RIND
1019 S_E = _hexablock_swig.S_E
1020 S_NE = _hexablock_swig.S_NE
1021 S_N = _hexablock_swig.S_N
1022 S_NW = _hexablock_swig.S_NW
1023 S_W = _hexablock_swig.S_W
1024 S_SW = _hexablock_swig.S_SW
1025 S_S = _hexablock_swig.S_S
1026 S_SE = _hexablock_swig.S_SE
1027 S_MAXI = _hexablock_swig.S_MAXI
1028 Uniform = _hexablock_swig.Uniform
1029 Arithmetic = _hexablock_swig.Arithmetic
1030 Geometric = _hexablock_swig.Geometric
1031 OR_FRONT = _hexablock_swig.OR_FRONT
1032 OR_LEFT = _hexablock_swig.OR_LEFT
1033 OR_RIGHT = _hexablock_swig.OR_RIGHT
1034 OR_BACK = _hexablock_swig.OR_BACK
1035 IS_NONE = _hexablock_swig.IS_NONE
1036 IS_MARRIED = _hexablock_swig.IS_MARRIED
1037 NO_COUNTED = _hexablock_swig.NO_COUNTED
1038 NO_USED = _hexablock_swig.NO_USED
1039 IS_USED = _hexablock_swig.IS_USED
1040 V_AMONT = _hexablock_swig.V_AMONT
1041 V_AVAL = _hexablock_swig.V_AVAL
1042 V_TWO = _hexablock_swig.V_TWO
1043 E_A = _hexablock_swig.E_A
1044 E_B = _hexablock_swig.E_B
1045 E_C = _hexablock_swig.E_C
1046 E_D = _hexablock_swig.E_D
1047 QUAD4 = _hexablock_swig.QUAD4
1048 Q_A = _hexablock_swig.Q_A
1049 Q_B = _hexablock_swig.Q_B
1050 Q_C = _hexablock_swig.Q_C
1051 Q_D = _hexablock_swig.Q_D
1052 Q_E = _hexablock_swig.Q_E
1053 Q_F = _hexablock_swig.Q_F
1054 HQ_MAXI = _hexablock_swig.HQ_MAXI
1055 E_AC = _hexablock_swig.E_AC
1056 E_AD = _hexablock_swig.E_AD
1057 E_BC = _hexablock_swig.E_BC
1058 E_BD = _hexablock_swig.E_BD
1059 E_AE = _hexablock_swig.E_AE
1060 E_AF = _hexablock_swig.E_AF
1061 E_BE = _hexablock_swig.E_BE
1062 E_BF = _hexablock_swig.E_BF
1063 E_CE = _hexablock_swig.E_CE
1064 E_CF = _hexablock_swig.E_CF
1065 E_DE = _hexablock_swig.E_DE
1066 E_DF = _hexablock_swig.E_DF
1067 HE_MAXI = _hexablock_swig.HE_MAXI
1068 V_ACE = _hexablock_swig.V_ACE
1069 V_ACF = _hexablock_swig.V_ACF
1070 V_ADE = _hexablock_swig.V_ADE
1071 V_ADF = _hexablock_swig.V_ADF
1072 V_BCE = _hexablock_swig.V_BCE
1073 V_BCF = _hexablock_swig.V_BCF
1074 V_BDE = _hexablock_swig.V_BDE
1075 V_BDF = _hexablock_swig.V_BDF
1076 HV_MAXI = _hexablock_swig.HV_MAXI
1077 Q_INSIDE = _hexablock_swig.Q_INSIDE
1078 Q_DIRECT = _hexablock_swig.Q_DIRECT
1079 Q_INVERSE = _hexablock_swig.Q_INVERSE
1080 Q_UNDEFINED = _hexablock_swig.Q_UNDEFINED
1081 Q_WAITING = _hexablock_swig.Q_WAITING
1082 KS_Line = _hexablock_swig.KS_Line
1083 KS_Circle = _hexablock_swig.KS_Circle
1084 KS_Ellipse = _hexablock_swig.KS_Ellipse
1085 KS_Hyperbola = _hexablock_swig.KS_Hyperbola
1086 KS_Parabola = _hexablock_swig.KS_Parabola
1087 KS_BezierCurve = _hexablock_swig.KS_BezierCurve
1088 KS_BSplineCurve = _hexablock_swig.KS_BSplineCurve
1089 KS_OtherCurve = _hexablock_swig.KS_OtherCurve
1090 KS_None = _hexablock_swig.KS_None
1091 CylSmall = _hexablock_swig.CylSmall
1092 CylBig = _hexablock_swig.CylBig
1093 NxInt = _hexablock_swig.NxInt
1094 NxExt = _hexablock_swig.NxExt
1096 def get_temp_name(format, nomfic):
1097 return _hexablock_swig.get_temp_name(format, nomfic)
1098 get_temp_name = _hexablock_swig.get_temp_name
1100 def fatal_error(format, info1=None, info2=None):
1101 return _hexablock_swig.fatal_error(format, info1, info2)
1102 fatal_error = _hexablock_swig.fatal_error
1104 def prod_scalaire(v1, v2):
1105 return _hexablock_swig.prod_scalaire(v1, v2)
1106 prod_scalaire = _hexablock_swig.prod_scalaire
1108 def prod_vectoriel(v1, v2, v3):
1109 return _hexablock_swig.prod_vectoriel(v1, v2, v3)
1110 prod_vectoriel = _hexablock_swig.prod_vectoriel
1112 def prod_mixte(vi, vj, vk):
1113 return _hexablock_swig.prod_mixte(vi, vj, vk)
1114 prod_mixte = _hexablock_swig.prod_mixte
1116 def deg2radians(angle):
1117 return _hexablock_swig.deg2radians(angle)
1118 deg2radians = _hexablock_swig.deg2radians
1120 def rad2degres(angle):
1121 return _hexablock_swig.rad2degres(angle)
1122 rad2degres = _hexablock_swig.rad2degres
1125 return _hexablock_swig.calc_norme(v1)
1126 calc_norme = _hexablock_swig.calc_norme
1128 def calc_distance(v1, v2):
1129 return _hexablock_swig.calc_distance(v1, v2)
1130 calc_distance = _hexablock_swig.calc_distance
1132 def calc_d2(v1, v2):
1133 return _hexablock_swig.calc_d2(v1, v2)
1134 calc_d2 = _hexablock_swig.calc_d2
1136 def calc_vecteur(pta, ptb, vab):
1137 return _hexablock_swig.calc_vecteur(pta, ptb, vab)
1138 calc_vecteur = _hexablock_swig.calc_vecteur
1140 def copy_vecteur(va, vb):
1141 return _hexablock_swig.copy_vecteur(va, vb)
1142 copy_vecteur = _hexablock_swig.copy_vecteur
1144 def calc_milieu(pta, ptb, milieu):
1145 return _hexablock_swig.calc_milieu(pta, ptb, milieu)
1146 calc_milieu = _hexablock_swig.calc_milieu
1148 def normer_vecteur(v1):
1149 return _hexablock_swig.normer_vecteur(v1)
1150 normer_vecteur = _hexablock_swig.normer_vecteur
1153 return _hexablock_swig.carre(val)
1154 carre = _hexablock_swig.carre
1156 def same_coords(pa, pb, epsilon=1e-6):
1157 return _hexablock_swig.same_coords(pa, pb, epsilon)
1158 same_coords = _hexablock_swig.same_coords
1161 return _hexablock_swig.requals(*args)
1162 requals = _hexablock_swig.requals
1165 return _hexablock_swig.on_debug()
1166 on_debug = _hexablock_swig.on_debug
1169 return _hexablock_swig.in_test()
1170 in_test = _hexablock_swig.in_test
1173 return _hexablock_swig.niv_debug()
1174 niv_debug = _hexablock_swig.niv_debug
1176 def set_minus(chaine):
1177 return _hexablock_swig.set_minus(chaine)
1178 set_minus = _hexablock_swig.set_minus
1180 def special_option():
1181 return _hexablock_swig.special_option()
1182 special_option = _hexablock_swig.special_option
1184 def set_special_option(opt):
1185 return _hexablock_swig.set_special_option(opt)
1186 set_special_option = _hexablock_swig.set_special_option
1188 def sizeof_file(filename):
1189 return _hexablock_swig.sizeof_file(filename)
1190 sizeof_file = _hexablock_swig.sizeof_file
1192 def read_file(filename, size):
1193 return _hexablock_swig.read_file(filename, size)
1194 read_file = _hexablock_swig.read_file
1196 def get_time(buffer):
1197 return _hexablock_swig.get_time(buffer)
1198 get_time = _hexablock_swig.get_time
1200 def make_basename(filename, base):
1201 return _hexablock_swig.make_basename(filename, base)
1202 make_basename = _hexablock_swig.make_basename
1203 class EltBase(_object):
1204 __swig_setmethods__ = {}
1205 __setattr__ = lambda self, name, value: _swig_setattr(self, EltBase, name, value)
1206 __swig_getmethods__ = {}
1207 __getattr__ = lambda self, name: _swig_getattr(self, EltBase, name)
1208 __repr__ = _swig_repr
1210 def countHexa(self):
1211 return _hexablock_swig.EltBase_countHexa(self)
1213 def countQuad(self):
1214 return _hexablock_swig.EltBase_countQuad(self)
1216 def countEdge(self):
1217 return _hexablock_swig.EltBase_countEdge(self)
1219 def countVertex(self):
1220 return _hexablock_swig.EltBase_countVertex(self)
1222 def setError(self, kod=1):
1223 return _hexablock_swig.EltBase_setError(self, kod)
1226 return _hexablock_swig.EltBase_getError(self)
1229 return _hexablock_swig.EltBase_isValid(self)
1232 return _hexablock_swig.EltBase_isBad(self)
1234 def duplicate(self):
1235 return _hexablock_swig.EltBase_duplicate(self)
1237 def clearAssociation(self):
1238 return _hexablock_swig.EltBase_clearAssociation(self)
1240 def replaceEdge(self, old, nouveau):
1241 return _hexablock_swig.EltBase_replaceEdge(self, old, nouveau)
1243 def replaceVertex(self, old, nouveau):
1244 return _hexablock_swig.EltBase_replaceVertex(self, old, nouveau)
1246 def __init__(self, *args):
1247 this = _hexablock_swig.new_EltBase(*args)
1249 self.this.append(this)
1250 except __builtin__.Exception:
1252 __swig_destroy__ = _hexablock_swig.delete_EltBase
1253 __del__ = lambda self: None
1256 return _hexablock_swig.EltBase_remove(self)
1259 return _hexablock_swig.EltBase_suppress(self)
1262 return _hexablock_swig.EltBase_dump(self)
1264 def saveXml(self, xml):
1265 return _hexablock_swig.EltBase_saveXml(self, xml)
1267 def majReferences(self):
1268 return _hexablock_swig.EltBase_majReferences(self)
1270 def makeVarName(self, nom):
1271 return _hexablock_swig.EltBase_makeVarName(self, nom)
1273 makeName = staticmethod(_hexablock_swig.EltBase_makeName)
1275 makeName = _hexablock_swig.EltBase_makeName
1278 return _hexablock_swig.EltBase_next(self)
1280 def setNext(self, suivant):
1281 return _hexablock_swig.EltBase_setNext(self, suivant)
1284 return _hexablock_swig.EltBase_getId(self)
1286 def setId(self, ln):
1287 return _hexablock_swig.EltBase_setId(self, ln)
1290 return _hexablock_swig.EltBase_dad(self)
1293 return _hexablock_swig.EltBase_getType(self)
1296 return _hexablock_swig.EltBase_isHere(self)
1298 def isDeleted(self):
1299 return _hexablock_swig.EltBase_isDeleted(self)
1301 def razReferences(self):
1302 return _hexablock_swig.EltBase_razReferences(self)
1304 def addParent(self, dad):
1305 return _hexablock_swig.EltBase_addParent(self, dad)
1307 def getNbrParents(self):
1308 return _hexablock_swig.EltBase_getNbrParents(self)
1310 def hasParents(self):
1311 return _hexablock_swig.EltBase_hasParents(self)
1313 def getFather(self, nro):
1314 return _hexablock_swig.EltBase_getFather(self, nro)
1317 return _hexablock_swig.EltBase_getMark(self)
1319 def setMark(self, ln):
1320 return _hexablock_swig.EltBase_setMark(self, ln)
1322 def printName(self, *args):
1323 return _hexablock_swig.EltBase_printName(self, *args)
1326 return _hexablock_swig.EltBase_dumpRef(self)
1328 def getName(self, *args):
1329 return _hexablock_swig.EltBase_getName(self, *args)
1331 def setName(self, *args):
1332 return _hexablock_swig.EltBase_setName(self, *args)
1334 def debug(self, niv=0):
1335 return _hexablock_swig.EltBase_debug(self, niv)
1337 def isAssociated(self):
1338 return _hexablock_swig.EltBase_isAssociated(self)
1340 def getNextName(self):
1341 return _hexablock_swig.EltBase_getNextName(self)
1342 EltBase_swigregister = _hexablock_swig.EltBase_swigregister
1343 EltBase_swigregister(EltBase)
1344 cvar = _hexablock_swig.cvar
1345 ABR_TYPES = cvar.ABR_TYPES
1347 UnEpsil = cvar.UnEpsil
1348 Epsil2 = cvar.Epsil2
1350 def EltBase_makeName(type, id, name):
1351 return _hexablock_swig.EltBase_makeName(type, id, name)
1352 EltBase_makeName = _hexablock_swig.EltBase_makeName
1354 class Vertex(EltBase):
1355 __swig_setmethods__ = {}
1356 for _s in [EltBase]:
1357 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1358 __setattr__ = lambda self, name, value: _swig_setattr(self, Vertex, name, value)
1359 __swig_getmethods__ = {}
1360 for _s in [EltBase]:
1361 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1362 __getattr__ = lambda self, name: _swig_getattr(self, Vertex, name)
1363 __repr__ = _swig_repr
1366 return _hexablock_swig.Vertex_getX(self)
1369 return _hexablock_swig.Vertex_getY(self)
1372 return _hexablock_swig.Vertex_getZ(self)
1375 return _hexablock_swig.Vertex_setX(self, v)
1378 return _hexablock_swig.Vertex_setY(self, v)
1381 return _hexablock_swig.Vertex_setZ(self, v)
1384 return _hexablock_swig.Vertex_getAssoX(self)
1387 return _hexablock_swig.Vertex_getAssoY(self)
1390 return _hexablock_swig.Vertex_getAssoZ(self)
1392 def setAssociation(self, geom, subid):
1393 return _hexablock_swig.Vertex_setAssociation(self, geom, subid)
1395 def clearAssociation(self):
1396 return _hexablock_swig.Vertex_clearAssociation(self)
1398 def setColor(self, valeur):
1399 return _hexablock_swig.Vertex_setColor(self, valeur)
1401 def __init__(self, prev, x, y, z):
1402 this = _hexablock_swig.new_Vertex(prev, x, y, z)
1404 self.this.append(this)
1405 except __builtin__.Exception:
1407 __swig_destroy__ = _hexablock_swig.delete_Vertex
1408 __del__ = lambda self: None
1409 Vertex_swigregister = _hexablock_swig.Vertex_swigregister
1410 Vertex_swigregister(Vertex)
1412 class Edge(EltBase):
1413 __swig_setmethods__ = {}
1414 for _s in [EltBase]:
1415 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1416 __setattr__ = lambda self, name, value: _swig_setattr(self, Edge, name, value)
1417 __swig_getmethods__ = {}
1418 for _s in [EltBase]:
1419 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1420 __getattr__ = lambda self, name: _swig_getattr(self, Edge, name)
1421 __repr__ = _swig_repr
1423 def getVertex(self, nro):
1424 return _hexablock_swig.Edge_getVertex(self, nro)
1426 def addAssociation(self, geom, subid, deb, fin):
1427 return _hexablock_swig.Edge_addAssociation(self, geom, subid, deb, fin)
1429 def setAssociation(self, geom, subid):
1430 return _hexablock_swig.Edge_setAssociation(self, geom, subid)
1432 def findAssociation(self, geom):
1433 return _hexablock_swig.Edge_findAssociation(self, geom)
1435 def clearAssociation(self):
1436 return _hexablock_swig.Edge_clearAssociation(self)
1438 def setColor(self, valeur):
1439 return _hexablock_swig.Edge_setColor(self, valeur)
1442 return _hexablock_swig.Edge_getWay(self)
1444 def getLength(self):
1445 return _hexablock_swig.Edge_getLength(self)
1447 def __init__(self, va, vb):
1448 this = _hexablock_swig.new_Edge(va, vb)
1450 self.this.append(this)
1451 except __builtin__.Exception:
1453 __swig_destroy__ = _hexablock_swig.delete_Edge
1454 __del__ = lambda self: None
1455 Edge_swigregister = _hexablock_swig.Edge_swigregister
1456 Edge_swigregister(Edge)
1458 class Quad(EltBase):
1459 __swig_setmethods__ = {}
1460 for _s in [EltBase]:
1461 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1462 __setattr__ = lambda self, name, value: _swig_setattr(self, Quad, name, value)
1463 __swig_getmethods__ = {}
1464 for _s in [EltBase]:
1465 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1466 __getattr__ = lambda self, name: _swig_getattr(self, Quad, name)
1467 __repr__ = _swig_repr
1469 def getEdge(self, nro):
1470 return _hexablock_swig.Quad_getEdge(self, nro)
1472 def getVertex(self, nro):
1473 return _hexablock_swig.Quad_getVertex(self, nro)
1475 def addAssociation(self, forme, subid):
1476 return _hexablock_swig.Quad_addAssociation(self, forme, subid)
1478 def clearAssociation(self):
1479 return _hexablock_swig.Quad_clearAssociation(self)
1481 def setColor(self, valeur):
1482 return _hexablock_swig.Quad_setColor(self, valeur)
1484 def nearestVertex(self, other):
1485 return _hexablock_swig.Quad_nearestVertex(self, other)
1487 def getCenter(self, center):
1488 return _hexablock_swig.Quad_getCenter(self, center)
1490 def __init__(self, va, vb, vc, vd):
1491 this = _hexablock_swig.new_Quad(va, vb, vc, vd)
1493 self.this.append(this)
1494 except __builtin__.Exception:
1496 __swig_destroy__ = _hexablock_swig.delete_Quad
1497 __del__ = lambda self: None
1498 Quad_swigregister = _hexablock_swig.Quad_swigregister
1499 Quad_swigregister(Quad)
1501 class Hexa(EltBase):
1502 __swig_setmethods__ = {}
1503 for _s in [EltBase]:
1504 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1505 __setattr__ = lambda self, name, value: _swig_setattr(self, Hexa, name, value)
1506 __swig_getmethods__ = {}
1507 for _s in [EltBase]:
1508 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1509 __getattr__ = lambda self, name: _swig_getattr(self, Hexa, name)
1510 __repr__ = _swig_repr
1512 def getQuad(self, nro):
1513 return _hexablock_swig.Hexa_getQuad(self, nro)
1515 def getEdge(self, nro):
1516 return _hexablock_swig.Hexa_getEdge(self, nro)
1518 def getVertex(self, nro):
1519 return _hexablock_swig.Hexa_getVertex(self, nro)
1521 def setColor(self, valeur):
1522 return _hexablock_swig.Hexa_setColor(self, valeur)
1524 def __init__(self, qa, qb, qc, qd, qe, qf):
1525 this = _hexablock_swig.new_Hexa(qa, qb, qc, qd, qe, qf)
1527 self.this.append(this)
1528 except __builtin__.Exception:
1530 __swig_destroy__ = _hexablock_swig.delete_Hexa
1531 __del__ = lambda self: None
1532 Hexa_swigregister = _hexablock_swig.Hexa_swigregister
1533 Hexa_swigregister(Hexa)
1535 class Vector(EltBase):
1536 __swig_setmethods__ = {}
1537 for _s in [EltBase]:
1538 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1539 __setattr__ = lambda self, name, value: _swig_setattr(self, Vector, name, value)
1540 __swig_getmethods__ = {}
1541 for _s in [EltBase]:
1542 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1543 __getattr__ = lambda self, name: _swig_getattr(self, Vector, name)
1544 __repr__ = _swig_repr
1547 return _hexablock_swig.Vector_getDx(self)
1550 return _hexablock_swig.Vector_getDy(self)
1553 return _hexablock_swig.Vector_getDz(self)
1556 return _hexablock_swig.Vector_getNorm(self)
1558 def getAngleX(self):
1559 return _hexablock_swig.Vector_getAngleX(self)
1561 def __init__(self, doc, dx=0, dy=0, dz=0):
1562 this = _hexablock_swig.new_Vector(doc, dx, dy, dz)
1564 self.this.append(this)
1565 except __builtin__.Exception:
1567 __swig_destroy__ = _hexablock_swig.delete_Vector
1568 __del__ = lambda self: None
1569 Vector_swigregister = _hexablock_swig.Vector_swigregister
1570 Vector_swigregister(Vector)
1572 class Document(EltBase):
1573 __swig_setmethods__ = {}
1574 for _s in [EltBase]:
1575 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
1576 __setattr__ = lambda self, name, value: _swig_setattr(self, Document, name, value)
1577 __swig_getmethods__ = {}
1578 for _s in [EltBase]:
1579 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
1580 __getattr__ = lambda self, name: _swig_getattr(self, Document, name)
1581 __repr__ = _swig_repr
1583 def __init__(self, name, dad=None):
1584 this = _hexablock_swig.new_Document(name, dad)
1586 self.this.append(this)
1587 except __builtin__.Exception:
1591 return _hexablock_swig.Document_dump(self)
1593 def setName(self, name):
1594 return _hexablock_swig.Document_setName(self, name)
1596 def setLevel(self, niv):
1597 return _hexablock_swig.Document_setLevel(self, niv)
1599 def save(self, ficxml):
1600 return _hexablock_swig.Document_save(self, ficxml)
1602 def saveVtk(self, nomfic):
1603 return _hexablock_swig.Document_saveVtk(self, nomfic)
1606 return _hexablock_swig.Document_purge(self)
1608 def setTolerance(self, tol):
1609 return _hexablock_swig.Document_setTolerance(self, tol)
1611 def getTolerance(self):
1612 return _hexablock_swig.Document_getTolerance(self)
1614 def addVertex(self, x=0.0, y=0.0, z=0.0):
1615 return _hexablock_swig.Document_addVertex(self, x, y, z)
1617 def addEdge(self, va, vb):
1618 return _hexablock_swig.Document_addEdge(self, va, vb)
1620 def addEdgeVector(self, va, vec):
1621 return _hexablock_swig.Document_addEdgeVector(self, va, vec)
1623 def addQuad(self, v1, v2, v3, v4):
1624 return _hexablock_swig.Document_addQuad(self, v1, v2, v3, v4)
1626 def addQuadVertices(self, v1, v2, v3, v4):
1627 return _hexablock_swig.Document_addQuadVertices(self, v1, v2, v3, v4)
1629 def addHexa(self, qa, qb, qc, qd, qe, qf):
1630 return _hexablock_swig.Document_addHexa(self, qa, qb, qc, qd, qe, qf)
1632 def addHexaVertices(self, v1, v2, v3, v4, v5, v6, v7, v8):
1633 return _hexablock_swig.Document_addHexaVertices(self, v1, v2, v3, v4, v5, v6, v7, v8)
1635 def addHexa2Quads(self, q1, q2):
1636 return _hexablock_swig.Document_addHexa2Quads(self, q1, q2)
1638 def addHexa3Quads(self, q1, q2, q3):
1639 return _hexablock_swig.Document_addHexa3Quads(self, q1, q2, q3)
1641 def addHexa4Quads(self, q1, q2, q3, q4):
1642 return _hexablock_swig.Document_addHexa4Quads(self, q1, q2, q3, q4)
1644 def addHexa5Quads(self, q1, q2, q3, q4, q5):
1645 return _hexablock_swig.Document_addHexa5Quads(self, q1, q2, q3, q4, q5)
1647 def addVector(self, dx=0.0, dy=0.0, dz=0.0):
1648 return _hexablock_swig.Document_addVector(self, dx, dy, dz)
1650 def addVectorVertices(self, va, vb):
1651 return _hexablock_swig.Document_addVectorVertices(self, va, vb)
1653 def addLaws(self, lgmoy, usemax=True):
1654 return _hexablock_swig.Document_addLaws(self, lgmoy, usemax)
1656 def addHexaGroup(self, name):
1657 return _hexablock_swig.Document_addHexaGroup(self, name)
1659 def addQuadGroup(self, name):
1660 return _hexablock_swig.Document_addQuadGroup(self, name)
1662 def addQuadNodeGroup(self, name):
1663 return _hexablock_swig.Document_addQuadNodeGroup(self, name)
1665 def addHexaNodeGroup(self, name):
1666 return _hexablock_swig.Document_addHexaNodeGroup(self, name)
1668 def addEdgeGroup(self, name):
1669 return _hexablock_swig.Document_addEdgeGroup(self, name)
1671 def addEdgeNodeGroup(self, name):
1672 return _hexablock_swig.Document_addEdgeNodeGroup(self, name)
1674 def addVertexNodeGroup(self, name):
1675 return _hexablock_swig.Document_addVertexNodeGroup(self, name)
1677 def makeTranslation(self, elts, trans):
1678 return _hexablock_swig.Document_makeTranslation(self, elts, trans)
1680 def makeScale(self, elts, ver, k):
1681 return _hexablock_swig.Document_makeScale(self, elts, ver, k)
1683 def makeRotation(self, elts, ver, vec, angle):
1684 return _hexablock_swig.Document_makeRotation(self, elts, ver, vec, angle)
1686 def makeSymmetryPoint(self, elts, ver):
1687 return _hexablock_swig.Document_makeSymmetryPoint(self, elts, ver)
1689 def makeSymmetryLine(self, elts, ver, vec):
1690 return _hexablock_swig.Document_makeSymmetryLine(self, elts, ver, vec)
1692 def makeSymmetryPlane(self, elts, ver, vec):
1693 return _hexablock_swig.Document_makeSymmetryPlane(self, elts, ver, vec)
1695 def performTranslation(self, elts, trans):
1696 return _hexablock_swig.Document_performTranslation(self, elts, trans)
1698 def performScale(self, elts, ver, k):
1699 return _hexablock_swig.Document_performScale(self, elts, ver, k)
1701 def performRotation(self, elts, ver, vec, angle):
1702 return _hexablock_swig.Document_performRotation(self, elts, ver, vec, angle)
1704 def performSymmetryPoint(self, elts, ver):
1705 return _hexablock_swig.Document_performSymmetryPoint(self, elts, ver)
1707 def performSymmetryLine(self, elts, ver, vec):
1708 return _hexablock_swig.Document_performSymmetryLine(self, elts, ver, vec)
1710 def performSymmetryPlane(self, elts, ver, vec):
1711 return _hexablock_swig.Document_performSymmetryPlane(self, elts, ver, vec)
1713 def disconnectQuad(self, maille, face):
1714 return _hexablock_swig.Document_disconnectQuad(self, maille, face)
1716 def disconnectEdge(self, maille, arete):
1717 return _hexablock_swig.Document_disconnectEdge(self, maille, arete)
1719 def disconnectVertex(self, maille, noeud):
1720 return _hexablock_swig.Document_disconnectVertex(self, maille, noeud)
1722 def disconnectEdges(self, thexas, edges):
1723 return _hexablock_swig.Document_disconnectEdges(self, thexas, edges)
1725 def replace(self, pattern, cible, p1, c1, p2, c2):
1726 return _hexablock_swig.Document_replace(self, pattern, cible, p1, c1, p2, c2)
1728 def mergeVertices(self, v1, v2):
1729 return _hexablock_swig.Document_mergeVertices(self, v1, v2)
1731 def mergeEdges(self, e1, e2, v1, v2):
1732 return _hexablock_swig.Document_mergeEdges(self, e1, e2, v1, v2)
1734 def mergeQuads(self, q1, q2, v1, v2, v3, v4):
1735 return _hexablock_swig.Document_mergeQuads(self, q1, q2, v1, v2, v3, v4)
1737 def clearAssociation(self):
1738 return _hexablock_swig.Document_clearAssociation(self)
1740 def associateOpenedLine(self, mline, gline, tabid, pstart, pend):
1741 return _hexablock_swig.Document_associateOpenedLine(self, mline, gline, tabid, pstart, pend)
1743 def associateClosedLine(self, mfirst, mline, gline, tabid, pstart, inv):
1744 return _hexablock_swig.Document_associateClosedLine(self, mfirst, mline, gline, tabid, pstart, inv)
1746 def countHexa(self):
1747 return _hexablock_swig.Document_countHexa(self)
1749 def countQuad(self):
1750 return _hexablock_swig.Document_countQuad(self)
1752 def countEdge(self):
1753 return _hexablock_swig.Document_countEdge(self)
1755 def countVertex(self):
1756 return _hexablock_swig.Document_countVertex(self)
1758 def countVector(self):
1759 return _hexablock_swig.Document_countVector(self)
1761 def countGroup(self):
1762 return _hexablock_swig.Document_countGroup(self)
1765 return _hexablock_swig.Document_countLaw(self)
1767 def countPropagation(self):
1768 return _hexablock_swig.Document_countPropagation(self)
1770 def countShape(self):
1771 return _hexablock_swig.Document_countShape(self)
1773 def countUsedHexa(self):
1774 return _hexablock_swig.Document_countUsedHexa(self)
1776 def countUsedQuad(self):
1777 return _hexablock_swig.Document_countUsedQuad(self)
1779 def countUsedEdge(self):
1780 return _hexablock_swig.Document_countUsedEdge(self)
1782 def countUsedVertex(self):
1783 return _hexablock_swig.Document_countUsedVertex(self)
1785 def getHexa(self, nro):
1786 return _hexablock_swig.Document_getHexa(self, nro)
1788 def getQuad(self, nro):
1789 return _hexablock_swig.Document_getQuad(self, nro)
1791 def getEdge(self, nro):
1792 return _hexablock_swig.Document_getEdge(self, nro)
1794 def getVertex(self, nro):
1795 return _hexablock_swig.Document_getVertex(self, nro)
1797 def getUsedHexa(self, nro):
1798 return _hexablock_swig.Document_getUsedHexa(self, nro)
1800 def getUsedQuad(self, nro):
1801 return _hexablock_swig.Document_getUsedQuad(self, nro)
1803 def getUsedEdge(self, nro):
1804 return _hexablock_swig.Document_getUsedEdge(self, nro)
1806 def getUsedVertex(self, nro):
1807 return _hexablock_swig.Document_getUsedVertex(self, nro)
1809 def getVector(self, nro):
1810 return _hexablock_swig.Document_getVector(self, nro)
1812 def getShape(self, nro):
1813 return _hexablock_swig.Document_getShape(self, nro)
1815 def getGroup(self, nro):
1816 return _hexablock_swig.Document_getGroup(self, nro)
1818 def getLaw(self, nro):
1819 return _hexablock_swig.Document_getLaw(self, nro)
1821 def getPropagation(self, nro):
1822 return _hexablock_swig.Document_getPropagation(self, nro)
1824 def getFirstExplicitShape(self):
1825 return _hexablock_swig.Document_getFirstExplicitShape(self)
1827 def findEdge(self, va, vb):
1828 return _hexablock_swig.Document_findEdge(self, va, vb)
1830 def findQuad(self, *args):
1831 return _hexablock_swig.Document_findQuad(self, *args)
1833 def findHexa(self, va, vb):
1834 return _hexablock_swig.Document_findHexa(self, va, vb)
1836 def findGroup(self, name):
1837 return _hexablock_swig.Document_findGroup(self, name)
1839 def findLaw(self, name):
1840 return _hexablock_swig.Document_findLaw(self, name)
1842 def findPropagation(self, arete):
1843 return _hexablock_swig.Document_findPropagation(self, arete)
1845 def removeHexa(self, maille):
1846 return _hexablock_swig.Document_removeHexa(self, maille)
1848 def removeQuad(self, maille):
1849 return _hexablock_swig.Document_removeQuad(self, maille)
1851 def removeConnectedHexa(self, maille):
1852 return _hexablock_swig.Document_removeConnectedHexa(self, maille)
1854 def removeElements(self, bloc):
1855 return _hexablock_swig.Document_removeElements(self, bloc)
1857 def removeGroup(self, grp):
1858 return _hexablock_swig.Document_removeGroup(self, grp)
1860 def removeLaw(self, lau):
1861 return _hexablock_swig.Document_removeLaw(self, lau)
1863 def makeCartesianTop(self, nx, ny, nz):
1864 return _hexablock_swig.Document_makeCartesianTop(self, nx, ny, nz)
1866 def makeCartesianUni(self, ori, vx, vy, vz, lx, ly, lz, nx, ny, nz):
1867 return _hexablock_swig.Document_makeCartesianUni(self, ori, vx, vy, vz, lx, ly, lz, nx, ny, nz)
1869 def makeCartesian(self, ori, vx, vy, vz, tlx, tly, tlz):
1870 return _hexablock_swig.Document_makeCartesian(self, ori, vx, vy, vz, tlx, tly, tlz)
1872 def makeCylinderTop(self, nr, na, nh):
1873 return _hexablock_swig.Document_makeCylinderTop(self, nr, na, nh)
1875 def makeCylinderUni(self, orig, vx, vz, rint, rext, ang, haut, nr, na, nh):
1876 return _hexablock_swig.Document_makeCylinderUni(self, orig, vx, vz, rint, rext, ang, haut, nr, na, nh)
1878 def makeCylinder(self, orig, vx, vz, tray, tang, thaut):
1879 return _hexablock_swig.Document_makeCylinder(self, orig, vx, vz, tray, tang, thaut)
1881 def makePipeTop(self, nr, na, nh):
1882 return _hexablock_swig.Document_makePipeTop(self, nr, na, nh)
1884 def makePipeUni(self, orig, vx, vz, rint, rext, angle, haut, nr, na, nh):
1885 return _hexablock_swig.Document_makePipeUni(self, orig, vx, vz, rint, rext, angle, haut, nr, na, nh)
1887 def makePipe(self, orig, vx, vz, tray, tang, thaut):
1888 return _hexablock_swig.Document_makePipe(self, orig, vx, vz, tray, tang, thaut)
1890 def makeSphericalTop(self, nbre, crit=0):
1891 return _hexablock_swig.Document_makeSphericalTop(self, nbre, crit)
1893 def makeSphericalUni(self, centre, vx, vz, rayon, nbre, crit=0):
1894 return _hexablock_swig.Document_makeSphericalUni(self, centre, vx, vz, rayon, nbre, crit)
1896 def makeSpherical(self, centre, vx, vz, rayon, crit=0):
1897 return _hexablock_swig.Document_makeSpherical(self, centre, vx, vz, rayon, crit)
1899 def makeSphereTop(self, nr, na, nh):
1900 return _hexablock_swig.Document_makeSphereTop(self, nr, na, nh)
1902 def makeSphereUni(self, centre, vx, vz, rtrou, rext, ang, vplan, nr, na, nh):
1903 return _hexablock_swig.Document_makeSphereUni(self, centre, vx, vz, rtrou, rext, ang, vplan, nr, na, nh)
1905 def makeSphere(self, centre, vx, vz, tray, tang, thaut):
1906 return _hexablock_swig.Document_makeSphere(self, centre, vx, vz, tray, tang, thaut)
1908 def makeRindTop(self, nr, na, nh):
1909 return _hexablock_swig.Document_makeRindTop(self, nr, na, nh)
1911 def makeRindUni(self, centre, vx, vz, raytrou, rint, rext, ang, vplan, nr, na, nh):
1912 return _hexablock_swig.Document_makeRindUni(self, centre, vx, vz, raytrou, rint, rext, ang, vplan, nr, na, nh)
1914 def makeRind(self, centre, vx, vz, tray, tang, thaut):
1915 return _hexablock_swig.Document_makeRind(self, centre, vx, vz, tray, tang, thaut)
1917 def makeCylinders(self, ori1, z1, r1, h1, ori2, z2, r2, h2):
1918 return _hexablock_swig.Document_makeCylinders(self, ori1, z1, r1, h1, ori2, z2, r2, h2)
1920 def makePipes(self, ori1, z1, rint1, rex1, h1, ori2, z2, rint2, rex2, h2):
1921 return _hexablock_swig.Document_makePipes(self, ori1, z1, rint1, rex1, h1, ori2, z2, rint2, rex2, h2)
1923 def extrudeQuadTop(self, start, nbre):
1924 return _hexablock_swig.Document_extrudeQuadTop(self, start, nbre)
1926 def extrudeQuadUni(self, start, dv, len, nbre):
1927 return _hexablock_swig.Document_extrudeQuadUni(self, start, dv, len, nbre)
1929 def extrudeQuad(self, start, dv, tlen):
1930 return _hexablock_swig.Document_extrudeQuad(self, start, dv, tlen)
1932 def extrudeQuadsTop(self, start, nbre):
1933 return _hexablock_swig.Document_extrudeQuadsTop(self, start, nbre)
1935 def extrudeQuadsUni(self, start, axis, len, nbre):
1936 return _hexablock_swig.Document_extrudeQuadsUni(self, start, axis, len, nbre)
1938 def extrudeQuads(self, start, axis, tlen):
1939 return _hexablock_swig.Document_extrudeQuads(self, start, axis, tlen)
1941 def revolutionQuadUni(self, start, center, axis, angle, nbre):
1942 return _hexablock_swig.Document_revolutionQuadUni(self, start, center, axis, angle, nbre)
1944 def revolutionQuad(self, start, center, axis, angles):
1945 return _hexablock_swig.Document_revolutionQuad(self, start, center, axis, angles)
1947 def revolutionQuadsUni(self, start, center, axis, angle, nbre):
1948 return _hexablock_swig.Document_revolutionQuadsUni(self, start, center, axis, angle, nbre)
1950 def revolutionQuads(self, start, center, axis, angles):
1951 return _hexablock_swig.Document_revolutionQuads(self, start, center, axis, angles)
1953 def joinQuadUni(self, start, dest, v1, v2, v3, v4, nb):
1954 return _hexablock_swig.Document_joinQuadUni(self, start, dest, v1, v2, v3, v4, nb)
1956 def joinQuadsUni(self, start, dest, v1, v2, v3, v4, nb):
1957 return _hexablock_swig.Document_joinQuadsUni(self, start, dest, v1, v2, v3, v4, nb)
1959 def joinQuad(self, start, dest, va1, vb1, va2, vb2, tlen):
1960 return _hexablock_swig.Document_joinQuad(self, start, dest, va1, vb1, va2, vb2, tlen)
1962 def joinQuads(self, start, dest, va1, vb1, va2, vb2, tlen):
1963 return _hexablock_swig.Document_joinQuads(self, start, dest, va1, vb1, va2, vb2, tlen)
1965 def cutUni(self, eddge, nbre):
1966 return _hexablock_swig.Document_cutUni(self, eddge, nbre)
1968 def cut(self, eddge, tlen):
1969 return _hexablock_swig.Document_cut(self, eddge, tlen)
1971 def addGroup(self, name, kind):
1972 return _hexablock_swig.Document_addGroup(self, name, kind)
1975 return _hexablock_swig.Document_isSaved(self)
1977 def appendXml(self, fstudy):
1978 return _hexablock_swig.Document_appendXml(self, fstudy)
1981 return _hexablock_swig.Document_getXml(self)
1984 return _hexablock_swig.Document_getLevel(self)
1986 def findVertex(self, *args):
1987 return _hexablock_swig.Document_findVertex(self, *args)
1989 def closeQuads(self, q1, q2):
1990 return _hexablock_swig.Document_closeQuads(self, q1, q2)
1992 def addLaw(self, *args):
1993 return _hexablock_swig.Document_addLaw(self, *args)
1995 def checkAssociations(self):
1996 return _hexablock_swig.Document_checkAssociations(self)
1998 def addShape(self, forme, name):
1999 return _hexablock_swig.Document_addShape(self, forme, name)
2000 __swig_destroy__ = _hexablock_swig.delete_Document
2001 __del__ = lambda self: None
2002 Document_swigregister = _hexablock_swig.Document_swigregister
2003 Document_swigregister(Document)
2005 class Propagation(EltBase):
2006 __swig_setmethods__ = {}
2007 for _s in [EltBase]:
2008 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2009 __setattr__ = lambda self, name, value: _swig_setattr(self, Propagation, name, value)
2010 __swig_getmethods__ = {}
2011 for _s in [EltBase]:
2012 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2013 __getattr__ = lambda self, name: _swig_getattr(self, Propagation, name)
2014 __repr__ = _swig_repr
2017 return _hexablock_swig.Propagation_getEdges(self)
2020 return _hexablock_swig.Propagation_getLaw(self)
2023 return _hexablock_swig.Propagation_getWay(self)
2025 def setWay(self, sens):
2026 return _hexablock_swig.Propagation_setWay(self, sens)
2028 def setLaw(self, loi):
2029 return _hexablock_swig.Propagation_setLaw(self, loi)
2031 def __init__(self, doc):
2032 this = _hexablock_swig.new_Propagation(doc)
2034 self.this.append(this)
2035 except __builtin__.Exception:
2038 def saveXml(self, xml):
2039 return _hexablock_swig.Propagation_saveXml(self, xml)
2041 def addEdge(self, arete):
2042 return _hexablock_swig.Propagation_addEdge(self, arete)
2045 return _hexablock_swig.Propagation_majLaw(self)
2046 __swig_destroy__ = _hexablock_swig.delete_Propagation
2047 __del__ = lambda self: None
2048 Propagation_swigregister = _hexablock_swig.Propagation_swigregister
2049 Propagation_swigregister(Propagation)
2053 return _hexablock_swig.hex_instance()
2054 hex_instance = _hexablock_swig.hex_instance
2056 __swig_setmethods__ = {}
2057 __setattr__ = lambda self, name, value: _swig_setattr(self, Hex, name, value)
2058 __swig_getmethods__ = {}
2059 __getattr__ = lambda self, name: _swig_getattr(self, Hex, name)
2060 __repr__ = _swig_repr
2062 getInstance = staticmethod(_hexablock_swig.Hex_getInstance)
2064 getInstance = _hexablock_swig.Hex_getInstance
2066 def countDocument(self):
2067 return _hexablock_swig.Hex_countDocument(self)
2069 def getDocument(self, nro):
2070 return _hexablock_swig.Hex_getDocument(self, nro)
2072 def removeDocument(self, doc):
2073 return _hexablock_swig.Hex_removeDocument(self, doc)
2075 def addDocument(self, *args):
2076 return _hexablock_swig.Hex_addDocument(self, *args)
2078 def loadDocument(self, name):
2079 return _hexablock_swig.Hex_loadDocument(self, name)
2081 def findDocument(self, *args):
2082 return _hexablock_swig.Hex_findDocument(self, *args)
2085 return _hexablock_swig.Hex_what(self)
2087 def sizeofMessage(self):
2088 return _hexablock_swig.Hex_sizeofMessage(self)
2090 def getMessageLine(self, nlig):
2091 return _hexablock_swig.Hex_getMessageLine(self, nlig)
2094 this = _hexablock_swig.new_Hex()
2096 self.this.append(this)
2097 except __builtin__.Exception:
2099 __swig_destroy__ = _hexablock_swig.delete_Hex
2100 __del__ = lambda self: None
2101 Hex_swigregister = _hexablock_swig.Hex_swigregister
2102 Hex_swigregister(Hex)
2104 def Hex_getInstance():
2105 return _hexablock_swig.Hex_getInstance()
2106 Hex_getInstance = _hexablock_swig.Hex_getInstance
2110 return _hexablock_swig.what()
2111 what = _hexablock_swig.what
2112 class Elements(EltBase):
2113 __swig_setmethods__ = {}
2114 for _s in [EltBase]:
2115 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2116 __setattr__ = lambda self, name, value: _swig_setattr(self, Elements, name, value)
2117 __swig_getmethods__ = {}
2118 for _s in [EltBase]:
2119 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2120 __getattr__ = lambda self, name: _swig_getattr(self, Elements, name)
2121 __repr__ = _swig_repr
2123 def getHexa(self, nro):
2124 return _hexablock_swig.Elements_getHexa(self, nro)
2126 def getQuad(self, nro):
2127 return _hexablock_swig.Elements_getQuad(self, nro)
2129 def getEdge(self, nro):
2130 return _hexablock_swig.Elements_getEdge(self, nro)
2132 def getVertex(self, nro):
2133 return _hexablock_swig.Elements_getVertex(self, nro)
2135 def getHexaIJK(self, nx, ny, nz):
2136 return _hexablock_swig.Elements_getHexaIJK(self, nx, ny, nz)
2138 def getQuadIJ(self, nx, ny, nz):
2139 return _hexablock_swig.Elements_getQuadIJ(self, nx, ny, nz)
2141 def getQuadJK(self, nx, ny, nz):
2142 return _hexablock_swig.Elements_getQuadJK(self, nx, ny, nz)
2144 def getQuadIK(self, nx, ny, nz):
2145 return _hexablock_swig.Elements_getQuadIK(self, nx, ny, nz)
2147 def getEdgeI(self, nx, ny, nz):
2148 return _hexablock_swig.Elements_getEdgeI(self, nx, ny, nz)
2150 def getEdgeJ(self, nx, ny, nz):
2151 return _hexablock_swig.Elements_getEdgeJ(self, nx, ny, nz)
2153 def getEdgeK(self, nx, ny, nz):
2154 return _hexablock_swig.Elements_getEdgeK(self, nx, ny, nz)
2156 def getVertexIJK(self, nx, ny, nz):
2157 return _hexablock_swig.Elements_getVertexIJK(self, nx, ny, nz)
2159 def countHexa(self):
2160 return _hexablock_swig.Elements_countHexa(self)
2162 def countQuad(self):
2163 return _hexablock_swig.Elements_countQuad(self)
2165 def countEdge(self):
2166 return _hexablock_swig.Elements_countEdge(self)
2168 def countVertex(self):
2169 return _hexablock_swig.Elements_countVertex(self)
2171 def nearestVertex(self, other):
2172 return _hexablock_swig.Elements_nearestVertex(self, other)
2174 def findVertex(self, elt):
2175 return _hexablock_swig.Elements_findVertex(self, elt)
2177 def clearAssociation(self):
2178 return _hexablock_swig.Elements_clearAssociation(self)
2180 def saveVtk(self, nomfic):
2181 return _hexablock_swig.Elements_saveVtk(self, nomfic)
2183 def __init__(self, doc):
2184 this = _hexablock_swig.new_Elements(doc)
2186 self.this.append(this)
2187 except __builtin__.Exception:
2189 __swig_destroy__ = _hexablock_swig.delete_Elements
2190 __del__ = lambda self: None
2191 Elements_swigregister = _hexablock_swig.Elements_swigregister
2192 Elements_swigregister(Elements)
2194 class BiCylinder(Elements):
2195 __swig_setmethods__ = {}
2196 for _s in [Elements]:
2197 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2198 __setattr__ = lambda self, name, value: _swig_setattr(self, BiCylinder, name, value)
2199 __swig_getmethods__ = {}
2200 for _s in [Elements]:
2201 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2202 __getattr__ = lambda self, name: _swig_getattr(self, BiCylinder, name)
2203 __repr__ = _swig_repr
2205 def __init__(self, doc):
2206 this = _hexablock_swig.new_BiCylinder(doc)
2208 self.this.append(this)
2209 except __builtin__.Exception:
2212 def getHexaIJK(self, part, nx, ny, nz):
2213 return _hexablock_swig.BiCylinder_getHexaIJK(self, part, nx, ny, nz)
2215 def getQuadIJ(self, part, nx, ny, nz):
2216 return _hexablock_swig.BiCylinder_getQuadIJ(self, part, nx, ny, nz)
2218 def getQuadJK(self, part, nx, ny, nz):
2219 return _hexablock_swig.BiCylinder_getQuadJK(self, part, nx, ny, nz)
2221 def getQuadIK(self, part, nx, ny, nz):
2222 return _hexablock_swig.BiCylinder_getQuadIK(self, part, nx, ny, nz)
2224 def getEdgeI(self, part, nx, ny, nz):
2225 return _hexablock_swig.BiCylinder_getEdgeI(self, part, nx, ny, nz)
2227 def getEdgeJ(self, part, nx, ny, nz):
2228 return _hexablock_swig.BiCylinder_getEdgeJ(self, part, nx, ny, nz)
2230 def getEdgeK(self, part, nx, ny, nz):
2231 return _hexablock_swig.BiCylinder_getEdgeK(self, part, nx, ny, nz)
2233 def getVertexIJK(self, part, nx, ny, nz):
2234 return _hexablock_swig.BiCylinder_getVertexIJK(self, part, nx, ny, nz)
2235 __swig_destroy__ = _hexablock_swig.delete_BiCylinder
2236 __del__ = lambda self: None
2237 BiCylinder_swigregister = _hexablock_swig.BiCylinder_swigregister
2238 BiCylinder_swigregister(BiCylinder)
2240 class NewShape(EltBase):
2241 __swig_setmethods__ = {}
2242 for _s in [EltBase]:
2243 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2244 __setattr__ = lambda self, name, value: _swig_setattr(self, NewShape, name, value)
2245 __swig_getmethods__ = {}
2246 for _s in [EltBase]:
2247 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2248 __getattr__ = lambda self, name: _swig_getattr(self, NewShape, name)
2249 __repr__ = _swig_repr
2251 def countVertex(self):
2252 return _hexablock_swig.NewShape_countVertex(self)
2254 def countEdge(self):
2255 return _hexablock_swig.NewShape_countEdge(self)
2257 def countFace(self):
2258 return _hexablock_swig.NewShape_countFace(self)
2260 def getVertex(self, nro):
2261 return _hexablock_swig.NewShape_getVertex(self, nro)
2263 def getEdge(self, nro):
2264 return _hexablock_swig.NewShape_getEdge(self, nro)
2266 def getFace(self, nro):
2267 return _hexablock_swig.NewShape_getFace(self, nro)
2269 def getNameVertex(self, nro):
2270 return _hexablock_swig.NewShape_getNameVertex(self, nro)
2272 def getNameEdge(self, nro):
2273 return _hexablock_swig.NewShape_getNameEdge(self, nro)
2275 def getNameFace(self, nro):
2276 return _hexablock_swig.NewShape_getNameFace(self, nro)
2278 def __init__(self, *args):
2279 this = _hexablock_swig.new_NewShape(*args)
2281 self.this.append(this)
2282 except __builtin__.Exception:
2284 __swig_destroy__ = _hexablock_swig.delete_NewShape
2285 __del__ = lambda self: None
2286 NewShape_swigregister = _hexablock_swig.NewShape_swigregister
2287 NewShape_swigregister(NewShape)
2289 class Group(EltBase):
2290 __swig_setmethods__ = {}
2291 for _s in [EltBase]:
2292 __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
2293 __setattr__ = lambda self, name, value: _swig_setattr(self, Group, name, value)
2294 __swig_getmethods__ = {}
2295 for _s in [EltBase]:
2296 __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
2297 __getattr__ = lambda self, name: _swig_getattr(self, Group, name)
2298 __repr__ = _swig_repr
2300 def addElement(self, elt):
2301 return _hexablock_swig.Group_addElement(self, elt)
2303 def countElement(self):
2304 return _hexablock_swig.Group_countElement(self)
2307 return _hexablock_swig.Group_getKind(self)
2309 def clearElement(self):
2310 return _hexablock_swig.Group_clearElement(self)
2312 def removeElement(self, *args):
2313 return _hexablock_swig.Group_removeElement(self, *args)
2315 def getElement(self, nro):
2316 return _hexablock_swig.Group_getElement(self, nro)
2318 def __init__(self, dad, nom, grp):
2319 this = _hexablock_swig.new_Group(dad, nom, grp)
2321 self.this.append(this)
2322 except __builtin__.Exception:
2324 __swig_destroy__ = _hexablock_swig.delete_Group
2325 __del__ = lambda self: None
2326 Group_swigregister = _hexablock_swig.Group_swigregister
2327 Group_swigregister(Group)
2329 # This file is compatible with both classic and new-style classes.