Points&Forces (survey)
Software tools facilitating the task of surveying architecture
a_mechanicsTCL8_wrap.cxx
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.2
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 
12 #ifndef SWIGTCL
13 #define SWIGTCL
14 #endif
15 
16 
17 #ifdef __cplusplus
18 /* SwigValueWrapper is described in swig.swg */
19 template<typename T> class SwigValueWrapper {
20  struct SwigMovePointer {
21  T *ptr;
22  SwigMovePointer(T *p) : ptr(p) { }
23  ~SwigMovePointer() { delete ptr; }
24  SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
25  } pointer;
26  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
28 public:
29  SwigValueWrapper() : pointer(0) { }
30  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
31  operator T&() const { return *pointer.ptr; }
32  T *operator&() { return pointer.ptr; }
33 };
34 
35 template <typename T> T SwigValueInit() {
36  return T();
37 }
38 #endif
39 
40 /* -----------------------------------------------------------------------------
41  * This section contains generic SWIG labels for method/variable
42  * declarations/attributes, and other compiler dependent labels.
43  * ----------------------------------------------------------------------------- */
44 
45 /* template workaround for compilers that cannot correctly implement the C++ standard */
46 #ifndef SWIGTEMPLATEDISAMBIGUATOR
47 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
48 # define SWIGTEMPLATEDISAMBIGUATOR template
49 # elif defined(__HP_aCC)
50 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
51 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
52 # define SWIGTEMPLATEDISAMBIGUATOR template
53 # else
54 # define SWIGTEMPLATEDISAMBIGUATOR
55 # endif
56 #endif
57 
58 /* inline attribute */
59 #ifndef SWIGINLINE
60 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
61 # define SWIGINLINE inline
62 # else
63 # define SWIGINLINE
64 # endif
65 #endif
66 
67 /* attribute recognised by some compilers to avoid 'unused' warnings */
68 #ifndef SWIGUNUSED
69 # if defined(__GNUC__)
70 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
71 # define SWIGUNUSED __attribute__ ((__unused__))
72 # else
73 # define SWIGUNUSED
74 # endif
75 # elif defined(__ICC)
76 # define SWIGUNUSED __attribute__ ((__unused__))
77 # else
78 # define SWIGUNUSED
79 # endif
80 #endif
81 
82 #ifndef SWIG_MSC_UNSUPPRESS_4505
83 # if defined(_MSC_VER)
84 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
85 # endif
86 #endif
87 
88 #ifndef SWIGUNUSEDPARM
89 # ifdef __cplusplus
90 # define SWIGUNUSEDPARM(p)
91 # else
92 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
93 # endif
94 #endif
95 
96 /* internal SWIG method */
97 #ifndef SWIGINTERN
98 # define SWIGINTERN static SWIGUNUSED
99 #endif
100 
101 /* internal inline SWIG method */
102 #ifndef SWIGINTERNINLINE
103 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
104 #endif
105 
106 /* exporting methods */
107 #if defined(__GNUC__)
108 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
109 # ifndef GCC_HASCLASSVISIBILITY
110 # define GCC_HASCLASSVISIBILITY
111 # endif
112 # endif
113 #endif
114 
115 #ifndef SWIGEXPORT
116 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
117 # if defined(STATIC_LINKED)
118 # define SWIGEXPORT
119 # else
120 # define SWIGEXPORT __declspec(dllexport)
121 # endif
122 # else
123 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
124 # define SWIGEXPORT __attribute__ ((visibility("default")))
125 # else
126 # define SWIGEXPORT
127 # endif
128 # endif
129 #endif
130 
131 /* calling conventions for Windows */
132 #ifndef SWIGSTDCALL
133 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
134 # define SWIGSTDCALL __stdcall
135 # else
136 # define SWIGSTDCALL
137 # endif
138 #endif
139 
140 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
141 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
142 # define _CRT_SECURE_NO_DEPRECATE
143 #endif
144 
145 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
146 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
147 # define _SCL_SECURE_NO_DEPRECATE
148 #endif
149 
150 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
151 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
152 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
153 #endif
154 
155 /* Intel's compiler complains if a variable which was never initialised is
156  * cast to void, which is a common idiom which we use to indicate that we
157  * are aware a variable isn't used. So we just silence that warning.
158  * See: https://github.com/swig/swig/issues/192 for more discussion.
159  */
160 #ifdef __INTEL_COMPILER
161 # pragma warning disable 592
162 #endif
163 
164 
165 #include <stdio.h>
166 #include <tcl.h>
167 #include <errno.h>
168 #include <stdlib.h>
169 #include <stdarg.h>
170 #include <ctype.h>
171 
172 /* -----------------------------------------------------------------------------
173  * swigrun.swg
174  *
175  * This file contains generic C API SWIG runtime support for pointer
176  * type checking.
177  * ----------------------------------------------------------------------------- */
178 
179 /* This should only be incremented when either the layout of swig_type_info changes,
180  or for whatever reason, the runtime changes incompatibly */
181 #define SWIG_RUNTIME_VERSION "4"
182 
183 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
184 #ifdef SWIG_TYPE_TABLE
185 # define SWIG_QUOTE_STRING(x) #x
186 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
187 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
188 #else
189 # define SWIG_TYPE_TABLE_NAME
190 #endif
191 
192 /*
193  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
194  creating a static or dynamic library from the SWIG runtime code.
195  In 99.9% of the cases, SWIG just needs to declare them as 'static'.
196 
197  But only do this if strictly necessary, ie, if you have problems
198  with your compiler or suchlike.
199 */
200 
201 #ifndef SWIGRUNTIME
202 # define SWIGRUNTIME SWIGINTERN
203 #endif
204 
205 #ifndef SWIGRUNTIMEINLINE
206 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
207 #endif
208 
209 /* Generic buffer size */
210 #ifndef SWIG_BUFFER_SIZE
211 # define SWIG_BUFFER_SIZE 1024
212 #endif
213 
214 /* Flags for pointer conversions */
215 #define SWIG_POINTER_DISOWN 0x1
216 #define SWIG_CAST_NEW_MEMORY 0x2
217 #define SWIG_POINTER_NO_NULL 0x4
218 
219 /* Flags for new pointer objects */
220 #define SWIG_POINTER_OWN 0x1
221 
222 
223 /*
224  Flags/methods for returning states.
225 
226  The SWIG conversion methods, as ConvertPtr, return an integer
227  that tells if the conversion was successful or not. And if not,
228  an error code can be returned (see swigerrors.swg for the codes).
229 
230  Use the following macros/flags to set or process the returning
231  states.
232 
233  In old versions of SWIG, code such as the following was usually written:
234 
235  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
236  // success code
237  } else {
238  //fail code
239  }
240 
241  Now you can be more explicit:
242 
243  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
244  if (SWIG_IsOK(res)) {
245  // success code
246  } else {
247  // fail code
248  }
249 
250  which is the same really, but now you can also do
251 
252  Type *ptr;
253  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
254  if (SWIG_IsOK(res)) {
255  // success code
256  if (SWIG_IsNewObj(res) {
257  ...
258  delete *ptr;
259  } else {
260  ...
261  }
262  } else {
263  // fail code
264  }
265 
266  I.e., now SWIG_ConvertPtr can return new objects and you can
267  identify the case and take care of the deallocation. Of course that
268  also requires SWIG_ConvertPtr to return new result values, such as
269 
270  int SWIG_ConvertPtr(obj, ptr,...) {
271  if (<obj is ok>) {
272  if (<need new object>) {
273  *ptr = <ptr to new allocated object>;
274  return SWIG_NEWOBJ;
275  } else {
276  *ptr = <ptr to old object>;
277  return SWIG_OLDOBJ;
278  }
279  } else {
280  return SWIG_BADOBJ;
281  }
282  }
283 
284  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
285  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
286  SWIG errors code.
287 
288  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
289  allows to return the 'cast rank', for example, if you have this
290 
291  int food(double)
292  int fooi(int);
293 
294  and you call
295 
296  food(1) // cast rank '1' (1 -> 1.0)
297  fooi(1) // cast rank '0'
298 
299  just use the SWIG_AddCast()/SWIG_CheckState()
300 */
301 
302 #define SWIG_OK (0)
303 #define SWIG_ERROR (-1)
304 #define SWIG_IsOK(r) (r >= 0)
305 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
306 
307 /* The CastRankLimit says how many bits are used for the cast rank */
308 #define SWIG_CASTRANKLIMIT (1 << 8)
309 /* The NewMask denotes the object was created (using new/malloc) */
310 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
311 /* The TmpMask is for in/out typemaps that use temporal objects */
312 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
313 /* Simple returning values */
314 #define SWIG_BADOBJ (SWIG_ERROR)
315 #define SWIG_OLDOBJ (SWIG_OK)
316 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
317 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
318 /* Check, add and del mask methods */
319 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
320 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
321 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
322 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
323 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
324 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
325 
326 /* Cast-Rank Mode */
327 #if defined(SWIG_CASTRANK_MODE)
328 # ifndef SWIG_TypeRank
329 # define SWIG_TypeRank unsigned long
330 # endif
331 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
332 # define SWIG_MAXCASTRANK (2)
333 # endif
334 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
335 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
336 SWIGINTERNINLINE int SWIG_AddCast(int r) {
337  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
338 }
340  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
341 }
342 #else /* no cast-rank mode */
343 # define SWIG_AddCast(r) (r)
344 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
345 #endif
346 
347 
348 #include <string.h>
349 
350 #ifdef __cplusplus
351 extern "C" {
352 #endif
353 
354 typedef void *(*swig_converter_func)(void *, int *);
355 typedef struct swig_type_info *(*swig_dycast_func)(void **);
356 
357 /* Structure to store information on one type */
358 typedef struct swig_type_info {
359  const char *name; /* mangled name of this type */
360  const char *str; /* human readable name of this type */
361  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
362  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
363  void *clientdata; /* language specific type data */
364  int owndata; /* flag if the structure owns the clientdata */
366 
367 /* Structure to store a type and conversion function used for casting */
368 typedef struct swig_cast_info {
369  swig_type_info *type; /* pointer to type that is equivalent to this type */
370  swig_converter_func converter; /* function to cast the void pointers */
371  struct swig_cast_info *next; /* pointer to next cast in linked list */
372  struct swig_cast_info *prev; /* pointer to the previous cast */
374 
375 /* Structure used to store module information
376  * Each module generates one structure like this, and the runtime collects
377  * all of these structures and stores them in a circularly linked list.*/
378 typedef struct swig_module_info {
379  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
380  size_t size; /* Number of types in this module */
381  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
382  swig_type_info **type_initial; /* Array of initially generated type structures */
383  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
384  void *clientdata; /* Language specific module data */
386 
387 /*
388  Compare two type names skipping the space characters, therefore
389  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
390 
391  Return 0 when the two name types are equivalent, as in
392  strncmp, but skipping ' '.
393 */
394 SWIGRUNTIME int
395 SWIG_TypeNameComp(const char *f1, const char *l1,
396  const char *f2, const char *l2) {
397  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
398  while ((*f1 == ' ') && (f1 != l1)) ++f1;
399  while ((*f2 == ' ') && (f2 != l2)) ++f2;
400  if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
401  }
402  return (int)((l1 - f1) - (l2 - f2));
403 }
404 
405 /*
406  Check type equivalence in a name list like <name1>|<name2>|...
407  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
408 */
409 SWIGRUNTIME int
410 SWIG_TypeCmp(const char *nb, const char *tb) {
411  int equiv = 1;
412  const char* te = tb + strlen(tb);
413  const char* ne = nb;
414  while (equiv != 0 && *ne) {
415  for (nb = ne; *ne; ++ne) {
416  if (*ne == '|') break;
417  }
418  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
419  if (*ne) ++ne;
420  }
421  return equiv;
422 }
423 
424 /*
425  Check type equivalence in a name list like <name1>|<name2>|...
426  Return 0 if not equal, 1 if equal
427 */
428 SWIGRUNTIME int
429 SWIG_TypeEquiv(const char *nb, const char *tb) {
430  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
431 }
432 
433 /*
434  Check the typename
435 */
437 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
438  if (ty) {
439  swig_cast_info *iter = ty->cast;
440  while (iter) {
441  if (strcmp(iter->type->name, c) == 0) {
442  if (iter == ty->cast)
443  return iter;
444  /* Move iter to the top of the linked list */
445  iter->prev->next = iter->next;
446  if (iter->next)
447  iter->next->prev = iter->prev;
448  iter->next = ty->cast;
449  iter->prev = 0;
450  if (ty->cast) ty->cast->prev = iter;
451  ty->cast = iter;
452  return iter;
453  }
454  iter = iter->next;
455  }
456  }
457  return 0;
458 }
459 
460 /*
461  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
462 */
465  if (ty) {
466  swig_cast_info *iter = ty->cast;
467  while (iter) {
468  if (iter->type == from) {
469  if (iter == ty->cast)
470  return iter;
471  /* Move iter to the top of the linked list */
472  iter->prev->next = iter->next;
473  if (iter->next)
474  iter->next->prev = iter->prev;
475  iter->next = ty->cast;
476  iter->prev = 0;
477  if (ty->cast) ty->cast->prev = iter;
478  ty->cast = iter;
479  return iter;
480  }
481  iter = iter->next;
482  }
483  }
484  return 0;
485 }
486 
487 /*
488  Cast a pointer up an inheritance hierarchy
489 */
490 SWIGRUNTIMEINLINE void *
491 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
492  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
493 }
494 
495 /*
496  Dynamic pointer casting. Down an inheritance hierarchy
497 */
500  swig_type_info *lastty = ty;
501  if (!ty || !ty->dcast) return ty;
502  while (ty && (ty->dcast)) {
503  ty = (*ty->dcast)(ptr);
504  if (ty) lastty = ty;
505  }
506  return lastty;
507 }
508 
509 /*
510  Return the name associated with this type
511 */
512 SWIGRUNTIMEINLINE const char *
514  return ty->name;
515 }
516 
517 /*
518  Return the pretty name associated with this type,
519  that is an unmangled type name in a form presentable to the user.
520 */
521 SWIGRUNTIME const char *
523  /* The "str" field contains the equivalent pretty names of the
524  type, separated by vertical-bar characters. We choose
525  to print the last name, as it is often (?) the most
526  specific. */
527  if (!type) return NULL;
528  if (type->str != NULL) {
529  const char *last_name = type->str;
530  const char *s;
531  for (s = type->str; *s; s++)
532  if (*s == '|') last_name = s+1;
533  return last_name;
534  }
535  else
536  return type->name;
537 }
538 
539 /*
540  Set the clientdata field for a type
541 */
542 SWIGRUNTIME void
544  swig_cast_info *cast = ti->cast;
545  /* if (ti->clientdata == clientdata) return; */
546  ti->clientdata = clientdata;
547 
548  while (cast) {
549  if (!cast->converter) {
550  swig_type_info *tc = cast->type;
551  if (!tc->clientdata) {
553  }
554  }
555  cast = cast->next;
556  }
557 }
558 SWIGRUNTIME void
561  ti->owndata = 1;
562 }
563 
564 /*
565  Search for a swig_type_info structure only by mangled name
566  Search is a O(log #types)
567 
568  We start searching at module start, and finish searching when start == end.
569  Note: if start == end at the beginning of the function, we go all the way around
570  the circular list.
571 */
574  swig_module_info *end,
575  const char *name) {
576  swig_module_info *iter = start;
577  do {
578  if (iter->size) {
579  size_t l = 0;
580  size_t r = iter->size - 1;
581  do {
582  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
583  size_t i = (l + r) >> 1;
584  const char *iname = iter->types[i]->name;
585  if (iname) {
586  int compare = strcmp(name, iname);
587  if (compare == 0) {
588  return iter->types[i];
589  } else if (compare < 0) {
590  if (i) {
591  r = i - 1;
592  } else {
593  break;
594  }
595  } else if (compare > 0) {
596  l = i + 1;
597  }
598  } else {
599  break; /* should never happen */
600  }
601  } while (l <= r);
602  }
603  iter = iter->next;
604  } while (iter != end);
605  return 0;
606 }
607 
608 /*
609  Search for a swig_type_info structure for either a mangled name or a human readable name.
610  It first searches the mangled names of the types, which is a O(log #types)
611  If a type is not found it then searches the human readable names, which is O(#types).
612 
613  We start searching at module start, and finish searching when start == end.
614  Note: if start == end at the beginning of the function, we go all the way around
615  the circular list.
616 */
619  swig_module_info *end,
620  const char *name) {
621  /* STEP 1: Search the name field using binary search */
622  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
623  if (ret) {
624  return ret;
625  } else {
626  /* STEP 2: If the type hasn't been found, do a complete search
627  of the str field (the human readable name) */
628  swig_module_info *iter = start;
629  do {
630  size_t i = 0;
631  for (; i < iter->size; ++i) {
632  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
633  return iter->types[i];
634  }
635  iter = iter->next;
636  } while (iter != end);
637  }
638 
639  /* neither found a match */
640  return 0;
641 }
642 
643 /*
644  Pack binary data into a string
645 */
646 SWIGRUNTIME char *
647 SWIG_PackData(char *c, void *ptr, size_t sz) {
648  static const char hex[17] = "0123456789abcdef";
649  const unsigned char *u = (unsigned char *) ptr;
650  const unsigned char *eu = u + sz;
651  for (; u != eu; ++u) {
652  unsigned char uu = *u;
653  *(c++) = hex[(uu & 0xf0) >> 4];
654  *(c++) = hex[uu & 0xf];
655  }
656  return c;
657 }
658 
659 /*
660  Unpack binary data from a string
661 */
662 SWIGRUNTIME const char *
663 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
664  unsigned char *u = (unsigned char *) ptr;
665  const unsigned char *eu = u + sz;
666  for (; u != eu; ++u) {
667  char d = *(c++);
668  unsigned char uu;
669  if ((d >= '0') && (d <= '9'))
670  uu = (unsigned char)((d - '0') << 4);
671  else if ((d >= 'a') && (d <= 'f'))
672  uu = (unsigned char)((d - ('a'-10)) << 4);
673  else
674  return (char *) 0;
675  d = *(c++);
676  if ((d >= '0') && (d <= '9'))
677  uu |= (unsigned char)(d - '0');
678  else if ((d >= 'a') && (d <= 'f'))
679  uu |= (unsigned char)(d - ('a'-10));
680  else
681  return (char *) 0;
682  *u = uu;
683  }
684  return c;
685 }
686 
687 /*
688  Pack 'void *' into a string buffer.
689 */
690 SWIGRUNTIME char *
691 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
692  char *r = buff;
693  if ((2*sizeof(void *) + 2) > bsz) return 0;
694  *(r++) = '_';
695  r = SWIG_PackData(r,&ptr,sizeof(void *));
696  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
697  strcpy(r,name);
698  return buff;
699 }
700 
701 SWIGRUNTIME const char *
702 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
703  if (*c != '_') {
704  if (strcmp(c,"NULL") == 0) {
705  *ptr = (void *) 0;
706  return name;
707  } else {
708  return 0;
709  }
710  }
711  return SWIG_UnpackData(++c,ptr,sizeof(void *));
712 }
713 
714 SWIGRUNTIME char *
715 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
716  char *r = buff;
717  size_t lname = (name ? strlen(name) : 0);
718  if ((2*sz + 2 + lname) > bsz) return 0;
719  *(r++) = '_';
720  r = SWIG_PackData(r,ptr,sz);
721  if (lname) {
722  strncpy(r,name,lname+1);
723  } else {
724  *r = 0;
725  }
726  return buff;
727 }
728 
729 SWIGRUNTIME const char *
730 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
731  if (*c != '_') {
732  if (strcmp(c,"NULL") == 0) {
733  memset(ptr,0,sz);
734  return name;
735  } else {
736  return 0;
737  }
738  }
739  return SWIG_UnpackData(++c,ptr,sz);
740 }
741 
742 #ifdef __cplusplus
743 }
744 #endif
745 
746 /* Errors in SWIG */
747 #define SWIG_UnknownError -1
748 #define SWIG_IOError -2
749 #define SWIG_RuntimeError -3
750 #define SWIG_IndexError -4
751 #define SWIG_TypeError -5
752 #define SWIG_DivisionByZero -6
753 #define SWIG_OverflowError -7
754 #define SWIG_SyntaxError -8
755 #define SWIG_ValueError -9
756 #define SWIG_SystemError -10
757 #define SWIG_AttributeError -11
758 #define SWIG_MemoryError -12
759 #define SWIG_NullReferenceError -13
760 
761 
762 
763 /* -----------------------------------------------------------------------------
764  * error manipulation
765  * ----------------------------------------------------------------------------- */
766 
767 SWIGINTERN const char*
769  const char* type = 0;
770  switch(code) {
771  case SWIG_MemoryError:
772  type = "MemoryError";
773  break;
774  case SWIG_IOError:
775  type = "IOError";
776  break;
777  case SWIG_RuntimeError:
778  type = "RuntimeError";
779  break;
780  case SWIG_IndexError:
781  type = "IndexError";
782  break;
783  case SWIG_TypeError:
784  type = "TypeError";
785  break;
786  case SWIG_DivisionByZero:
787  type = "ZeroDivisionError";
788  break;
789  case SWIG_OverflowError:
790  type = "OverflowError";
791  break;
792  case SWIG_SyntaxError:
793  type = "SyntaxError";
794  break;
795  case SWIG_ValueError:
796  type = "ValueError";
797  break;
798  case SWIG_SystemError:
799  type = "SystemError";
800  break;
801  case SWIG_AttributeError:
802  type = "AttributeError";
803  break;
804  default:
805  type = "RuntimeError";
806  }
807  return type;
808 }
809 
810 
811 SWIGINTERN void
812 SWIG_Tcl_SetErrorObj(Tcl_Interp *interp, const char *ctype, Tcl_Obj *obj)
813 {
814  Tcl_ResetResult(interp);
815  Tcl_SetObjResult(interp, obj);
816  Tcl_SetErrorCode(interp, "SWIG", ctype, NULL);
817 }
818 
819 SWIGINTERN void
820 SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
821 {
822  Tcl_ResetResult(interp);
823  Tcl_SetErrorCode(interp, "SWIG", ctype, NULL);
824  Tcl_AppendResult(interp, ctype, " ", mesg, NULL);
825  /*
826  Tcl_AddErrorInfo(interp, ctype);
827  Tcl_AddErrorInfo(interp, " ");
828  Tcl_AddErrorInfo(interp, mesg);
829  */
830 }
831 
832 SWIGINTERNINLINE void
833 SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char* mesg)
834 {
835  Tcl_AddErrorInfo(interp, mesg);
836 }
837 
838 
839 
840 /* -----------------------------------------------------------------------------
841  * SWIG API. Portion that goes into the runtime
842  * ----------------------------------------------------------------------------- */
843 #ifdef __cplusplus
844 extern "C" {
845 #endif
846 
847 /* -----------------------------------------------------------------------------
848  * Constant declarations
849  * ----------------------------------------------------------------------------- */
850 
851 /* Constant Types */
852 #define SWIG_TCL_POINTER 4
853 #define SWIG_TCL_BINARY 5
854 
855 /* Constant information structure */
856 typedef struct swig_const_info {
857  int type;
858  const char *name;
859  long lvalue;
860  double dvalue;
861  void *pvalue;
864 
865 typedef int (*swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
866 typedef int (*swig_wrapper_func)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
867 typedef char *(*swig_variable_func)(ClientData, Tcl_Interp *, char *, char *, int);
868 typedef void (*swig_delete_func)(ClientData);
869 
870 typedef struct swig_method {
871  const char *name;
874 
875 typedef struct swig_attribute {
876  const char *name;
880 
881 typedef struct swig_class {
882  const char *name;
885  void (*destructor)(void *);
888  struct swig_class **bases;
889  const char **base_names;
891  Tcl_HashTable hashtable;
893 
894 typedef struct swig_instance {
895  Tcl_Obj *thisptr;
896  void *thisvalue;
898  int destroy;
899  Tcl_Command cmdtok;
901 
902 /* Structure for command table */
903 typedef struct {
904  const char *name;
905  int (*wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
906  ClientData clientdata;
908 
909 /* Structure for variable linking table */
910 typedef struct {
911  const char *name;
912  void *addr;
913  char * (*get)(ClientData, Tcl_Interp *, char *, char *, int);
914  char * (*set)(ClientData, Tcl_Interp *, char *, char *, int);
915 } swig_var_info;
916 
917 
918 /* -----------------------------------------------------------------------------*
919  * Install a constant object
920  * -----------------------------------------------------------------------------*/
921 
922 static Tcl_HashTable swigconstTable;
923 static int swigconstTableinit = 0;
924 
925 SWIGINTERN void
926 SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char* name, Tcl_Obj *obj) {
927  int newobj;
928  Tcl_ObjSetVar2(interp,Tcl_NewStringObj(name,-1), NULL, obj, TCL_GLOBAL_ONLY);
929  Tcl_SetHashValue(Tcl_CreateHashEntry(&swigconstTable, name, &newobj), (ClientData) obj);
930 }
931 
932 SWIGINTERN Tcl_Obj *
933 SWIG_Tcl_GetConstantObj(const char *key) {
934  Tcl_HashEntry *entryPtr;
935  if (!swigconstTableinit) return 0;
936  entryPtr = Tcl_FindHashEntry(&swigconstTable, key);
937  if (entryPtr) {
938  return (Tcl_Obj *) Tcl_GetHashValue(entryPtr);
939  }
940  return 0;
941 }
942 
943 #ifdef __cplusplus
944 }
945 #endif
946 
947 
948 
949 /* -----------------------------------------------------------------------------
950  * tclrun.swg
951  *
952  * This file contains the runtime support for Tcl modules and includes
953  * code for managing global variables and pointer type checking.
954  * ----------------------------------------------------------------------------- */
955 
956 /* Common SWIG API */
957 
958 /* for raw pointers */
959 #define SWIG_ConvertPtr(oc, ptr, ty, flags) SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
960 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Tcl_NewPointerObj(ptr, type, flags)
961 
962 /* for raw packed data */
963 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Tcl_ConvertPacked(interp, obj, ptr, sz, ty)
964 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Tcl_NewPackedObj(ptr, sz, type)
965 
966 /* for class or struct pointers */
967 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, flags)
968 #define SWIG_NewInstanceObj(thisvalue, type, flags) SWIG_Tcl_NewInstanceObj(interp, thisvalue, type, flags)
969 
970 /* for C or C++ function pointers */
971 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, 0)
972 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Tcl_NewPointerObj(ptr, type, 0)
973 
974 /* for C++ member pointers, ie, member methods */
975 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Tcl_ConvertPacked(interp,obj, ptr, sz, ty)
976 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Tcl_NewPackedObj(ptr, sz, type)
977 
978 
979 /* Runtime API */
980 
981 #define SWIG_GetModule(clientdata) SWIG_Tcl_GetModule((Tcl_Interp *) (clientdata))
982 #define SWIG_SetModule(clientdata, pointer) SWIG_Tcl_SetModule((Tcl_Interp *) (clientdata), pointer)
983 
984 
985 /* Error manipulation */
986 
987 #define SWIG_ErrorType(code) SWIG_Tcl_ErrorType(code)
988 #define SWIG_Error(code, msg) SWIG_Tcl_SetErrorMsg(interp, SWIG_Tcl_ErrorType(code), msg)
989 #define SWIG_fail goto fail
990 
991 
992 /* Tcl-specific SWIG API */
993 
994 #define SWIG_Acquire(ptr) SWIG_Tcl_Acquire(ptr)
995 #define SWIG_MethodCommand SWIG_Tcl_MethodCommand
996 #define SWIG_Disown(ptr) SWIG_Tcl_Disown(ptr)
997 #define SWIG_ConvertPtrFromString(c, ptr, ty, flags) SWIG_Tcl_ConvertPtrFromString(interp, c, ptr, ty, flags)
998 #define SWIG_MakePtr(c, ptr, ty, flags) SWIG_Tcl_MakePtr(c, ptr, ty, flags)
999 #define SWIG_PointerTypeFromString(c) SWIG_Tcl_PointerTypeFromString(c)
1000 #define SWIG_GetArgs SWIG_Tcl_GetArgs
1001 #define SWIG_GetConstantObj(key) SWIG_Tcl_GetConstantObj(key)
1002 #define SWIG_ObjectConstructor SWIG_Tcl_ObjectConstructor
1003 #define SWIG_Thisown(ptr) SWIG_Tcl_Thisown(ptr)
1004 #define SWIG_ObjectDelete SWIG_Tcl_ObjectDelete
1005 
1006 
1007 #define SWIG_TCL_DECL_ARGS_2(arg1, arg2) (Tcl_Interp *interp SWIGUNUSED, arg1, arg2)
1008 #define SWIG_TCL_CALL_ARGS_2(arg1, arg2) (interp, arg1, arg2)
1009 /* -----------------------------------------------------------------------------
1010  * pointers/data manipulation
1011  * ----------------------------------------------------------------------------- */
1012 
1013 /* For backward compatibility only */
1014 #define SWIG_POINTER_EXCEPTION 0
1015 #define SWIG_GetConstant SWIG_GetConstantObj
1016 #define SWIG_Tcl_GetConstant SWIG_Tcl_GetConstantObj
1017 
1018 #if TCL_MAJOR_VERSION >= 8 && TCL_MINOR_VERSION >= 5
1019 #define SWIG_TCL_HASHTABLE_INIT {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
1020 #else
1021 #define SWIG_TCL_HASHTABLE_INIT {0}
1022 #endif
1023 
1024 #include "assert.h"
1025 
1026 #ifdef __cplusplus
1027 extern "C" {
1028 #endif
1029 
1030 /* Object support */
1031 
1032 SWIGRUNTIME Tcl_HashTable*
1034  static Tcl_HashTable swigobjectTable;
1035  static int swigobjectTableinit = 0;
1036  if (!swigobjectTableinit) {
1037  Tcl_InitHashTable(&swigobjectTable, TCL_ONE_WORD_KEYS);
1038  swigobjectTableinit = 1;
1039  }
1040  return &swigobjectTable;
1041 }
1042 
1043 /* Acquire ownership of a pointer */
1044 SWIGRUNTIME void
1045 SWIG_Tcl_Acquire(void *ptr) {
1046  int newobj;
1047  Tcl_CreateHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr, &newobj);
1048 }
1049 
1050 SWIGRUNTIME int
1051 SWIG_Tcl_Thisown(void *ptr) {
1052  if (Tcl_FindHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr)) {
1053  return 1;
1054  }
1055  return 0;
1056 }
1057 
1058 /* Disown a pointer. Returns 1 if we owned it to begin with */
1059 SWIGRUNTIME int
1060 SWIG_Tcl_Disown(void *ptr) {
1061  Tcl_HashEntry *entryPtr = Tcl_FindHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr);
1062  if (entryPtr) {
1063  Tcl_DeleteHashEntry(entryPtr);
1064  return 1;
1065  }
1066  return 0;
1067 }
1068 
1069 /* Convert a pointer value */
1070 SWIGRUNTIME int
1071 SWIG_Tcl_ConvertPtrFromString(Tcl_Interp *interp, const char *c, void **ptr, swig_type_info *ty, int flags) {
1072  swig_cast_info *tc;
1073  /* Pointer values must start with leading underscore */
1074  while (*c != '_') {
1075  *ptr = (void *) 0;
1076  if (strcmp(c,"NULL") == 0)
1078 
1079  /* Empty string: not a pointer */
1080  if (*c == 0) return SWIG_ERROR;
1081 
1082  /* Hmmm. It could be an object name. */
1083 
1084  /* Check if this is a command at all. Prevents <c> cget -this */
1085  /* from being called when c is not a command, firing the unknown proc */
1086  if (Tcl_VarEval(interp,"info commands ", c, (char *) NULL) == TCL_OK) {
1087  Tcl_Obj *result = Tcl_GetObjResult(interp);
1088  if (*(Tcl_GetStringFromObj(result, NULL)) == 0) {
1089  /* It's not a command, so it can't be a pointer */
1090  Tcl_ResetResult(interp);
1091  return SWIG_ERROR;
1092  }
1093  } else {
1094  /* This will only fail if the argument is multiple words. */
1095  /* Multiple words are also not commands. */
1096  Tcl_ResetResult(interp);
1097  return SWIG_ERROR;
1098  }
1099 
1100  /* Check if this is really a SWIG pointer */
1101  if (Tcl_VarEval(interp,c," cget -this", (char *) NULL) != TCL_OK) {
1102  Tcl_ResetResult(interp);
1103  return SWIG_ERROR;
1104  }
1105 
1106  c = Tcl_GetStringFromObj(Tcl_GetObjResult(interp), NULL);
1107  }
1108 
1109  c++;
1110  c = SWIG_UnpackData(c,ptr,sizeof(void *));
1111  if (ty) {
1112  tc = c ? SWIG_TypeCheck(c,ty) : 0;
1113  if (!tc) {
1114  return SWIG_ERROR;
1115  }
1116  if (flags & SWIG_POINTER_DISOWN) {
1117  SWIG_Disown((void *) *ptr);
1118  }
1119  {
1120  int newmemory = 0;
1121  *ptr = SWIG_TypeCast(tc,(void *) *ptr,&newmemory);
1122  assert(!newmemory); /* newmemory handling not yet implemented */
1123  }
1124  }
1125  return SWIG_OK;
1126 }
1127 
1128 /* Convert a pointer value */
1130 SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, swig_type_info *ty, int flags) {
1131  return SWIG_Tcl_ConvertPtrFromString(interp, Tcl_GetStringFromObj(oc,NULL), ptr, ty, flags);
1132 }
1133 
1134 /* Convert a pointer value */
1135 SWIGRUNTIME char *
1137  char d;
1138  /* Pointer values must start with leading underscore. NULL has no type */
1139  if (*c != '_') {
1140  return 0;
1141  }
1142  c++;
1143  /* Extract hex value from pointer */
1144  while ((d = *c)) {
1145  if (!(((d >= '0') && (d <= '9')) || ((d >= 'a') && (d <= 'f')))) break;
1146  c++;
1147  }
1148  return c;
1149 }
1150 
1151 /* Convert a packed pointer value */
1152 SWIGRUNTIME int
1153 SWIG_Tcl_ConvertPacked(Tcl_Interp *SWIGUNUSEDPARM(interp) , Tcl_Obj *obj, void *ptr, int sz, swig_type_info *ty) {
1154  swig_cast_info *tc;
1155  const char *c;
1156 
1157  if (!obj) goto type_error;
1158  c = Tcl_GetStringFromObj(obj,NULL);
1159  /* Pointer values must start with leading underscore */
1160  if (*c != '_') goto type_error;
1161  c++;
1162  c = SWIG_UnpackData(c,ptr,sz);
1163  if (ty) {
1164  tc = SWIG_TypeCheck(c,ty);
1165  if (!tc) goto type_error;
1166  }
1167  return SWIG_OK;
1168 
1169  type_error:
1170 
1171  return SWIG_ERROR;
1172 }
1173 
1174 
1175 /* Take a pointer and convert it to a string */
1176 SWIGRUNTIME void
1177 SWIG_Tcl_MakePtr(char *c, void *ptr, swig_type_info *ty, int SWIGUNUSEDPARM(flags)) {
1178  if (ptr) {
1179  *(c++) = '_';
1180  c = SWIG_PackData(c,&ptr,sizeof(void *));
1181  strcpy(c,ty->name);
1182  } else {
1183  strcpy(c,"NULL");
1184  }
1185 }
1186 
1187 /* Create a new pointer object */
1188 SWIGRUNTIMEINLINE Tcl_Obj *
1189 SWIG_Tcl_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
1190  Tcl_Obj *robj;
1191  char result[SWIG_BUFFER_SIZE];
1192  SWIG_MakePtr(result,ptr,type,flags);
1193  robj = Tcl_NewStringObj(result,-1);
1194  return robj;
1195 }
1196 
1197 SWIGRUNTIME Tcl_Obj *
1198 SWIG_Tcl_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
1199  char result[1024];
1200  char *r = result;
1201  if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
1202  *(r++) = '_';
1203  r = SWIG_PackData(r,ptr,sz);
1204  strcpy(r,type->name);
1205  return Tcl_NewStringObj(result,-1);
1206 }
1207 
1208 /* -----------------------------------------------------------------------------*
1209  * Get type list
1210  * -----------------------------------------------------------------------------*/
1211 
1213 SWIG_Tcl_GetModule(Tcl_Interp *interp) {
1214  const char *data;
1215  swig_module_info *ret = 0;
1216 
1217  /* first check if pointer already created */
1218  data = Tcl_GetVar(interp, (char *)"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TCL_GLOBAL_ONLY);
1219  if (data) {
1220  SWIG_UnpackData(data, &ret, sizeof(swig_type_info **));
1221  }
1222 
1223  return ret;
1224 }
1225 
1226 SWIGRUNTIME void
1227 SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module) {
1228  char buf[SWIG_BUFFER_SIZE];
1229  char *data;
1230 
1231  /* create a new pointer */
1232  data = SWIG_PackData(buf, &module, sizeof(swig_type_info **));
1233  *data = 0;
1234  Tcl_SetVar(interp, (char *)"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, buf, TCL_GLOBAL_ONLY);
1235 }
1236 
1237 /* -----------------------------------------------------------------------------*
1238  * Object auxiliaries
1239  * -----------------------------------------------------------------------------*/
1240 
1241 
1242 SWIGRUNTIME void
1243 SWIG_Tcl_ObjectDelete(ClientData clientData) {
1244  swig_instance *si = (swig_instance *) clientData;
1245  if (!si) return;
1246  if (si->destroy && SWIG_Disown(si->thisvalue)) {
1247  if (si->classptr->destructor) {
1248  (si->classptr->destructor)(si->thisvalue);
1249  }
1250  }
1251  Tcl_DecrRefCount(si->thisptr);
1252  free(si);
1253 }
1254 
1255 /* Function to invoke object methods given an instance */
1256 SWIGRUNTIME int
1257 SWIG_Tcl_MethodCommand(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST _objv[]) {
1258  char *method, *attrname;
1259  swig_instance *inst = (swig_instance *) clientData;
1260  swig_method *meth;
1261  swig_attribute *attr;
1262  Tcl_Obj *oldarg;
1263  Tcl_Obj **objv;
1264  int rcode;
1265  swig_class *cls;
1266  swig_class *cls_stack[64];
1267  int cls_stack_bi[64];
1268  int cls_stack_top = 0;
1269  int numconf = 2;
1270  int bi;
1271 
1272  objv = (Tcl_Obj **) _objv;
1273  if (objc < 2) {
1274  Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
1275  return TCL_ERROR;
1276  }
1277  method = Tcl_GetStringFromObj(objv[1],NULL);
1278  if (strcmp(method,"-acquire") == 0) {
1279  inst->destroy = 1;
1280  SWIG_Acquire(inst->thisvalue);
1281  return TCL_OK;
1282  }
1283  if (strcmp(method,"-disown") == 0) {
1284  if (inst->destroy) {
1285  SWIG_Disown(inst->thisvalue);
1286  }
1287  inst->destroy = 0;
1288  return TCL_OK;
1289  }
1290  if (strcmp(method,"-delete") == 0) {
1291  Tcl_DeleteCommandFromToken(interp,inst->cmdtok);
1292  return TCL_OK;
1293  }
1294  cls_stack[cls_stack_top] = inst->classptr;
1295  cls_stack_bi[cls_stack_top] = -1;
1296  while (1) {
1297  Tcl_HashEntry* hashentry;
1298  bi = cls_stack_bi[cls_stack_top];
1299  cls = cls_stack[cls_stack_top];
1300  if (bi != -1) {
1301  if (!cls->bases[bi] && cls->base_names[bi]) {
1302  /* lookup and cache the base class */
1303  swig_type_info *info = SWIG_TypeQueryModule(cls->module, cls->module, cls->base_names[bi]);
1304  if (info) cls->bases[bi] = (swig_class *) info->clientdata;
1305  }
1306  cls = cls->bases[bi];
1307  if (cls) {
1308  cls_stack_bi[cls_stack_top]++;
1309  cls_stack_top++;
1310  cls_stack[cls_stack_top] = cls;
1311  cls_stack_bi[cls_stack_top] = -1;
1312  continue;
1313  }
1314  }
1315  if (!cls) {
1316  cls_stack_top--;
1317  if (cls_stack_top < 0) break;
1318  else continue;
1319  }
1320  cls_stack_bi[cls_stack_top]++;
1321 
1322  hashentry = Tcl_FindHashEntry(&(cls->hashtable), method);
1323  if (hashentry) {
1324  ClientData cd = Tcl_GetHashValue(hashentry);
1325  swig_wrapper method_wrapper = (swig_wrapper)cd;
1326  oldarg = objv[1];
1327  objv[1] = inst->thisptr;
1328  Tcl_IncrRefCount(inst->thisptr);
1329  rcode = (method_wrapper)(clientData,interp,objc,objv);
1330  objv[1] = oldarg;
1331  Tcl_DecrRefCount(inst->thisptr);
1332  return rcode;
1333  }
1334  /* Check class methods for a match */
1335  if (strcmp(method,"cget") == 0) {
1336  if (objc < 3) {
1337  Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
1338  return TCL_ERROR;
1339  }
1340  attrname = Tcl_GetStringFromObj(objv[2],NULL);
1341  attr = cls->attributes;
1342  while (attr && attr->name) {
1343  if ((strcmp(attr->name, attrname) == 0) && (attr->getmethod)) {
1344  oldarg = objv[1];
1345  objv[1] = inst->thisptr;
1346  Tcl_IncrRefCount(inst->thisptr);
1347  rcode = (*attr->getmethod)(clientData,interp,2, objv);
1348  objv[1] = oldarg;
1349  Tcl_DecrRefCount(inst->thisptr);
1350  return rcode;
1351  }
1352  attr++;
1353  }
1354  if (strcmp(attrname, "-this") == 0) {
1355  Tcl_SetObjResult(interp, Tcl_DuplicateObj(inst->thisptr));
1356  return TCL_OK;
1357  }
1358  if (strcmp(attrname, "-thisown") == 0) {
1359  if (SWIG_Thisown(inst->thisvalue)) {
1360  Tcl_SetResult(interp,(char*)"1",TCL_STATIC);
1361  } else {
1362  Tcl_SetResult(interp,(char*)"0",TCL_STATIC);
1363  }
1364  return TCL_OK;
1365  }
1366  } else if (strcmp(method, "configure") == 0) {
1367  int i;
1368  if (objc < 4) {
1369  Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
1370  return TCL_ERROR;
1371  }
1372  i = 2;
1373  while (i < objc) {
1374  attrname = Tcl_GetStringFromObj(objv[i],NULL);
1375  attr = cls->attributes;
1376  while (attr && attr->name) {
1377  if ((strcmp(attr->name, attrname) == 0) && (attr->setmethod)) {
1378  oldarg = objv[i];
1379  objv[i] = inst->thisptr;
1380  Tcl_IncrRefCount(inst->thisptr);
1381  rcode = (*attr->setmethod)(clientData,interp,3, &objv[i-1]);
1382  objv[i] = oldarg;
1383  Tcl_DecrRefCount(inst->thisptr);
1384  if (rcode != TCL_OK) return rcode;
1385  numconf += 2;
1386  }
1387  attr++;
1388  }
1389  i+=2;
1390  }
1391  }
1392  }
1393  if (strcmp(method,"configure") == 0) {
1394  if (numconf >= objc) {
1395  return TCL_OK;
1396  } else {
1397  Tcl_SetResult(interp,(char *) "Invalid attribute name.", TCL_STATIC);
1398  return TCL_ERROR;
1399  }
1400  }
1401  if (strcmp(method,"cget") == 0) {
1402  Tcl_SetResult(interp,(char *) "Invalid attribute name.", TCL_STATIC);
1403  return TCL_ERROR;
1404  }
1405  Tcl_SetResult(interp, (char *) "Invalid method. Must be one of: configure cget -acquire -disown -delete", TCL_STATIC);
1406  cls = inst->classptr;
1407  bi = 0;
1408  while (cls) {
1409  meth = cls->methods;
1410  while (meth && meth->name) {
1411  char *cr = (char *) Tcl_GetStringResult(interp);
1412  size_t meth_len = strlen(meth->name);
1413  char* where = strchr(cr,':');
1414  while(where) {
1415  where = strstr(where, meth->name);
1416  if(where) {
1417  if(where[-1] == ' ' && (where[meth_len] == ' ' || where[meth_len]==0)) {
1418  break;
1419  } else {
1420  where++;
1421  }
1422  }
1423  }
1424 
1425  if (!where)
1426  Tcl_AppendElement(interp, (char *) meth->name);
1427  meth++;
1428  }
1429  cls = inst->classptr->bases[bi++];
1430  }
1431  return TCL_ERROR;
1432 }
1433 
1434 /* This function takes the current result and turns it into an object command */
1435 SWIGRUNTIME Tcl_Obj *
1436 SWIG_Tcl_NewInstanceObj(Tcl_Interp *interp, void *thisvalue, swig_type_info *type, int flags) {
1437  Tcl_Obj *robj = SWIG_NewPointerObj(thisvalue, type,0);
1438  /* Check to see if this pointer belongs to a class or not */
1439  if (thisvalue && (type->clientdata) && (interp)) {
1440  Tcl_CmdInfo ci;
1441  char *name;
1442  name = Tcl_GetStringFromObj(robj,NULL);
1443  if (!Tcl_GetCommandInfo(interp,name, &ci) || (flags)) {
1444  swig_instance *newinst = (swig_instance *) malloc(sizeof(swig_instance));
1445  newinst->thisptr = Tcl_DuplicateObj(robj);
1446  Tcl_IncrRefCount(newinst->thisptr);
1447  newinst->thisvalue = thisvalue;
1448  newinst->classptr = (swig_class *) type->clientdata;
1449  newinst->destroy = flags;
1450  newinst->cmdtok = Tcl_CreateObjCommand(interp, Tcl_GetStringFromObj(robj,NULL), (swig_wrapper_func) SWIG_MethodCommand, (ClientData) newinst, (swig_delete_func) SWIG_ObjectDelete);
1451  if (flags) {
1452  SWIG_Acquire(thisvalue);
1453  }
1454  }
1455  }
1456  return robj;
1457 }
1458 
1459 /* Function to create objects */
1460 SWIGRUNTIME int
1461 SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
1462  Tcl_Obj *newObj = 0;
1463  void *thisvalue = 0;
1464  swig_instance *newinst = 0;
1465  swig_class *classptr = (swig_class *) clientData;
1466  swig_wrapper cons = 0;
1467  char *name = 0;
1468  int firstarg = 0;
1469  int thisarg = 0;
1470  int destroy = 1;
1471 
1472  if (!classptr) {
1473  Tcl_SetResult(interp, (char *) "swig: internal runtime error. No class object defined.", TCL_STATIC);
1474  return TCL_ERROR;
1475  }
1476  cons = classptr->constructor;
1477  if (objc > 1) {
1478  char *s = Tcl_GetStringFromObj(objv[1],NULL);
1479  if (strcmp(s,"-this") == 0) {
1480  thisarg = 2;
1481  cons = 0;
1482  } else if (strcmp(s,"-args") == 0) {
1483  firstarg = 1;
1484  } else if (objc == 2) {
1485  firstarg = 1;
1486  name = s;
1487  } else if (objc >= 3) {
1488  char *s1;
1489  name = s;
1490  s1 = Tcl_GetStringFromObj(objv[2],NULL);
1491  if (strcmp(s1,"-this") == 0) {
1492  thisarg = 3;
1493  cons = 0;
1494  } else {
1495  firstarg = 1;
1496  }
1497  }
1498  }
1499  if (cons) {
1500  int result;
1501  result = (*cons)(0, interp, objc-firstarg, &objv[firstarg]);
1502  if (result != TCL_OK) {
1503  return result;
1504  }
1505  newObj = Tcl_DuplicateObj(Tcl_GetObjResult(interp));
1506  if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
1507  } else if (thisarg > 0) {
1508  if (thisarg < objc) {
1509  destroy = 0;
1510  newObj = Tcl_DuplicateObj(objv[thisarg]);
1511  if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
1512  } else {
1513  Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
1514  return TCL_ERROR;
1515  }
1516  } else {
1517  Tcl_SetResult(interp, (char *) "No constructor available.", TCL_STATIC);
1518  return TCL_ERROR;
1519  }
1520  if (SWIG_Tcl_ConvertPtr(interp,newObj, (void **) &thisvalue, *(classptr->type), 0) != SWIG_OK) {
1521  Tcl_DecrRefCount(newObj);
1522  return TCL_ERROR;
1523  }
1524  newinst = (swig_instance *) malloc(sizeof(swig_instance));
1525  newinst->thisptr = newObj;
1526  Tcl_IncrRefCount(newObj);
1527  newinst->thisvalue = thisvalue;
1528  newinst->classptr = classptr;
1529  newinst->destroy = destroy;
1530  if (destroy) {
1531  SWIG_Acquire(thisvalue);
1532  }
1533  newinst->cmdtok = Tcl_CreateObjCommand(interp,name, (swig_wrapper) SWIG_MethodCommand, (ClientData) newinst, (swig_delete_func) SWIG_ObjectDelete);
1534  return TCL_OK;
1535 }
1536 
1537 /* -----------------------------------------------------------------------------*
1538  * Get arguments
1539  * -----------------------------------------------------------------------------*/
1540 SWIGRUNTIME int
1541 SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fmt, ...) {
1542  int argno = 0, opt = 0;
1543  long tempi;
1544  double tempd;
1545  const char *c;
1546  va_list ap;
1547  void *vptr;
1548  Tcl_Obj *obj = 0;
1549  swig_type_info *ty;
1550 
1551  va_start(ap,fmt);
1552  for (c = fmt; (*c && (*c != ':') && (*c != ';')); c++,argno++) {
1553  if (*c == '|') {
1554  opt = 1;
1555  c++;
1556  }
1557  if (argno >= (objc-1)) {
1558  if (!opt) {
1559  Tcl_SetResult(interp, (char *) "Wrong number of arguments ", TCL_STATIC);
1560  goto argerror;
1561  } else {
1562  va_end(ap);
1563  return TCL_OK;
1564  }
1565  }
1566 
1567  vptr = va_arg(ap,void *);
1568  if (vptr) {
1569  if (isupper(*c)) {
1570  obj = SWIG_Tcl_GetConstantObj(Tcl_GetStringFromObj(objv[argno+1],0));
1571  if (!obj) obj = objv[argno+1];
1572  } else {
1573  obj = objv[argno+1];
1574  }
1575  switch(*c) {
1576  case 'i': case 'I':
1577  case 'l': case 'L':
1578  case 'h': case 'H':
1579  case 'b': case 'B':
1580  if (Tcl_GetLongFromObj(interp,obj,&tempi) != TCL_OK) goto argerror;
1581  if ((*c == 'i') || (*c == 'I')) *((int *)vptr) = (int)tempi;
1582  else if ((*c == 'l') || (*c == 'L')) *((long *)vptr) = (long)tempi;
1583  else if ((*c == 'h') || (*c == 'H')) *((short*)vptr) = (short)tempi;
1584  else if ((*c == 'b') || (*c == 'B')) *((unsigned char *)vptr) = (unsigned char)tempi;
1585  break;
1586  case 'f': case 'F':
1587  case 'd': case 'D':
1588  if (Tcl_GetDoubleFromObj(interp,obj,&tempd) != TCL_OK) goto argerror;
1589  if ((*c == 'f') || (*c == 'F')) *((float *) vptr) = (float)tempd;
1590  else if ((*c == 'd') || (*c == 'D')) *((double*) vptr) = tempd;
1591  break;
1592  case 's': case 'S':
1593  if (*(c+1) == '#') {
1594  int *vlptr = (int *) va_arg(ap, void *);
1595  *((char **) vptr) = Tcl_GetStringFromObj(obj, vlptr);
1596  c++;
1597  } else {
1598  *((char **)vptr) = Tcl_GetStringFromObj(obj,NULL);
1599  }
1600  break;
1601  case 'c': case 'C':
1602  *((char *)vptr) = *(Tcl_GetStringFromObj(obj,NULL));
1603  break;
1604  case 'p': case 'P':
1605  ty = (swig_type_info *) va_arg(ap, void *);
1606  if (SWIG_Tcl_ConvertPtr(interp, obj, (void **) vptr, ty, 0) != SWIG_OK) goto argerror;
1607  break;
1608  case 'o': case 'O':
1609  *((Tcl_Obj **)vptr) = objv[argno+1];
1610  break;
1611  default:
1612  break;
1613  }
1614  }
1615  }
1616 
1617  if ((*c != ';') && ((objc-1) > argno)) {
1618  Tcl_SetResult(interp, (char *) "Wrong # args.", TCL_STATIC);
1619  goto argerror;
1620  }
1621  va_end(ap);
1622  return TCL_OK;
1623 
1624  argerror:
1625  {
1626  char temp[32];
1627  sprintf(temp,"%d", argno+1);
1628  c = strchr(fmt,':');
1629  if (!c) c = strchr(fmt,';');
1630  if (!c) c = (char *)"";
1631  Tcl_AppendResult(interp,c," argument ", temp, NULL);
1632  va_end(ap);
1633  return TCL_ERROR;
1634  }
1635 }
1636 
1637 #ifdef __cplusplus
1638 }
1639 #endif
1640 
1641 
1642 
1643 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1644 
1645 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1646 
1647 
1648 
1649 /* -------- TYPES TABLE (BEGIN) -------- */
1650 
1651 #define SWIGTYPE_p_a_block swig_types[0]
1652 #define SWIGTYPE_p_a_block_2d3 swig_types[1]
1653 #define SWIGTYPE_p_a_block_2d4 swig_types[2]
1654 #define SWIGTYPE_p_a_block_2d5 swig_types[3]
1655 #define SWIGTYPE_p_a_contact swig_types[4]
1656 #define SWIGTYPE_p_a_face swig_types[5]
1657 #define SWIGTYPE_p_a_face_2d4 swig_types[6]
1658 #define SWIGTYPE_p_a_fcriteria swig_types[7]
1659 #define SWIGTYPE_p_a_fcriteria_coulomb swig_types[8]
1660 #define SWIGTYPE_p_a_fcriteria_in swig_types[9]
1661 #define SWIGTYPE_p_a_linecloud swig_types[10]
1662 #define SWIGTYPE_p_a_material swig_types[11]
1663 #define SWIGTYPE_p_a_ocriteria swig_types[12]
1664 #define SWIGTYPE_p_a_ocriteria_H swig_types[13]
1665 #define SWIGTYPE_p_a_ocriteria_ex swig_types[14]
1666 #define SWIGTYPE_p_a_ocriteria_exmax swig_types[15]
1667 #define SWIGTYPE_p_a_plane swig_types[16]
1668 #define SWIGTYPE_p_a_plucker swig_types[17]
1669 #define SWIGTYPE_p_a_point swig_types[18]
1670 #define SWIGTYPE_p_a_segment swig_types[19]
1671 #define SWIGTYPE_p_a_structure swig_types[20]
1672 #define SWIGTYPE_p_a_trianglecloud swig_types[21]
1673 #define SWIGTYPE_p_a_twist swig_types[22]
1674 #define SWIGTYPE_p_a_wrench swig_types[23]
1675 #define SWIGTYPE_p_char swig_types[24]
1676 #define SWIGTYPE_p_difference_type swig_types[25]
1677 #define SWIGTYPE_p_size_type swig_types[26]
1678 #define SWIGTYPE_p_std__istream swig_types[27]
1679 #define SWIGTYPE_p_std__ostream swig_types[28]
1680 #define SWIGTYPE_p_std__out_of_range swig_types[29]
1681 #define SWIGTYPE_p_std__vectorT_double_t swig_types[30]
1682 #define SWIGTYPE_p_std__vectorT_int_t swig_types[31]
1683 #define SWIGTYPE_p_value_type swig_types[32]
1684 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1685 #define SWIGTYPE_std__size_t swig_types[34]
1687 static swig_module_info swig_module = {swig_types, 35, 0, 0, 0, 0};
1688 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1689 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1690 
1691 /* -------- TYPES TABLE (END) -------- */
1692 
1693 #define SWIG_init A_mechanics_Init
1694 #define SWIG_name "a_mechanics"
1695 #define SWIG_prefix ""
1696 #define SWIG_version "0.0"
1697 
1698 #define SWIGVERSION 0x040002
1699 #define SWIG_VERSION SWIGVERSION
1700 
1701 
1702 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
1703 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
1704 
1705 
1706 #include <stdexcept>
1707 
1708 
1709 
1710 #ifdef __cplusplus
1711 extern "C" {
1712 #endif
1713 #ifdef MAC_TCL
1714 #pragma export on
1715 #endif
1716 SWIGEXPORT int SWIG_init(Tcl_Interp *);
1717 #ifdef MAC_TCL
1718 #pragma export off
1719 #endif
1720 #ifdef __cplusplus
1721 }
1722 #endif
1723 
1724 /* Compatibility version for TCL stubs */
1725 #ifndef SWIG_TCL_STUBS_VERSION
1726 #define SWIG_TCL_STUBS_VERSION "8.1"
1727 #endif
1728 
1729 
1730 
1731 #include <string>
1732 
1733 
1734 #include <typeinfo>
1735 #include <stdexcept>
1736 
1737 
1738 #include <algorithm>
1739 
1740 
1741 #include <vector>
1742 
1743 Tcl_Obj* SwigString_FromString(const std::string &s) {
1744  return Tcl_NewStringObj(s.data(), (int)s.length());
1745 }
1746 
1747 int Tcl_GetBoolFromObj(Tcl_Interp *interp, Tcl_Obj *o, bool *val) {
1748  int v;
1749  int res = Tcl_GetBooleanFromObj(interp, o, &v);
1750  if (res == TCL_OK) {
1751  *val = v ? true : false;
1752  }
1753  return res;
1754 }
1755 
1756 int SwigString_AsString(Tcl_Interp *interp, Tcl_Obj *o, std::string *val) {
1757  int len;
1758  const char* temp = Tcl_GetStringFromObj(o, &len);
1759  if (temp == NULL)
1760  return TCL_ERROR;
1761  val->assign(temp, len);
1762  return TCL_OK;
1763 }
1764 
1765 // behaviour of this is such as the real Tcl_GetIntFromObj
1766 template <typename Type>
1767 int SwigInt_As(Tcl_Interp *interp, Tcl_Obj *o, Type *val) {
1768  int temp_val, return_val;
1769  return_val = Tcl_GetIntFromObj(interp, o, &temp_val);
1770  *val = (Type) temp_val;
1771  return return_val;
1772 }
1773 
1774 // behaviour of this is such as the real Tcl_GetDoubleFromObj
1775 template <typename Type>
1776 int SwigDouble_As(Tcl_Interp *interp, Tcl_Obj *o, Type *val) {
1777  int return_val;
1778  double temp_val;
1779  return_val = Tcl_GetDoubleFromObj(interp, o, &temp_val);
1780  *val = (Type) temp_val;
1781  return return_val;
1782 }
1783 
1784 
1785 
1786 #include <limits.h>
1787 #if !defined(SWIG_NO_LLONG_MAX)
1788 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1789 # define LLONG_MAX __LONG_LONG_MAX__
1790 # define LLONG_MIN (-LLONG_MAX - 1LL)
1791 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1792 # endif
1793 #endif
1794 
1795 
1796 SWIGINTERN int
1797 SWIG_AsVal_unsigned_SS_long SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, unsigned long *val) {
1798  long v;
1799  if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
1800  if (v >= 0) {
1801  if (val) *val = (unsigned long) v;
1802  return SWIG_OK;
1803  }
1804  /* If v is negative, then this could be a negative number, or an
1805  unsigned value which doesn't fit in a signed long, so try to
1806  get it as a string so we can distinguish these cases. */
1807  }
1808  {
1809  int len = 0;
1810  const char *nptr = Tcl_GetStringFromObj(obj, &len);
1811  if (nptr && len > 0) {
1812  char *endptr;
1813  unsigned long v;
1814  if (*nptr == '-') return SWIG_OverflowError;
1815  errno = 0;
1816  v = strtoul(nptr, &endptr,0);
1817  if (nptr[0] == '\0' || *endptr != '\0')
1818  return SWIG_TypeError;
1819  if (v == ULONG_MAX && errno == ERANGE) {
1820  errno = 0;
1821  return SWIG_OverflowError;
1822  } else {
1823  if (*endptr == '\0') {
1824  if (val) *val = v;
1825  return SWIG_OK;
1826  }
1827  }
1828  }
1829  }
1830 
1831  return SWIG_TypeError;
1832 }
1833 
1834 
1835 SWIGINTERN int
1836 SWIG_AsVal_unsigned_SS_int SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, unsigned int *val)
1837 {
1838  unsigned long v;
1839  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, &v);
1840  if (SWIG_IsOK(res)) {
1841  if ((v > UINT_MAX)) {
1842  return SWIG_OverflowError;
1843  } else {
1844  if (val) *val = static_cast< unsigned int >(v);
1845  }
1846  }
1847  return res;
1848 }
1849 
1850 
1851 SWIGINTERN int
1852 SWIG_AsVal_long SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, long* val)
1853 {
1854  long v;
1855  if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
1856  if (val) *val = (long) v;
1857  return SWIG_OK;
1858  }
1859  return SWIG_TypeError;
1860 }
1861 
1862 
1863 SWIGINTERN int
1864 SWIG_AsVal_int SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, int *val)
1865 {
1866  long v;
1867  int res = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(obj, &v);
1868  if (SWIG_IsOK(res)) {
1869  if ((v < INT_MIN || v > INT_MAX)) {
1870  return SWIG_OverflowError;
1871  } else {
1872  if (val) *val = static_cast< int >(v);
1873  }
1874  }
1875  return res;
1876 }
1877 
1878 
1879 SWIGINTERNINLINE Tcl_Obj*
1880 SWIG_From_long (long value)
1881 {
1882  if (((long) INT_MIN <= value) && (value <= (long) INT_MAX)) {
1883  return Tcl_NewIntObj(static_cast< int >(value));
1884  } else {
1885  return Tcl_NewLongObj(value);
1886  }
1887 }
1888 
1889 
1890 #include <stdio.h>
1891 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
1892 # ifndef snprintf
1893 # define snprintf _snprintf
1894 # endif
1895 #endif
1896 
1897 
1898 SWIGINTERNINLINE Tcl_Obj*
1899 SWIG_From_unsigned_SS_long (unsigned long value)
1900 {
1901  if (value < (unsigned long) LONG_MAX) {
1902  return SWIG_From_long (static_cast< long >(value));
1903  } else {
1904  char temp[256];
1905  sprintf(temp, "%lu", value);
1906  return Tcl_NewStringObj(temp,-1);
1907  }
1908 }
1909 
1910 
1911 SWIGINTERNINLINE Tcl_Obj *
1912 SWIG_From_unsigned_SS_int (unsigned int value)
1913 {
1914  return SWIG_From_unsigned_SS_long (value);
1915 }
1916 
1917 
1918  #define SWIG_From_bool Tcl_NewBooleanObj
1919 
1920 SWIGINTERN int std_vector_Sl_int_Sg__pop(std::vector< int > *self){
1921  if (self->size() == 0)
1922  throw std::out_of_range("pop from empty vector");
1923  int x = self->back();
1924  self->pop_back();
1925  return x;
1926  }
1927 
1928 SWIGINTERNINLINE Tcl_Obj *
1929 SWIG_From_int (int value)
1930 {
1931  return SWIG_From_long (value);
1932 }
1933 
1934 SWIGINTERN int std_vector_Sl_int_Sg__get(std::vector< int > *self,int i){
1935  int size = int(self->size());
1936  if (i<0) i += size;
1937  if (i>=0 && i<size)
1938  return (*self)[i];
1939  else
1940  throw std::out_of_range("vector index out of range");
1941  }
1942 SWIGINTERN void std_vector_Sl_int_Sg__set(std::vector< int > *self,int i,int x){
1943  int size = int(self->size());
1944  if (i<0) i+= size;
1945  if (i>=0 && i<size)
1946  (*self)[i] = x;
1947  else
1948  throw std::out_of_range("vector index out of range");
1949  }
1950 
1951 SWIGINTERN int
1952 SWIG_AsVal_double SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, double *val)
1953 {
1954  double v;
1955  if (Tcl_GetDoubleFromObj(0, obj, &v) == TCL_OK) {
1956  if (val) *val = v;
1957  return SWIG_OK;
1958  }
1959  return SWIG_TypeError;
1960 }
1961 
1962 SWIGINTERN double std_vector_Sl_double_Sg__pop(std::vector< double > *self){
1963  if (self->size() == 0)
1964  throw std::out_of_range("pop from empty vector");
1965  double x = self->back();
1966  self->pop_back();
1967  return x;
1968  }
1969 
1970  #define SWIG_From_double Tcl_NewDoubleObj
1971 
1972 SWIGINTERN double std_vector_Sl_double_Sg__get(std::vector< double > *self,int i){
1973  int size = int(self->size());
1974  if (i<0) i += size;
1975  if (i>=0 && i<size)
1976  return (*self)[i];
1977  else
1978  throw std::out_of_range("vector index out of range");
1979  }
1980 SWIGINTERN void std_vector_Sl_double_Sg__set(std::vector< double > *self,int i,double x){
1981  int size = int(self->size());
1982  if (i<0) i+= size;
1983  if (i>=0 && i<size)
1984  (*self)[i] = x;
1985  else
1986  throw std::out_of_range("vector index out of range");
1987  }
1988 
1989 #include "a_material.h"
1990 
1991 
1992 SWIGINTERN int
1993 SWIG_AsCharPtrAndSize(Tcl_Obj *obj, char** cptr, size_t* psize, int *alloc)
1994 {
1995  int len = 0;
1996  char *cstr = Tcl_GetStringFromObj(obj, &len);
1997  if (cstr) {
1998  if (cptr) *cptr = cstr;
1999  if (psize) *psize = len + 1;
2000  if (alloc) *alloc = SWIG_OLDOBJ;
2001  return SWIG_OK;
2002  }
2003  return SWIG_TypeError;
2004 }
2005 
2006 
2007 SWIGINTERN int
2008 SWIG_AsPtr_std_string SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, std::string **val)
2009 {
2010  char* buf = 0 ; size_t size = 0; int alloc = SWIG_OLDOBJ;
2011  if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
2012  if (buf) {
2013  if (val) *val = new std::string(buf, size - 1);
2014  if (alloc == SWIG_NEWOBJ) delete[] buf;
2015  return SWIG_NEWOBJ;
2016  } else {
2017  if (val) *val = 0;
2018  return SWIG_OLDOBJ;
2019  }
2020  } else {
2021  static int init = 0;
2022  static swig_type_info* descriptor = 0;
2023  if (!init) {
2024  descriptor = SWIG_TypeQuery("std::string" " *");
2025  init = 1;
2026  }
2027  if (descriptor) {
2028  std::string *vptr;
2029  int res = SWIG_ConvertPtr(obj, (void**)&vptr, descriptor, 0);
2030  if (SWIG_IsOK(res) && val) *val = vptr;
2031  return res;
2032  }
2033  }
2034  return SWIG_ERROR;
2035 }
2036 
2037 
2038 SWIGINTERNINLINE Tcl_Obj *
2039 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2040 {
2041  return (size < INT_MAX) ? Tcl_NewStringObj(carray, static_cast< int >(size)) : NULL;
2042 }
2043 
2044 
2045 SWIGINTERNINLINE Tcl_Obj *
2046 SWIG_From_std_string (const std::string& s)
2047 {
2048  return SWIG_FromCharPtrAndSize(s.data(), s.size());
2049 }
2050 
2052  std::ostringstream out;
2053  out << *self;
2054  return out.str();
2055  }
2056 
2057 #include <sstream>
2058 #include "a_plucker.h"
2059 
2061  std::ostringstream out;
2062  out << *self;
2063  return out.str();
2064  }
2065 
2066 #include "a_wrench.h"
2067 
2068 
2069 a_wrench * p2w(a_plucker *p) { return (a_wrench*)(p); }
2070 
2071 
2072 #include "a_twist.h"
2073 
2074 
2075 a_twist * p2t(a_plucker *p) { return (a_twist*)(p); }
2076 
2077 
2078 #include "a_block.h"
2079 
2080 SWIGINTERN std::string a_block_print(a_block *self){
2081  std::ostringstream out;
2082  out << *self;
2083  return out.str();
2084  }
2085 SWIGINTERN std::string a_block_convert(a_block *self,std::string const &code){
2086  std::ostringstream out;
2087  if (code=="brlcad") self->writeg(out);
2088  else if (code=="tri") self->writetri(out);
2089  else if (code=="blender") self->writeb(out);
2090  else out << "Wrong code. block_name convert code (tri, brlcad, blender)";
2091  return out.str();
2092  }
2093 
2094 #include "a_block.h"
2095 #include "a_block_2d3.h"
2096 
2097 
2098 #include "a_block.h"
2099 #include "a_block_2d4.h"
2100 
2101 
2102 #include "a_block.h"
2103 #include "a_block_2d5.h"
2104 
2105 
2106 #include "a_face.h"
2107 
2108 
2109 SWIGINTERN int
2110 SWIG_AsVal_unsigned_SS_short SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, unsigned short *val)
2111 {
2112  unsigned long v;
2113  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, &v);
2114  if (SWIG_IsOK(res)) {
2115  if ((v > USHRT_MAX)) {
2116  return SWIG_OverflowError;
2117  } else {
2118  if (val) *val = static_cast< unsigned short >(v);
2119  }
2120  }
2121  return res;
2122 }
2123 
2124 
2125 SWIGINTERN int
2126 SWIG_AsVal_bool SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, bool *val)
2127 {
2128  int v;
2129  if (Tcl_GetBooleanFromObj(0, obj, &v) == TCL_OK) {
2130  if (val) *val = v ? true : false;
2131  return SWIG_OK;
2132  }
2133  return SWIG_TypeError;
2134 }
2135 
2136 SWIGINTERN a_wrench *a_face_f__SWIG_3(a_face *self){return self->fp();}
2137 SWIGINTERN std::string a_face_print(a_face *self){
2138  std::ostringstream out;
2139  out << *self;
2140  return out.str();
2141  }
2142 
2143 #include "a_face_2d4.h"
2144 
2145 
2146 #include "a_ocriteria.h"
2147 
2148 
2149 #include "a_ocriteria_H.h"
2150 
2151 
2152 #include "a_ocriteria_ex.h"
2153 
2154 
2155 #include "a_ocriteria_exmax.h"
2156 
2157 
2158 #include "a_fcriteria.h"
2159 
2160 
2161 #include "a_fcriteria_in.h"
2162 
2163 
2164 #include "a_fcriteria_coulomb.h"
2165 
2166 
2167 #include "a_contact.h"
2168 
2170  std::ostringstream out;
2171  out << *self;
2172  return out.str();
2173  }
2174 
2175 #include "a_structure.h"
2176 
2177 SWIGINTERN std::string a_structure_convert__SWIG_0(a_structure *self,std::string const &code){
2178  std::ostringstream out;
2179  if (code=="blender") self->writeb(out);
2180  else if (code=="brlcad") self->writeg(out);
2181  else if (code=="tri") self->writetri(out);
2182  else out << "Wrong code. block_name convert code (blender, brlcad, tri)";
2183  out.flush();
2184  return out.str();
2185  }
2186 SWIGINTERN void a_structure_convert__SWIG_1(a_structure *self,std::string const &code,std::string const &name){
2187  std::ofstream out(name.c_str());
2188  //std::ostringstream out;
2189  if (code=="blender") self->writeb(out);
2190  else if (code=="brlcad") self->writeg(out);
2191  else if (code=="tri") self->writetri(out);
2192  else out << "Wrong code. block_name convert code (blender, brlcad, tri)";
2193  out.close();
2194  return;
2195  }
2197  std::ostringstream out;
2198  out << "Function non available!" << std::endl;
2199  out << "Structures may have more than one material" << std::endl;
2200  out << "Use instead: ['a_structure' b 'ref'] material" << std::endl;
2201  return out.str();
2202  }
2203 #ifdef __cplusplus
2204 extern "C" {
2205 #endif
2206 SWIGINTERN int
2207 _wrap_new_vectori__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2208  unsigned int arg1 ;
2209  unsigned int val1 ;
2210  int ecode1 = 0 ;
2211  std::vector< int > *result = 0 ;
2212 
2213  if (SWIG_GetArgs(interp, objc, objv,"o:new_vectori size ",(void *)0) == TCL_ERROR) SWIG_fail;
2214  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
2215  if (!SWIG_IsOK(ecode1)) {
2216  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectori" "', argument " "1"" of type '" "unsigned int""'");
2217  }
2218  arg1 = static_cast< unsigned int >(val1);
2219  result = (std::vector< int > *)new std::vector< int >(arg1);
2220  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t,0));
2221  return TCL_OK;
2222 fail:
2223  return TCL_ERROR;
2224 }
2225 
2226 
2227 SWIGINTERN int
2228 _wrap_new_vectori__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2229  std::vector< int > *result = 0 ;
2230 
2231  if (SWIG_GetArgs(interp, objc, objv,":new_vectori ") == TCL_ERROR) SWIG_fail;
2232  result = (std::vector< int > *)new std::vector< int >();
2233  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t,0));
2234  return TCL_OK;
2235 fail:
2236  return TCL_ERROR;
2237 }
2238 
2239 
2240 SWIGINTERN int
2241 _wrap_new_vectori__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2242  unsigned int arg1 ;
2243  int *arg2 = 0 ;
2244  unsigned int val1 ;
2245  int ecode1 = 0 ;
2246  int temp2 ;
2247  int val2 ;
2248  int ecode2 = 0 ;
2249  std::vector< int > *result = 0 ;
2250 
2251  if (SWIG_GetArgs(interp, objc, objv,"oo:new_vectori size value ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2252  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
2253  if (!SWIG_IsOK(ecode1)) {
2254  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectori" "', argument " "1"" of type '" "unsigned int""'");
2255  }
2256  arg1 = static_cast< unsigned int >(val1);
2257  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2258  if (!SWIG_IsOK(ecode2)) {
2259  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vectori" "', argument " "2"" of type '" "int""'");
2260  }
2261  temp2 = static_cast< int >(val2);
2262  arg2 = &temp2;
2263  result = (std::vector< int > *)new std::vector< int >(arg1,(int const &)*arg2);
2264  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t,0));
2265  return TCL_OK;
2266 fail:
2267  return TCL_ERROR;
2268 }
2269 
2270 
2271 SWIGINTERN int
2272 _wrap_new_vectori__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2273  std::vector< int > *arg1 = 0 ;
2274  std::vector< int > *v1 ;
2275  std::vector< int > w1 ;
2276  std::vector< int > *result = 0 ;
2277 
2278  if (SWIG_GetArgs(interp, objc, objv,"o:new_vectori other ",(void *)0) == TCL_ERROR) SWIG_fail;
2279  {
2280  Tcl_Obj **listobjv;
2281  int nitems;
2282  int i;
2283  int temp;
2284 
2285  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2286  SWIGTYPE_p_std__vectorT_int_t, 0) == 0) {
2287  arg1 = v1;
2288  } else {
2289  // It isn't a vector< int > so it should be a list of int's
2290  if(Tcl_ListObjGetElements(interp, objv[1],
2291  &nitems, &listobjv) == TCL_ERROR)
2292  return TCL_ERROR;
2293  w1 = std::vector< int >();
2294  for (i = 0; i < nitems; i++) {
2295  if (Tcl_GetIntFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2296  return TCL_ERROR;
2297  w1.push_back(temp);
2298  }
2299  arg1 = &w1;
2300  }
2301  }
2302  result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
2303  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_t,0));
2304  return TCL_OK;
2305 fail:
2306  return TCL_ERROR;
2307 }
2308 
2309 
2310 SWIGINTERN int
2311 _wrap_new_vectori(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2312  Tcl_Obj *CONST *argv = objv+1;
2313  int argc = objc-1;
2314  if (argc == 0) {
2315  return _wrap_new_vectori__SWIG_1(clientData, interp, objc, argv - 1);
2316  }
2317  if (argc == 1) {
2318  int _v;
2319  {
2320  int res = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
2321  _v = SWIG_CheckState(res);
2322  }
2323  if (_v) {
2324  return _wrap_new_vectori__SWIG_0(clientData, interp, objc, argv - 1);
2325  }
2326  }
2327  if (argc == 1) {
2328  int _v;
2329  {
2330  Tcl_Obj **listobjv;
2331  int nitems;
2332  int temp;
2333  std::vector< int > *v;
2334 
2335  if(SWIG_ConvertPtr(argv[0], (void **) &v, \
2337  /* wrapped vector */
2338  _v = 1;
2339  } else {
2340  // It isn't a vector< int > so it should be a list of int's
2341  if(Tcl_ListObjGetElements(interp, argv[0],
2342  &nitems, &listobjv) == TCL_ERROR)
2343  _v = 0;
2344  else
2345  if (nitems == 0)
2346  _v = 1;
2347  //check the first value to see if it is of correct type
2348  if (Tcl_GetIntFromObj(interp, listobjv[0], &temp) == TCL_ERROR)
2349  _v = 0;
2350  else
2351  _v = 1;
2352  }
2353  }
2354  if (_v) {
2355  return _wrap_new_vectori__SWIG_3(clientData, interp, objc, argv - 1);
2356  }
2357  }
2358  if (argc == 2) {
2359  int _v;
2360  {
2361  int res = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
2362  _v = SWIG_CheckState(res);
2363  }
2364  if (_v) {
2365  {
2366  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
2367  _v = SWIG_CheckState(res);
2368  }
2369  if (_v) {
2370  return _wrap_new_vectori__SWIG_2(clientData, interp, objc, argv - 1);
2371  }
2372  }
2373  }
2374 
2375  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_vectori'.\n"
2376  " Possible C/C++ prototypes are:\n"
2377  " std::vector< int >::vector(unsigned int)\n"
2378  " std::vector< int >::vector()\n"
2379  " std::vector< int >::vector(unsigned int,int const &)\n"
2380  " std::vector< int >::vector(std::vector< int > const &)\n", TCL_STATIC);
2381  return TCL_ERROR;
2382 }
2383 
2384 
2385 SWIGINTERN int
2386 _wrap_vectori_size(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2387  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2388  std::vector< int > *v1 ;
2389  std::vector< int > w1 ;
2390  unsigned int result;
2391 
2392  if (SWIG_GetArgs(interp, objc, objv,"o:vectori_size self ",(void *)0) == TCL_ERROR) SWIG_fail;
2393  {
2394  Tcl_Obj **listobjv;
2395  int nitems;
2396  int i;
2397  int temp;
2398 
2399  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2400  SWIGTYPE_p_std__vectorT_int_t, 0) == 0) {
2401  arg1 = v1;
2402  } else {
2403  // It isn't a vector< int > so it should be a list of int's
2404  if(Tcl_ListObjGetElements(interp, objv[1],
2405  &nitems, &listobjv) == TCL_ERROR)
2406  return TCL_ERROR;
2407  w1 = std::vector< int >();
2408  for (i = 0; i < nitems; i++) {
2409  if (Tcl_GetIntFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2410  return TCL_ERROR;
2411  w1.push_back(temp);
2412  }
2413  arg1 = &w1;
2414  }
2415  }
2416  result = (unsigned int)((std::vector< int > const *)arg1)->size();
2417  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)));
2418  return TCL_OK;
2419 fail:
2420  return TCL_ERROR;
2421 }
2422 
2423 
2424 SWIGINTERN int
2425 _wrap_vectori_empty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2426  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2427  std::vector< int > *v1 ;
2428  std::vector< int > w1 ;
2429  bool result;
2430 
2431  if (SWIG_GetArgs(interp, objc, objv,"o:vectori_empty self ",(void *)0) == TCL_ERROR) SWIG_fail;
2432  {
2433  Tcl_Obj **listobjv;
2434  int nitems;
2435  int i;
2436  int temp;
2437 
2438  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2439  SWIGTYPE_p_std__vectorT_int_t, 0) == 0) {
2440  arg1 = v1;
2441  } else {
2442  // It isn't a vector< int > so it should be a list of int's
2443  if(Tcl_ListObjGetElements(interp, objv[1],
2444  &nitems, &listobjv) == TCL_ERROR)
2445  return TCL_ERROR;
2446  w1 = std::vector< int >();
2447  for (i = 0; i < nitems; i++) {
2448  if (Tcl_GetIntFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2449  return TCL_ERROR;
2450  w1.push_back(temp);
2451  }
2452  arg1 = &w1;
2453  }
2454  }
2455  result = (bool)((std::vector< int > const *)arg1)->empty();
2456  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
2457  return TCL_OK;
2458 fail:
2459  return TCL_ERROR;
2460 }
2461 
2462 
2463 SWIGINTERN int
2464 _wrap_vectori_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2465  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2466  void *argp1 = 0 ;
2467  int res1 = 0 ;
2468 
2469  if (SWIG_GetArgs(interp, objc, objv,"o:vectori_clear self ",(void *)0) == TCL_ERROR) SWIG_fail;
2470  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 | 0 );
2471  if (!SWIG_IsOK(res1)) {
2472  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_clear" "', argument " "1"" of type '" "std::vector< int > *""'");
2473  }
2474  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2475  (arg1)->clear();
2476 
2477  return TCL_OK;
2478 fail:
2479  return TCL_ERROR;
2480 }
2481 
2482 
2483 SWIGINTERN int
2484 _wrap_vectori_push(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2485  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2486  int arg2 ;
2487  void *argp1 = 0 ;
2488  int res1 = 0 ;
2489  int val2 ;
2490  int ecode2 = 0 ;
2491 
2492  if (SWIG_GetArgs(interp, objc, objv,"oo:vectori_push self x ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2493  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 | 0 );
2494  if (!SWIG_IsOK(res1)) {
2495  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_push" "', argument " "1"" of type '" "std::vector< int > *""'");
2496  }
2497  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2498  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2499  if (!SWIG_IsOK(ecode2)) {
2500  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_push" "', argument " "2"" of type '" "int""'");
2501  }
2502  arg2 = static_cast< int >(val2);
2503  (arg1)->push_back(arg2);
2504 
2505  return TCL_OK;
2506 fail:
2507  return TCL_ERROR;
2508 }
2509 
2510 
2511 SWIGINTERN int
2512 _wrap_vectori_pop(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2513  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2514  void *argp1 = 0 ;
2515  int res1 = 0 ;
2516  int result;
2517 
2518  if (SWIG_GetArgs(interp, objc, objv,"o:vectori_pop self ",(void *)0) == TCL_ERROR) SWIG_fail;
2519  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 | 0 );
2520  if (!SWIG_IsOK(res1)) {
2521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_pop" "', argument " "1"" of type '" "std::vector< int > *""'");
2522  }
2523  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2524  try {
2525  result = (int)std_vector_Sl_int_Sg__pop(arg1);
2526  } catch(std::out_of_range &_e) {
2527  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
2528  }
2529  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
2530  return TCL_OK;
2531 fail:
2532  return TCL_ERROR;
2533 }
2534 
2535 
2536 SWIGINTERN int
2537 _wrap_vectori_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2538  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2539  int arg2 ;
2540  void *argp1 = 0 ;
2541  int res1 = 0 ;
2542  int val2 ;
2543  int ecode2 = 0 ;
2544  int result;
2545 
2546  if (SWIG_GetArgs(interp, objc, objv,"oo:vectori_get self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2547  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 | 0 );
2548  if (!SWIG_IsOK(res1)) {
2549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_get" "', argument " "1"" of type '" "std::vector< int > *""'");
2550  }
2551  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2552  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2553  if (!SWIG_IsOK(ecode2)) {
2554  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_get" "', argument " "2"" of type '" "int""'");
2555  }
2556  arg2 = static_cast< int >(val2);
2557  try {
2558  result = (int)std_vector_Sl_int_Sg__get(arg1,arg2);
2559  } catch(std::out_of_range &_e) {
2560  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
2561  }
2562  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
2563  return TCL_OK;
2564 fail:
2565  return TCL_ERROR;
2566 }
2567 
2568 
2569 SWIGINTERN int
2570 _wrap_vectori_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2571  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2572  int arg2 ;
2573  int arg3 ;
2574  void *argp1 = 0 ;
2575  int res1 = 0 ;
2576  int val2 ;
2577  int ecode2 = 0 ;
2578  int val3 ;
2579  int ecode3 = 0 ;
2580 
2581  if (SWIG_GetArgs(interp, objc, objv,"ooo:vectori_set self i x ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2582  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_int_t, 0 | 0 );
2583  if (!SWIG_IsOK(res1)) {
2584  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectori_set" "', argument " "1"" of type '" "std::vector< int > *""'");
2585  }
2586  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2587  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2588  if (!SWIG_IsOK(ecode2)) {
2589  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectori_set" "', argument " "2"" of type '" "int""'");
2590  }
2591  arg2 = static_cast< int >(val2);
2592  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
2593  if (!SWIG_IsOK(ecode3)) {
2594  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectori_set" "', argument " "3"" of type '" "int""'");
2595  }
2596  arg3 = static_cast< int >(val3);
2597  try {
2598  std_vector_Sl_int_Sg__set(arg1,arg2,arg3);
2599  } catch(std::out_of_range &_e) {
2600  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
2601  }
2602 
2603  return TCL_OK;
2604 fail:
2605  return TCL_ERROR;
2606 }
2607 
2608 
2609 SWIGINTERN int
2610 _wrap_delete_vectori(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2611  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
2612  void *argp1 = 0 ;
2613  int res1 = 0 ;
2614 
2615  if (SWIG_GetArgs(interp, objc, objv,"o:delete_vectori self ",(void *)0) == TCL_ERROR) SWIG_fail;
2617  if (!SWIG_IsOK(res1)) {
2618  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vectori" "', argument " "1"" of type '" "std::vector< int > *""'");
2619  }
2620  arg1 = reinterpret_cast< std::vector< int > * >(argp1);
2621  delete arg1;
2622 
2623  return TCL_OK;
2624 fail:
2625  return TCL_ERROR;
2626 }
2627 
2628 
2630 std::vector< int > *arg1 = (std::vector< int > *) obj;
2631 delete arg1;
2632 }
2634  {"size", _wrap_vectori_size},
2635  {"empty", _wrap_vectori_empty},
2636  {"clear", _wrap_vectori_clear},
2637  {"push", _wrap_vectori_push},
2638  {"pop", _wrap_vectori_pop},
2639  {"get", _wrap_vectori_get},
2640  {"set", _wrap_vectori_set},
2641  {0,0}
2642 };
2644  {0,0,0}
2645 };
2647 static const char * swig_std_vector_Sl_int_Sg__base_names[] = {0};
2649 SWIGINTERN int
2650 _wrap_new_vectord__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2651  unsigned int arg1 ;
2652  unsigned int val1 ;
2653  int ecode1 = 0 ;
2654  std::vector< double > *result = 0 ;
2655 
2656  if (SWIG_GetArgs(interp, objc, objv,"o:new_vectord size ",(void *)0) == TCL_ERROR) SWIG_fail;
2657  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
2658  if (!SWIG_IsOK(ecode1)) {
2659  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectord" "', argument " "1"" of type '" "unsigned int""'");
2660  }
2661  arg1 = static_cast< unsigned int >(val1);
2662  result = (std::vector< double > *)new std::vector< double >(arg1);
2663  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t,0));
2664  return TCL_OK;
2665 fail:
2666  return TCL_ERROR;
2667 }
2668 
2669 
2670 SWIGINTERN int
2671 _wrap_new_vectord__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2672  std::vector< double > *result = 0 ;
2673 
2674  if (SWIG_GetArgs(interp, objc, objv,":new_vectord ") == TCL_ERROR) SWIG_fail;
2675  result = (std::vector< double > *)new std::vector< double >();
2676  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t,0));
2677  return TCL_OK;
2678 fail:
2679  return TCL_ERROR;
2680 }
2681 
2682 
2683 SWIGINTERN int
2684 _wrap_new_vectord__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2685  unsigned int arg1 ;
2686  double *arg2 = 0 ;
2687  unsigned int val1 ;
2688  int ecode1 = 0 ;
2689  double temp2 ;
2690  double val2 ;
2691  int ecode2 = 0 ;
2692  std::vector< double > *result = 0 ;
2693 
2694  if (SWIG_GetArgs(interp, objc, objv,"oo:new_vectord size value ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2695  ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
2696  if (!SWIG_IsOK(ecode1)) {
2697  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_vectord" "', argument " "1"" of type '" "unsigned int""'");
2698  }
2699  arg1 = static_cast< unsigned int >(val1);
2700  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2701  if (!SWIG_IsOK(ecode2)) {
2702  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_vectord" "', argument " "2"" of type '" "double""'");
2703  }
2704  temp2 = static_cast< double >(val2);
2705  arg2 = &temp2;
2706  result = (std::vector< double > *)new std::vector< double >(arg1,(double const &)*arg2);
2707  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t,0));
2708  return TCL_OK;
2709 fail:
2710  return TCL_ERROR;
2711 }
2712 
2713 
2714 SWIGINTERN int
2715 _wrap_new_vectord__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2716  std::vector< double > *arg1 = 0 ;
2717  std::vector< double > *v1 ;
2718  std::vector< double > w1 ;
2719  std::vector< double > *result = 0 ;
2720 
2721  if (SWIG_GetArgs(interp, objc, objv,"o:new_vectord other ",(void *)0) == TCL_ERROR) SWIG_fail;
2722  {
2723  Tcl_Obj **listobjv;
2724  int nitems;
2725  int i;
2726  double temp;
2727 
2728  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2730  arg1 = v1;
2731  } else {
2732  // It isn't a vector< double > so it should be a list of double's
2733  if(Tcl_ListObjGetElements(interp, objv[1],
2734  &nitems, &listobjv) == TCL_ERROR)
2735  return TCL_ERROR;
2736  w1 = std::vector< double >();
2737  for (i = 0; i < nitems; i++) {
2738  if (Tcl_GetDoubleFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2739  return TCL_ERROR;
2740  w1.push_back(temp);
2741  }
2742  arg1 = &w1;
2743  }
2744  }
2745  result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
2746  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_t,0));
2747  return TCL_OK;
2748 fail:
2749  return TCL_ERROR;
2750 }
2751 
2752 
2753 SWIGINTERN int
2754 _wrap_new_vectord(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2755  Tcl_Obj *CONST *argv = objv+1;
2756  int argc = objc-1;
2757  if (argc == 0) {
2758  return _wrap_new_vectord__SWIG_1(clientData, interp, objc, argv - 1);
2759  }
2760  if (argc == 1) {
2761  int _v;
2762  {
2763  int res = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
2764  _v = SWIG_CheckState(res);
2765  }
2766  if (_v) {
2767  return _wrap_new_vectord__SWIG_0(clientData, interp, objc, argv - 1);
2768  }
2769  }
2770  if (argc == 1) {
2771  int _v;
2772  {
2773  Tcl_Obj **listobjv;
2774  int nitems;
2775  double temp;
2776  std::vector< double > *v;
2777 
2778  if(SWIG_ConvertPtr(argv[0], (void **) &v, \
2780  /* wrapped vector */
2781  _v = 1;
2782  } else {
2783  // It isn't a vector< double > so it should be a list of double's
2784  if(Tcl_ListObjGetElements(interp, argv[0],
2785  &nitems, &listobjv) == TCL_ERROR)
2786  _v = 0;
2787  else
2788  if (nitems == 0)
2789  _v = 1;
2790  //check the first value to see if it is of correct type
2791  if (Tcl_GetDoubleFromObj(interp, listobjv[0], &temp) == TCL_ERROR)
2792  _v = 0;
2793  else
2794  _v = 1;
2795  }
2796  }
2797  if (_v) {
2798  return _wrap_new_vectord__SWIG_3(clientData, interp, objc, argv - 1);
2799  }
2800  }
2801  if (argc == 2) {
2802  int _v;
2803  {
2804  int res = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
2805  _v = SWIG_CheckState(res);
2806  }
2807  if (_v) {
2808  {
2809  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
2810  _v = SWIG_CheckState(res);
2811  }
2812  if (_v) {
2813  return _wrap_new_vectord__SWIG_2(clientData, interp, objc, argv - 1);
2814  }
2815  }
2816  }
2817 
2818  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_vectord'.\n"
2819  " Possible C/C++ prototypes are:\n"
2820  " std::vector< double >::vector(unsigned int)\n"
2821  " std::vector< double >::vector()\n"
2822  " std::vector< double >::vector(unsigned int,double const &)\n"
2823  " std::vector< double >::vector(std::vector< double > const &)\n", TCL_STATIC);
2824  return TCL_ERROR;
2825 }
2826 
2827 
2828 SWIGINTERN int
2829 _wrap_vectord_size(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2830  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2831  std::vector< double > *v1 ;
2832  std::vector< double > w1 ;
2833  unsigned int result;
2834 
2835  if (SWIG_GetArgs(interp, objc, objv,"o:vectord_size self ",(void *)0) == TCL_ERROR) SWIG_fail;
2836  {
2837  Tcl_Obj **listobjv;
2838  int nitems;
2839  int i;
2840  double temp;
2841 
2842  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2844  arg1 = v1;
2845  } else {
2846  // It isn't a vector< double > so it should be a list of double's
2847  if(Tcl_ListObjGetElements(interp, objv[1],
2848  &nitems, &listobjv) == TCL_ERROR)
2849  return TCL_ERROR;
2850  w1 = std::vector< double >();
2851  for (i = 0; i < nitems; i++) {
2852  if (Tcl_GetDoubleFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2853  return TCL_ERROR;
2854  w1.push_back(temp);
2855  }
2856  arg1 = &w1;
2857  }
2858  }
2859  result = (unsigned int)((std::vector< double > const *)arg1)->size();
2860  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)));
2861  return TCL_OK;
2862 fail:
2863  return TCL_ERROR;
2864 }
2865 
2866 
2867 SWIGINTERN int
2868 _wrap_vectord_empty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2869  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2870  std::vector< double > *v1 ;
2871  std::vector< double > w1 ;
2872  bool result;
2873 
2874  if (SWIG_GetArgs(interp, objc, objv,"o:vectord_empty self ",(void *)0) == TCL_ERROR) SWIG_fail;
2875  {
2876  Tcl_Obj **listobjv;
2877  int nitems;
2878  int i;
2879  double temp;
2880 
2881  if(SWIG_ConvertPtr(objv[1], (void **) &v1, \
2883  arg1 = v1;
2884  } else {
2885  // It isn't a vector< double > so it should be a list of double's
2886  if(Tcl_ListObjGetElements(interp, objv[1],
2887  &nitems, &listobjv) == TCL_ERROR)
2888  return TCL_ERROR;
2889  w1 = std::vector< double >();
2890  for (i = 0; i < nitems; i++) {
2891  if (Tcl_GetDoubleFromObj(interp, listobjv[i], &temp) == TCL_ERROR)
2892  return TCL_ERROR;
2893  w1.push_back(temp);
2894  }
2895  arg1 = &w1;
2896  }
2897  }
2898  result = (bool)((std::vector< double > const *)arg1)->empty();
2899  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
2900  return TCL_OK;
2901 fail:
2902  return TCL_ERROR;
2903 }
2904 
2905 
2906 SWIGINTERN int
2907 _wrap_vectord_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2908  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2909  void *argp1 = 0 ;
2910  int res1 = 0 ;
2911 
2912  if (SWIG_GetArgs(interp, objc, objv,"o:vectord_clear self ",(void *)0) == TCL_ERROR) SWIG_fail;
2913  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 | 0 );
2914  if (!SWIG_IsOK(res1)) {
2915  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectord_clear" "', argument " "1"" of type '" "std::vector< double > *""'");
2916  }
2917  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
2918  (arg1)->clear();
2919 
2920  return TCL_OK;
2921 fail:
2922  return TCL_ERROR;
2923 }
2924 
2925 
2926 SWIGINTERN int
2927 _wrap_vectord_push(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2928  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2929  double arg2 ;
2930  void *argp1 = 0 ;
2931  int res1 = 0 ;
2932  double val2 ;
2933  int ecode2 = 0 ;
2934 
2935  if (SWIG_GetArgs(interp, objc, objv,"oo:vectord_push self x ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2936  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 | 0 );
2937  if (!SWIG_IsOK(res1)) {
2938  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectord_push" "', argument " "1"" of type '" "std::vector< double > *""'");
2939  }
2940  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
2941  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2942  if (!SWIG_IsOK(ecode2)) {
2943  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectord_push" "', argument " "2"" of type '" "double""'");
2944  }
2945  arg2 = static_cast< double >(val2);
2946  (arg1)->push_back(arg2);
2947 
2948  return TCL_OK;
2949 fail:
2950  return TCL_ERROR;
2951 }
2952 
2953 
2954 SWIGINTERN int
2955 _wrap_vectord_pop(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2956  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2957  void *argp1 = 0 ;
2958  int res1 = 0 ;
2959  double result;
2960 
2961  if (SWIG_GetArgs(interp, objc, objv,"o:vectord_pop self ",(void *)0) == TCL_ERROR) SWIG_fail;
2962  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 | 0 );
2963  if (!SWIG_IsOK(res1)) {
2964  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectord_pop" "', argument " "1"" of type '" "std::vector< double > *""'");
2965  }
2966  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
2967  try {
2968  result = (double)std_vector_Sl_double_Sg__pop(arg1);
2969  } catch(std::out_of_range &_e) {
2970  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
2971  }
2972  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
2973  return TCL_OK;
2974 fail:
2975  return TCL_ERROR;
2976 }
2977 
2978 
2979 SWIGINTERN int
2980 _wrap_vectord_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
2981  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2982  int arg2 ;
2983  void *argp1 = 0 ;
2984  int res1 = 0 ;
2985  int val2 ;
2986  int ecode2 = 0 ;
2987  double result;
2988 
2989  if (SWIG_GetArgs(interp, objc, objv,"oo:vectord_get self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
2990  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 | 0 );
2991  if (!SWIG_IsOK(res1)) {
2992  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectord_get" "', argument " "1"" of type '" "std::vector< double > *""'");
2993  }
2994  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
2995  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
2996  if (!SWIG_IsOK(ecode2)) {
2997  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectord_get" "', argument " "2"" of type '" "int""'");
2998  }
2999  arg2 = static_cast< int >(val2);
3000  try {
3001  result = (double)std_vector_Sl_double_Sg__get(arg1,arg2);
3002  } catch(std::out_of_range &_e) {
3003  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
3004  }
3005  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
3006  return TCL_OK;
3007 fail:
3008  return TCL_ERROR;
3009 }
3010 
3011 
3012 SWIGINTERN int
3013 _wrap_vectord_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3014  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3015  int arg2 ;
3016  double arg3 ;
3017  void *argp1 = 0 ;
3018  int res1 = 0 ;
3019  int val2 ;
3020  int ecode2 = 0 ;
3021  double val3 ;
3022  int ecode3 = 0 ;
3023 
3024  if (SWIG_GetArgs(interp, objc, objv,"ooo:vectord_set self i x ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3025  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_std__vectorT_double_t, 0 | 0 );
3026  if (!SWIG_IsOK(res1)) {
3027  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vectord_set" "', argument " "1"" of type '" "std::vector< double > *""'");
3028  }
3029  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
3030  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
3031  if (!SWIG_IsOK(ecode2)) {
3032  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vectord_set" "', argument " "2"" of type '" "int""'");
3033  }
3034  arg2 = static_cast< int >(val2);
3035  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
3036  if (!SWIG_IsOK(ecode3)) {
3037  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vectord_set" "', argument " "3"" of type '" "double""'");
3038  }
3039  arg3 = static_cast< double >(val3);
3040  try {
3041  std_vector_Sl_double_Sg__set(arg1,arg2,arg3);
3042  } catch(std::out_of_range &_e) {
3043  SWIG_Tcl_SetErrorObj(interp,"std::out_of_range",SWIG_NewPointerObj((new std::out_of_range(static_cast< const std::out_of_range& >(_e))),SWIGTYPE_p_std__out_of_range,SWIG_POINTER_OWN)); SWIG_fail;
3044  }
3045 
3046  return TCL_OK;
3047 fail:
3048  return TCL_ERROR;
3049 }
3050 
3051 
3052 SWIGINTERN int
3053 _wrap_delete_vectord(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3054  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3055  void *argp1 = 0 ;
3056  int res1 = 0 ;
3057 
3058  if (SWIG_GetArgs(interp, objc, objv,"o:delete_vectord self ",(void *)0) == TCL_ERROR) SWIG_fail;
3060  if (!SWIG_IsOK(res1)) {
3061  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_vectord" "', argument " "1"" of type '" "std::vector< double > *""'");
3062  }
3063  arg1 = reinterpret_cast< std::vector< double > * >(argp1);
3064  delete arg1;
3065 
3066  return TCL_OK;
3067 fail:
3068  return TCL_ERROR;
3069 }
3070 
3071 
3073 std::vector< double > *arg1 = (std::vector< double > *) obj;
3074 delete arg1;
3075 }
3077  {"size", _wrap_vectord_size},
3078  {"empty", _wrap_vectord_empty},
3079  {"clear", _wrap_vectord_clear},
3080  {"push", _wrap_vectord_push},
3081  {"pop", _wrap_vectord_pop},
3082  {"get", _wrap_vectord_get},
3083  {"set", _wrap_vectord_set},
3084  {0,0}
3085 };
3087  {0,0,0}
3088 };
3090 static const char * swig_std_vector_Sl_double_Sg__base_names[] = {0};
3092 SWIGINTERN int
3093 _wrap_new_a_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3094  a_material *result = 0 ;
3095 
3096  if (SWIG_GetArgs(interp, objc, objv,":new_a_material ") == TCL_ERROR) SWIG_fail;
3097  result = (a_material *)new a_material();
3098  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_material,0));
3099  return TCL_OK;
3100 fail:
3101  return TCL_ERROR;
3102 }
3103 
3104 
3105 SWIGINTERN int
3106 _wrap_new_a_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3107  std::string *arg1 = 0 ;
3108  double arg2 ;
3109  int res1 = SWIG_OLDOBJ ;
3110  double val2 ;
3111  int ecode2 = 0 ;
3112  a_material *result = 0 ;
3113 
3114  if (SWIG_GetArgs(interp, objc, objv,"oo:new_a_material name density ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3115  {
3116  std::string *ptr = (std::string *)0;
3117  res1 = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[1], &ptr);
3118  if (!SWIG_IsOK(res1)) {
3119  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_material" "', argument " "1"" of type '" "std::string const &""'");
3120  }
3121  if (!ptr) {
3122  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_material" "', argument " "1"" of type '" "std::string const &""'");
3123  }
3124  arg1 = ptr;
3125  }
3126  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
3127  if (!SWIG_IsOK(ecode2)) {
3128  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_material" "', argument " "2"" of type '" "double""'");
3129  }
3130  arg2 = static_cast< double >(val2);
3131  result = (a_material *)new a_material((std::string const &)*arg1,arg2);
3132  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_material,0));
3133  if (SWIG_IsNewObj(res1)) delete arg1;
3134  return TCL_OK;
3135 fail:
3136  if (SWIG_IsNewObj(res1)) delete arg1;
3137  return TCL_ERROR;
3138 }
3139 
3140 
3141 SWIGINTERN int
3142 _wrap_new_a_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3143  Tcl_Obj *CONST *argv = objv+1;
3144  int argc = objc-1;
3145  if (argc == 0) {
3146  return _wrap_new_a_material__SWIG_0(clientData, interp, objc, argv - 1);
3147  }
3148  if (argc == 2) {
3149  int _v;
3150  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(argv[0], (std::string**)(0));
3151  _v = SWIG_CheckState(res);
3152  if (_v) {
3153  {
3154  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
3155  _v = SWIG_CheckState(res);
3156  }
3157  if (_v) {
3158  return _wrap_new_a_material__SWIG_1(clientData, interp, objc, argv - 1);
3159  }
3160  }
3161  }
3162 
3163  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_material'.\n"
3164  " Possible C/C++ prototypes are:\n"
3165  " a_material::a_material()\n"
3166  " a_material::a_material(std::string const &,double)\n", TCL_STATIC);
3167  return TCL_ERROR;
3168 }
3169 
3170 
3171 SWIGINTERN int
3172 _wrap_a_material_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3173  std::string result;
3174 
3175  if (SWIG_GetArgs(interp, objc, objv,":a_material_help ") == TCL_ERROR) SWIG_fail;
3176  result = a_material::help();
3177  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
3178  return TCL_OK;
3179 fail:
3180  return TCL_ERROR;
3181 }
3182 
3183 
3184 SWIGINTERN int
3185 _wrap_a_material_ref__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3186  a_material *arg1 = (a_material *) 0 ;
3187  int arg2 ;
3188  void *argp1 = 0 ;
3189  int res1 = 0 ;
3190  int val2 ;
3191  int ecode2 = 0 ;
3192 
3193  if (SWIG_GetArgs(interp, objc, objv,"oo:a_material_ref self ref ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3194  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3195  if (!SWIG_IsOK(res1)) {
3196  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_ref" "', argument " "1"" of type '" "a_material *""'");
3197  }
3198  arg1 = reinterpret_cast< a_material * >(argp1);
3199  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
3200  if (!SWIG_IsOK(ecode2)) {
3201  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_material_ref" "', argument " "2"" of type '" "int""'");
3202  }
3203  arg2 = static_cast< int >(val2);
3204  (arg1)->ref(arg2);
3205 
3206  return TCL_OK;
3207 fail:
3208  return TCL_ERROR;
3209 }
3210 
3211 
3212 SWIGINTERN int
3213 _wrap_a_material_ref__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3214  a_material *arg1 = (a_material *) 0 ;
3215  void *argp1 = 0 ;
3216  int res1 = 0 ;
3217  int result;
3218 
3219  if (SWIG_GetArgs(interp, objc, objv,"o:a_material_ref self ",(void *)0) == TCL_ERROR) SWIG_fail;
3220  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3221  if (!SWIG_IsOK(res1)) {
3222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_ref" "', argument " "1"" of type '" "a_material const *""'");
3223  }
3224  arg1 = reinterpret_cast< a_material * >(argp1);
3225  result = (int)((a_material const *)arg1)->ref();
3226  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
3227  return TCL_OK;
3228 fail:
3229  return TCL_ERROR;
3230 }
3231 
3232 
3233 SWIGINTERN int
3234 _wrap_a_material_ref(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3235  Tcl_Obj *CONST *argv = objv+1;
3236  int argc = objc-1;
3237  if (argc == 1) {
3238  int _v;
3239  void *vptr = 0;
3240  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3241  _v = SWIG_CheckState(res);
3242  if (_v) {
3243  return _wrap_a_material_ref__SWIG_1(clientData, interp, objc, argv - 1);
3244  }
3245  }
3246  if (argc == 2) {
3247  int _v;
3248  void *vptr = 0;
3249  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3250  _v = SWIG_CheckState(res);
3251  if (_v) {
3252  {
3253  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
3254  _v = SWIG_CheckState(res);
3255  }
3256  if (_v) {
3257  return _wrap_a_material_ref__SWIG_0(clientData, interp, objc, argv - 1);
3258  }
3259  }
3260  }
3261 
3262  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_material_ref'.\n"
3263  " Possible C/C++ prototypes are:\n"
3264  " a_material::ref(int const)\n"
3265  " a_material::ref() const\n", TCL_STATIC);
3266  return TCL_ERROR;
3267 }
3268 
3269 
3270 SWIGINTERN int
3271 _wrap_a_material_density__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3272  a_material *arg1 = (a_material *) 0 ;
3273  double arg2 ;
3274  void *argp1 = 0 ;
3275  int res1 = 0 ;
3276  double val2 ;
3277  int ecode2 = 0 ;
3278 
3279  if (SWIG_GetArgs(interp, objc, objv,"oo:a_material_density self density ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3280  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3281  if (!SWIG_IsOK(res1)) {
3282  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_density" "', argument " "1"" of type '" "a_material *""'");
3283  }
3284  arg1 = reinterpret_cast< a_material * >(argp1);
3285  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
3286  if (!SWIG_IsOK(ecode2)) {
3287  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_material_density" "', argument " "2"" of type '" "double""'");
3288  }
3289  arg2 = static_cast< double >(val2);
3290  (arg1)->density(arg2);
3291 
3292  return TCL_OK;
3293 fail:
3294  return TCL_ERROR;
3295 }
3296 
3297 
3298 SWIGINTERN int
3299 _wrap_a_material_density__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3300  a_material *arg1 = (a_material *) 0 ;
3301  void *argp1 = 0 ;
3302  int res1 = 0 ;
3303  double result;
3304 
3305  if (SWIG_GetArgs(interp, objc, objv,"o:a_material_density self ",(void *)0) == TCL_ERROR) SWIG_fail;
3306  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3307  if (!SWIG_IsOK(res1)) {
3308  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_density" "', argument " "1"" of type '" "a_material const *""'");
3309  }
3310  arg1 = reinterpret_cast< a_material * >(argp1);
3311  result = (double)((a_material const *)arg1)->density();
3312  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
3313  return TCL_OK;
3314 fail:
3315  return TCL_ERROR;
3316 }
3317 
3318 
3319 SWIGINTERN int
3320 _wrap_a_material_density(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3321  Tcl_Obj *CONST *argv = objv+1;
3322  int argc = objc-1;
3323  if (argc == 1) {
3324  int _v;
3325  void *vptr = 0;
3326  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3327  _v = SWIG_CheckState(res);
3328  if (_v) {
3329  return _wrap_a_material_density__SWIG_1(clientData, interp, objc, argv - 1);
3330  }
3331  }
3332  if (argc == 2) {
3333  int _v;
3334  void *vptr = 0;
3335  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3336  _v = SWIG_CheckState(res);
3337  if (_v) {
3338  {
3339  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
3340  _v = SWIG_CheckState(res);
3341  }
3342  if (_v) {
3343  return _wrap_a_material_density__SWIG_0(clientData, interp, objc, argv - 1);
3344  }
3345  }
3346  }
3347 
3348  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_material_density'.\n"
3349  " Possible C/C++ prototypes are:\n"
3350  " a_material::density(double const)\n"
3351  " a_material::density() const\n", TCL_STATIC);
3352  return TCL_ERROR;
3353 }
3354 
3355 
3356 SWIGINTERN int
3357 _wrap_a_material_name__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3358  a_material *arg1 = (a_material *) 0 ;
3359  std::string arg2 ;
3360  void *argp1 = 0 ;
3361  int res1 = 0 ;
3362 
3363  if (SWIG_GetArgs(interp, objc, objv,"oo:a_material_name self name ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3364  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3365  if (!SWIG_IsOK(res1)) {
3366  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_name" "', argument " "1"" of type '" "a_material *""'");
3367  }
3368  arg1 = reinterpret_cast< a_material * >(argp1);
3369  {
3370  std::string *ptr = (std::string *)0;
3371  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[2], &ptr);
3372  if (!SWIG_IsOK(res) || !ptr) {
3373  SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "a_material_name" "', argument " "2"" of type '" "std::string const""'");
3374  }
3375  arg2 = *ptr;
3376  if (SWIG_IsNewObj(res)) delete ptr;
3377  }
3378  (arg1)->name(arg2);
3379 
3380  return TCL_OK;
3381 fail:
3382  return TCL_ERROR;
3383 }
3384 
3385 
3386 SWIGINTERN int
3387 _wrap_a_material_name__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3388  a_material *arg1 = (a_material *) 0 ;
3389  void *argp1 = 0 ;
3390  int res1 = 0 ;
3391  std::string result;
3392 
3393  if (SWIG_GetArgs(interp, objc, objv,"o:a_material_name self ",(void *)0) == TCL_ERROR) SWIG_fail;
3394  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3395  if (!SWIG_IsOK(res1)) {
3396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_name" "', argument " "1"" of type '" "a_material const *""'");
3397  }
3398  arg1 = reinterpret_cast< a_material * >(argp1);
3399  result = ((a_material const *)arg1)->name();
3400  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
3401  return TCL_OK;
3402 fail:
3403  return TCL_ERROR;
3404 }
3405 
3406 
3407 SWIGINTERN int
3408 _wrap_a_material_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3409  Tcl_Obj *CONST *argv = objv+1;
3410  int argc = objc-1;
3411  if (argc == 1) {
3412  int _v;
3413  void *vptr = 0;
3414  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3415  _v = SWIG_CheckState(res);
3416  if (_v) {
3417  return _wrap_a_material_name__SWIG_1(clientData, interp, objc, argv - 1);
3418  }
3419  }
3420  if (argc == 2) {
3421  int _v;
3422  void *vptr = 0;
3423  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_material, 0);
3424  _v = SWIG_CheckState(res);
3425  if (_v) {
3426  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(argv[1], (std::string**)(0));
3427  _v = SWIG_CheckState(res);
3428  if (_v) {
3429  return _wrap_a_material_name__SWIG_0(clientData, interp, objc, argv - 1);
3430  }
3431  }
3432  }
3433 
3434  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_material_name'.\n"
3435  " Possible C/C++ prototypes are:\n"
3436  " a_material::name(std::string const)\n"
3437  " a_material::name() const\n", TCL_STATIC);
3438  return TCL_ERROR;
3439 }
3440 
3441 
3442 SWIGINTERN int
3443 _wrap_a_material_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3444  a_material *arg1 = (a_material *) 0 ;
3445  std::istream *arg2 = 0 ;
3446  void *argp1 = 0 ;
3447  int res1 = 0 ;
3448  void *argp2 = 0 ;
3449  int res2 = 0 ;
3450 
3451  if (SWIG_GetArgs(interp, objc, objv,"oo:a_material_read self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3452  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3453  if (!SWIG_IsOK(res1)) {
3454  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_read" "', argument " "1"" of type '" "a_material *""'");
3455  }
3456  arg1 = reinterpret_cast< a_material * >(argp1);
3457  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_std__istream, 0 );
3458  if (!SWIG_IsOK(res2)) {
3459  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_material_read" "', argument " "2"" of type '" "std::istream &""'");
3460  }
3461  if (!argp2) {
3462  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_material_read" "', argument " "2"" of type '" "std::istream &""'");
3463  }
3464  arg2 = reinterpret_cast< std::istream * >(argp2);
3465  (arg1)->read(*arg2);
3466 
3467  return TCL_OK;
3468 fail:
3469  return TCL_ERROR;
3470 }
3471 
3472 
3473 SWIGINTERN int
3474 _wrap_a_material_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3475  a_material *arg1 = (a_material *) 0 ;
3476  std::ostream *arg2 = 0 ;
3477  void *argp1 = 0 ;
3478  int res1 = 0 ;
3479  void *argp2 = 0 ;
3480  int res2 = 0 ;
3481 
3482  if (SWIG_GetArgs(interp, objc, objv,"oo:a_material_write self o ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3483  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3484  if (!SWIG_IsOK(res1)) {
3485  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_write" "', argument " "1"" of type '" "a_material const *""'");
3486  }
3487  arg1 = reinterpret_cast< a_material * >(argp1);
3488  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_std__ostream, 0 );
3489  if (!SWIG_IsOK(res2)) {
3490  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_material_write" "', argument " "2"" of type '" "std::ostream &""'");
3491  }
3492  if (!argp2) {
3493  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_material_write" "', argument " "2"" of type '" "std::ostream &""'");
3494  }
3495  arg2 = reinterpret_cast< std::ostream * >(argp2);
3496  ((a_material const *)arg1)->write(*arg2);
3497 
3498  return TCL_OK;
3499 fail:
3500  return TCL_ERROR;
3501 }
3502 
3503 
3504 SWIGINTERN int
3505 _wrap_a_material_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3506  a_material *arg1 = (a_material *) 0 ;
3507  void *argp1 = 0 ;
3508  int res1 = 0 ;
3509  std::string result;
3510 
3511  if (SWIG_GetArgs(interp, objc, objv,"o:a_material_print self ",(void *)0) == TCL_ERROR) SWIG_fail;
3512  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, 0 | 0 );
3513  if (!SWIG_IsOK(res1)) {
3514  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_material_print" "', argument " "1"" of type '" "a_material *""'");
3515  }
3516  arg1 = reinterpret_cast< a_material * >(argp1);
3517  result = a_material_print(arg1);
3518  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
3519  return TCL_OK;
3520 fail:
3521  return TCL_ERROR;
3522 }
3523 
3524 
3525 SWIGINTERN int
3526 _wrap_delete_a_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3527  a_material *arg1 = (a_material *) 0 ;
3528  void *argp1 = 0 ;
3529  int res1 = 0 ;
3530 
3531  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_material self ",(void *)0) == TCL_ERROR) SWIG_fail;
3532  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_material, SWIG_POINTER_DISOWN | 0 );
3533  if (!SWIG_IsOK(res1)) {
3534  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_material" "', argument " "1"" of type '" "a_material *""'");
3535  }
3536  arg1 = reinterpret_cast< a_material * >(argp1);
3537  delete arg1;
3538 
3539  return TCL_OK;
3540 fail:
3541  return TCL_ERROR;
3542 }
3543 
3544 
3546 a_material *arg1 = (a_material *) obj;
3547 delete arg1;
3548 }
3550  {"ref", _wrap_a_material_ref},
3551  {"density", _wrap_a_material_density},
3552  {"name", _wrap_a_material_name},
3553  {"read", _wrap_a_material_read},
3554  {"write", _wrap_a_material_write},
3555  {"print", _wrap_a_material_print},
3556  {0,0}
3557 };
3559  {0,0,0}
3560 };
3562 static const char * swig_a_material_base_names[] = {0};
3564 SWIGINTERN int
3565 _wrap_new_a_plucker(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3566  double arg1 ;
3567  double arg2 ;
3568  double arg3 ;
3569  double arg4 ;
3570  double arg5 ;
3571  double arg6 ;
3572  double val1 ;
3573  int ecode1 = 0 ;
3574  double val2 ;
3575  int ecode2 = 0 ;
3576  double val3 ;
3577  int ecode3 = 0 ;
3578  double val4 ;
3579  int ecode4 = 0 ;
3580  double val5 ;
3581  int ecode5 = 0 ;
3582  double val6 ;
3583  int ecode6 = 0 ;
3584  a_plucker *result = 0 ;
3585 
3586  if (SWIG_GetArgs(interp, objc, objv,"oooooo:new_a_plucker ax ay az bx by bz ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3587  ecode1 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
3588  if (!SWIG_IsOK(ecode1)) {
3589  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_plucker" "', argument " "1"" of type '" "double""'");
3590  }
3591  arg1 = static_cast< double >(val1);
3592  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
3593  if (!SWIG_IsOK(ecode2)) {
3594  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_plucker" "', argument " "2"" of type '" "double""'");
3595  }
3596  arg2 = static_cast< double >(val2);
3597  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
3598  if (!SWIG_IsOK(ecode3)) {
3599  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_plucker" "', argument " "3"" of type '" "double""'");
3600  }
3601  arg3 = static_cast< double >(val3);
3602  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
3603  if (!SWIG_IsOK(ecode4)) {
3604  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_plucker" "', argument " "4"" of type '" "double""'");
3605  }
3606  arg4 = static_cast< double >(val4);
3607  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
3608  if (!SWIG_IsOK(ecode5)) {
3609  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_plucker" "', argument " "5"" of type '" "double""'");
3610  }
3611  arg5 = static_cast< double >(val5);
3612  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
3613  if (!SWIG_IsOK(ecode6)) {
3614  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_plucker" "', argument " "6"" of type '" "double""'");
3615  }
3616  arg6 = static_cast< double >(val6);
3617  result = (a_plucker *)new a_plucker(arg1,arg2,arg3,arg4,arg5,arg6);
3618  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_plucker,0));
3619  return TCL_OK;
3620 fail:
3621  return TCL_ERROR;
3622 }
3623 
3624 
3625 SWIGINTERN int
3626 _wrap_a_plucker_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3627  a_plucker *arg1 = (a_plucker *) 0 ;
3628  void *argp1 = 0 ;
3629  int res1 = 0 ;
3630  std::string result;
3631 
3632  if (SWIG_GetArgs(interp, objc, objv,"o:a_plucker_name self ",(void *)0) == TCL_ERROR) SWIG_fail;
3633  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3634  if (!SWIG_IsOK(res1)) {
3635  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_name" "', argument " "1"" of type '" "a_plucker const *""'");
3636  }
3637  arg1 = reinterpret_cast< a_plucker * >(argp1);
3638  result = ((a_plucker const *)arg1)->name();
3639  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
3640  return TCL_OK;
3641 fail:
3642  return TCL_ERROR;
3643 }
3644 
3645 
3646 SWIGINTERN int
3647 _wrap_a_plucker_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3648  a_plucker *arg1 = (a_plucker *) 0 ;
3649  a_plucker *arg2 = 0 ;
3650  void *argp1 = 0 ;
3651  int res1 = 0 ;
3652  void *argp2 ;
3653  int res2 = 0 ;
3654  SwigValueWrapper< a_plucker > result;
3655 
3656  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_+ self a ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3657  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3658  if (!SWIG_IsOK(res1)) {
3659  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_+" "', argument " "1"" of type '" "a_plucker *""'");
3660  }
3661  arg1 = reinterpret_cast< a_plucker * >(argp1);
3662  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_plucker, 0 );
3663  if (!SWIG_IsOK(res2)) {
3664  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_+" "', argument " "2"" of type '" "a_plucker const &""'");
3665  }
3666  if (!argp2) {
3667  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_+" "', argument " "2"" of type '" "a_plucker const &""'");
3668  }
3669  arg2 = reinterpret_cast< a_plucker * >(argp2);
3670  result = (arg1)->operator +((a_plucker const &)*arg2);
3671  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_plucker(static_cast< const a_plucker& >(result))), SWIGTYPE_p_a_plucker, SWIG_POINTER_OWN | 0 ));
3672  return TCL_OK;
3673 fail:
3674  return TCL_ERROR;
3675 }
3676 
3677 
3678 SWIGINTERN int
3679 _wrap_a_plucker_s_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3680  a_plucker *arg1 = (a_plucker *) 0 ;
3681  a_plucker *arg2 = 0 ;
3682  void *argp1 = 0 ;
3683  int res1 = 0 ;
3684  void *argp2 ;
3685  int res2 = 0 ;
3686  SwigValueWrapper< a_plucker > result;
3687 
3688  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_- self a ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3689  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3690  if (!SWIG_IsOK(res1)) {
3691  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_-" "', argument " "1"" of type '" "a_plucker *""'");
3692  }
3693  arg1 = reinterpret_cast< a_plucker * >(argp1);
3694  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_plucker, 0 );
3695  if (!SWIG_IsOK(res2)) {
3696  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_-" "', argument " "2"" of type '" "a_plucker const &""'");
3697  }
3698  if (!argp2) {
3699  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_-" "', argument " "2"" of type '" "a_plucker const &""'");
3700  }
3701  arg2 = reinterpret_cast< a_plucker * >(argp2);
3702  result = (arg1)->operator -((a_plucker const &)*arg2);
3703  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_plucker(static_cast< const a_plucker& >(result))), SWIGTYPE_p_a_plucker, SWIG_POINTER_OWN | 0 ));
3704  return TCL_OK;
3705 fail:
3706  return TCL_ERROR;
3707 }
3708 
3709 
3710 SWIGINTERN int
3711 _wrap_a_plucker_s_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3712  a_plucker *arg1 = (a_plucker *) 0 ;
3713  void *argp1 = 0 ;
3714  int res1 = 0 ;
3715  a_plucker *result = 0 ;
3716 
3717  if (SWIG_GetArgs(interp, objc, objv,"o:a_plucker_- self ",(void *)0) == TCL_ERROR) SWIG_fail;
3718  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3719  if (!SWIG_IsOK(res1)) {
3720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_-" "', argument " "1"" of type '" "a_plucker *""'");
3721  }
3722  arg1 = reinterpret_cast< a_plucker * >(argp1);
3723  result = (a_plucker *) &(arg1)->operator -();
3724  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_plucker,0));
3725  return TCL_OK;
3726 fail:
3727  return TCL_ERROR;
3728 }
3729 
3730 
3731 SWIGINTERN int
3732 _wrap_a_plucker_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3733  Tcl_Obj *CONST *argv = objv+1;
3734  int argc = objc-1;
3735  if (argc == 1) {
3736  int _v;
3737  void *vptr = 0;
3738  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3739  _v = SWIG_CheckState(res);
3740  if (_v) {
3741  return _wrap_a_plucker_s_____SWIG_1(clientData, interp, objc, argv - 1);
3742  }
3743  }
3744  if (argc == 2) {
3745  int _v;
3746  void *vptr = 0;
3747  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3748  _v = SWIG_CheckState(res);
3749  if (_v) {
3750  void *vptr = 0;
3751  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_plucker, SWIG_POINTER_NO_NULL);
3752  _v = SWIG_CheckState(res);
3753  if (_v) {
3754  return _wrap_a_plucker_s_____SWIG_0(clientData, interp, objc, argv - 1);
3755  }
3756  }
3757  }
3758 
3759  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_plucker_-'.\n"
3760  " Possible C/C++ prototypes are:\n"
3761  " a_plucker::operator -(a_plucker const &)\n"
3762  " a_plucker::operator -()\n", TCL_STATIC);
3763  return TCL_ERROR;
3764 }
3765 
3766 
3767 SWIGINTERN int
3768 _wrap_a_plucker_p1__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3769  a_plucker *arg1 = (a_plucker *) 0 ;
3770  void *argp1 = 0 ;
3771  int res1 = 0 ;
3772  a_point result;
3773 
3774  if (SWIG_GetArgs(interp, objc, objv,"o:a_plucker_p1 self ",(void *)0) == TCL_ERROR) SWIG_fail;
3775  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3776  if (!SWIG_IsOK(res1)) {
3777  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_p1" "', argument " "1"" of type '" "a_plucker const *""'");
3778  }
3779  arg1 = reinterpret_cast< a_plucker * >(argp1);
3780  result = ((a_plucker const *)arg1)->p1();
3781  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
3782  return TCL_OK;
3783 fail:
3784  return TCL_ERROR;
3785 }
3786 
3787 
3788 SWIGINTERN int
3789 _wrap_a_plucker_p2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3790  a_plucker *arg1 = (a_plucker *) 0 ;
3791  void *argp1 = 0 ;
3792  int res1 = 0 ;
3793  a_point result;
3794 
3795  if (SWIG_GetArgs(interp, objc, objv,"o:a_plucker_p2 self ",(void *)0) == TCL_ERROR) SWIG_fail;
3796  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3797  if (!SWIG_IsOK(res1)) {
3798  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_p2" "', argument " "1"" of type '" "a_plucker const *""'");
3799  }
3800  arg1 = reinterpret_cast< a_plucker * >(argp1);
3801  result = ((a_plucker const *)arg1)->p2();
3802  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
3803  return TCL_OK;
3804 fail:
3805  return TCL_ERROR;
3806 }
3807 
3808 
3809 SWIGINTERN int
3810 _wrap_a_plucker_p1__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3811  a_plucker *arg1 = (a_plucker *) 0 ;
3812  a_point *arg2 = 0 ;
3813  void *argp1 = 0 ;
3814  int res1 = 0 ;
3815  void *argp2 ;
3816  int res2 = 0 ;
3817 
3818  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_p1 self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3819  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3820  if (!SWIG_IsOK(res1)) {
3821  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_p1" "', argument " "1"" of type '" "a_plucker *""'");
3822  }
3823  arg1 = reinterpret_cast< a_plucker * >(argp1);
3824  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
3825  if (!SWIG_IsOK(res2)) {
3826  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_p1" "', argument " "2"" of type '" "a_point const &""'");
3827  }
3828  if (!argp2) {
3829  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_p1" "', argument " "2"" of type '" "a_point const &""'");
3830  }
3831  arg2 = reinterpret_cast< a_point * >(argp2);
3832  (arg1)->p1((a_point const &)*arg2);
3833 
3834  return TCL_OK;
3835 fail:
3836  return TCL_ERROR;
3837 }
3838 
3839 
3840 SWIGINTERN int
3841 _wrap_a_plucker_p1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3842  Tcl_Obj *CONST *argv = objv+1;
3843  int argc = objc-1;
3844  if (argc == 1) {
3845  int _v;
3846  void *vptr = 0;
3847  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3848  _v = SWIG_CheckState(res);
3849  if (_v) {
3850  return _wrap_a_plucker_p1__SWIG_0(clientData, interp, objc, argv - 1);
3851  }
3852  }
3853  if (argc == 2) {
3854  int _v;
3855  void *vptr = 0;
3856  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3857  _v = SWIG_CheckState(res);
3858  if (_v) {
3859  void *vptr = 0;
3860  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
3861  _v = SWIG_CheckState(res);
3862  if (_v) {
3863  return _wrap_a_plucker_p1__SWIG_1(clientData, interp, objc, argv - 1);
3864  }
3865  }
3866  }
3867 
3868  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_plucker_p1'.\n"
3869  " Possible C/C++ prototypes are:\n"
3870  " a_plucker::p1() const\n"
3871  " a_plucker::p1(a_point const &)\n", TCL_STATIC);
3872  return TCL_ERROR;
3873 }
3874 
3875 
3876 SWIGINTERN int
3877 _wrap_a_plucker_p2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3878  a_plucker *arg1 = (a_plucker *) 0 ;
3879  a_point *arg2 = 0 ;
3880  void *argp1 = 0 ;
3881  int res1 = 0 ;
3882  void *argp2 ;
3883  int res2 = 0 ;
3884 
3885  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_p2 self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3886  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3887  if (!SWIG_IsOK(res1)) {
3888  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_p2" "', argument " "1"" of type '" "a_plucker *""'");
3889  }
3890  arg1 = reinterpret_cast< a_plucker * >(argp1);
3891  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
3892  if (!SWIG_IsOK(res2)) {
3893  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_p2" "', argument " "2"" of type '" "a_point const &""'");
3894  }
3895  if (!argp2) {
3896  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_p2" "', argument " "2"" of type '" "a_point const &""'");
3897  }
3898  arg2 = reinterpret_cast< a_point * >(argp2);
3899  (arg1)->p2((a_point const &)*arg2);
3900 
3901  return TCL_OK;
3902 fail:
3903  return TCL_ERROR;
3904 }
3905 
3906 
3907 SWIGINTERN int
3908 _wrap_a_plucker_p2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3909  Tcl_Obj *CONST *argv = objv+1;
3910  int argc = objc-1;
3911  if (argc == 1) {
3912  int _v;
3913  void *vptr = 0;
3914  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3915  _v = SWIG_CheckState(res);
3916  if (_v) {
3917  return _wrap_a_plucker_p2__SWIG_0(clientData, interp, objc, argv - 1);
3918  }
3919  }
3920  if (argc == 2) {
3921  int _v;
3922  void *vptr = 0;
3923  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, 0);
3924  _v = SWIG_CheckState(res);
3925  if (_v) {
3926  void *vptr = 0;
3927  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
3928  _v = SWIG_CheckState(res);
3929  if (_v) {
3930  return _wrap_a_plucker_p2__SWIG_1(clientData, interp, objc, argv - 1);
3931  }
3932  }
3933  }
3934 
3935  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_plucker_p2'.\n"
3936  " Possible C/C++ prototypes are:\n"
3937  " a_plucker::p2() const\n"
3938  " a_plucker::p2(a_point const &)\n", TCL_STATIC);
3939  return TCL_ERROR;
3940 }
3941 
3942 
3943 SWIGINTERN int
3944 _wrap_a_plucker_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3945  a_plucker *arg1 = (a_plucker *) 0 ;
3946  std::istream *arg2 = 0 ;
3947  void *argp1 = 0 ;
3948  int res1 = 0 ;
3949  void *argp2 = 0 ;
3950  int res2 = 0 ;
3951 
3952  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_read self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3953  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3954  if (!SWIG_IsOK(res1)) {
3955  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_read" "', argument " "1"" of type '" "a_plucker *""'");
3956  }
3957  arg1 = reinterpret_cast< a_plucker * >(argp1);
3958  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_std__istream, 0 );
3959  if (!SWIG_IsOK(res2)) {
3960  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_read" "', argument " "2"" of type '" "std::istream &""'");
3961  }
3962  if (!argp2) {
3963  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_read" "', argument " "2"" of type '" "std::istream &""'");
3964  }
3965  arg2 = reinterpret_cast< std::istream * >(argp2);
3966  (arg1)->read(*arg2);
3967 
3968  return TCL_OK;
3969 fail:
3970  return TCL_ERROR;
3971 }
3972 
3973 
3974 SWIGINTERN int
3975 _wrap_a_plucker_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
3976  a_plucker *arg1 = (a_plucker *) 0 ;
3977  std::ostream *arg2 = 0 ;
3978  void *argp1 = 0 ;
3979  int res1 = 0 ;
3980  void *argp2 = 0 ;
3981  int res2 = 0 ;
3982 
3983  if (SWIG_GetArgs(interp, objc, objv,"oo:a_plucker_write self o ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
3984  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
3985  if (!SWIG_IsOK(res1)) {
3986  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_write" "', argument " "1"" of type '" "a_plucker const *""'");
3987  }
3988  arg1 = reinterpret_cast< a_plucker * >(argp1);
3989  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_std__ostream, 0 );
3990  if (!SWIG_IsOK(res2)) {
3991  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_plucker_write" "', argument " "2"" of type '" "std::ostream &""'");
3992  }
3993  if (!argp2) {
3994  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_plucker_write" "', argument " "2"" of type '" "std::ostream &""'");
3995  }
3996  arg2 = reinterpret_cast< std::ostream * >(argp2);
3997  ((a_plucker const *)arg1)->write(*arg2);
3998 
3999  return TCL_OK;
4000 fail:
4001  return TCL_ERROR;
4002 }
4003 
4004 
4005 SWIGINTERN int
4006 _wrap_a_plucker_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4007  a_plucker *arg1 = (a_plucker *) 0 ;
4008  void *argp1 = 0 ;
4009  int res1 = 0 ;
4010  std::string result;
4011 
4012  if (SWIG_GetArgs(interp, objc, objv,"o:a_plucker_print self ",(void *)0) == TCL_ERROR) SWIG_fail;
4013  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
4014  if (!SWIG_IsOK(res1)) {
4015  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_plucker_print" "', argument " "1"" of type '" "a_plucker *""'");
4016  }
4017  arg1 = reinterpret_cast< a_plucker * >(argp1);
4018  result = a_plucker_print(arg1);
4019  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
4020  return TCL_OK;
4021 fail:
4022  return TCL_ERROR;
4023 }
4024 
4025 
4026 SWIGINTERN int
4027 _wrap_delete_a_plucker(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4028  a_plucker *arg1 = (a_plucker *) 0 ;
4029  void *argp1 = 0 ;
4030  int res1 = 0 ;
4031 
4032  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_plucker self ",(void *)0) == TCL_ERROR) SWIG_fail;
4033  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, SWIG_POINTER_DISOWN | 0 );
4034  if (!SWIG_IsOK(res1)) {
4035  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_plucker" "', argument " "1"" of type '" "a_plucker *""'");
4036  }
4037  arg1 = reinterpret_cast< a_plucker * >(argp1);
4038  delete arg1;
4039 
4040  return TCL_OK;
4041 fail:
4042  return TCL_ERROR;
4043 }
4044 
4045 
4047 a_plucker *arg1 = (a_plucker *) obj;
4048 delete arg1;
4049 }
4051  {"name", _wrap_a_plucker_name},
4052  {"+", _wrap_a_plucker_a___},
4053  {"-", _wrap_a_plucker_s___},
4054  {"p1", _wrap_a_plucker_p1},
4055  {"p2", _wrap_a_plucker_p2},
4056  {"read", _wrap_a_plucker_read},
4057  {"write", _wrap_a_plucker_write},
4058  {"print", _wrap_a_plucker_print},
4059  {0,0}
4060 };
4062  {0,0,0}
4063 };
4065 static const char * swig_a_plucker_base_names[] = {0};
4067 SWIGINTERN int
4068 _wrap_p2w(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4069  a_plucker *arg1 = (a_plucker *) 0 ;
4070  void *argp1 = 0 ;
4071  int res1 = 0 ;
4072  a_wrench *result = 0 ;
4073 
4074  if (SWIG_GetArgs(interp, objc, objv,"o:p2w p ",(void *)0) == TCL_ERROR) SWIG_fail;
4075  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
4076  if (!SWIG_IsOK(res1)) {
4077  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "p2w" "', argument " "1"" of type '" "a_plucker *""'");
4078  }
4079  arg1 = reinterpret_cast< a_plucker * >(argp1);
4080  result = (a_wrench *)p2w(arg1);
4081  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4082  return TCL_OK;
4083 fail:
4084  return TCL_ERROR;
4085 }
4086 
4087 
4088 SWIGINTERN int
4089 _wrap_new_a_wrench__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4090  a_wrench *result = 0 ;
4091 
4092  if (SWIG_GetArgs(interp, objc, objv,":new_a_wrench ") == TCL_ERROR) SWIG_fail;
4093  result = (a_wrench *)new a_wrench();
4094  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4095  return TCL_OK;
4096 fail:
4097  return TCL_ERROR;
4098 }
4099 
4100 
4101 SWIGINTERN int
4102 _wrap_new_a_wrench__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4103  a_plucker *arg1 = 0 ;
4104  void *argp1 ;
4105  int res1 = 0 ;
4106  a_wrench *result = 0 ;
4107 
4108  if (SWIG_GetArgs(interp, objc, objv,"o:new_a_wrench m ",(void *)0) == TCL_ERROR) SWIG_fail;
4109  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_plucker, 0 );
4110  if (!SWIG_IsOK(res1)) {
4111  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_plucker const &""'");
4112  }
4113  if (!argp1) {
4114  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_plucker const &""'");
4115  }
4116  arg1 = reinterpret_cast< a_plucker * >(argp1);
4117  result = (a_wrench *)new a_wrench((a_plucker const &)*arg1);
4118  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4119  return TCL_OK;
4120 fail:
4121  return TCL_ERROR;
4122 }
4123 
4124 
4125 SWIGINTERN int
4126 _wrap_a_wrench_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4127  a_wrench *arg1 = (a_wrench *) 0 ;
4128  void *argp1 = 0 ;
4129  int res1 = 0 ;
4130  std::string result;
4131 
4132  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_name self ",(void *)0) == TCL_ERROR) SWIG_fail;
4133  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
4134  if (!SWIG_IsOK(res1)) {
4135  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_name" "', argument " "1"" of type '" "a_wrench const *""'");
4136  }
4137  arg1 = reinterpret_cast< a_wrench * >(argp1);
4138  result = ((a_wrench const *)arg1)->name();
4139  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
4140  return TCL_OK;
4141 fail:
4142  return TCL_ERROR;
4143 }
4144 
4145 
4146 SWIGINTERN int
4147 _wrap_a_wrench_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4148  std::string result;
4149 
4150  if (SWIG_GetArgs(interp, objc, objv,":a_wrench_help ") == TCL_ERROR) SWIG_fail;
4151  result = a_wrench::help();
4152  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
4153  return TCL_OK;
4154 fail:
4155  return TCL_ERROR;
4156 }
4157 
4158 
4159 SWIGINTERN int
4160 _wrap_a_wrench_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4161  a_wrench *arg1 = (a_wrench *) 0 ;
4162  a_point *arg2 = 0 ;
4163  a_point arg3 ;
4164  double arg4 ;
4165  void *argp1 = 0 ;
4166  int res1 = 0 ;
4167  void *argp2 ;
4168  int res2 = 0 ;
4169  void *argp3 ;
4170  int res3 = 0 ;
4171  double val4 ;
4172  int ecode4 = 0 ;
4173 
4174  if (SWIG_GetArgs(interp, objc, objv,"oooo:a_wrench_set self p f m ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4175  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
4176  if (!SWIG_IsOK(res1)) {
4177  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_set" "', argument " "1"" of type '" "a_wrench *""'");
4178  }
4179  arg1 = reinterpret_cast< a_wrench * >(argp1);
4180  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
4181  if (!SWIG_IsOK(res2)) {
4182  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_set" "', argument " "2"" of type '" "a_point const &""'");
4183  }
4184  if (!argp2) {
4185  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_set" "', argument " "2"" of type '" "a_point const &""'");
4186  }
4187  arg2 = reinterpret_cast< a_point * >(argp2);
4188  {
4189  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
4190  if (!SWIG_IsOK(res3)) {
4191  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_wrench_set" "', argument " "3"" of type '" "a_point""'");
4192  }
4193  if (!argp3) {
4194  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_set" "', argument " "3"" of type '" "a_point""'");
4195  } else {
4196  arg3 = *(reinterpret_cast< a_point * >(argp3));
4197  }
4198  }
4199  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
4200  if (!SWIG_IsOK(ecode4)) {
4201  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_wrench_set" "', argument " "4"" of type '" "double""'");
4202  }
4203  arg4 = static_cast< double >(val4);
4204  (arg1)->set((a_point const &)*arg2,arg3,arg4);
4205 
4206  return TCL_OK;
4207 fail:
4208  return TCL_ERROR;
4209 }
4210 
4211 
4212 SWIGINTERN int
4213 _wrap_a_wrench_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4214  a_wrench *arg1 = (a_wrench *) 0 ;
4215  a_point *arg2 = 0 ;
4216  a_point arg3 ;
4217  void *argp1 = 0 ;
4218  int res1 = 0 ;
4219  void *argp2 ;
4220  int res2 = 0 ;
4221  void *argp3 ;
4222  int res3 = 0 ;
4223 
4224  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_wrench_set self p f ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4225  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
4226  if (!SWIG_IsOK(res1)) {
4227  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_set" "', argument " "1"" of type '" "a_wrench *""'");
4228  }
4229  arg1 = reinterpret_cast< a_wrench * >(argp1);
4230  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
4231  if (!SWIG_IsOK(res2)) {
4232  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_set" "', argument " "2"" of type '" "a_point const &""'");
4233  }
4234  if (!argp2) {
4235  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_set" "', argument " "2"" of type '" "a_point const &""'");
4236  }
4237  arg2 = reinterpret_cast< a_point * >(argp2);
4238  {
4239  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
4240  if (!SWIG_IsOK(res3)) {
4241  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_wrench_set" "', argument " "3"" of type '" "a_point""'");
4242  }
4243  if (!argp3) {
4244  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_set" "', argument " "3"" of type '" "a_point""'");
4245  } else {
4246  arg3 = *(reinterpret_cast< a_point * >(argp3));
4247  }
4248  }
4249  (arg1)->set((a_point const &)*arg2,arg3);
4250 
4251  return TCL_OK;
4252 fail:
4253  return TCL_ERROR;
4254 }
4255 
4256 
4257 SWIGINTERN int
4258 _wrap_a_wrench_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4259  a_wrench *arg1 = (a_wrench *) 0 ;
4260  double arg2 ;
4261  double arg3 ;
4262  double arg4 ;
4263  double arg5 ;
4264  double arg6 ;
4265  double arg7 ;
4266  double arg8 ;
4267  void *argp1 = 0 ;
4268  int res1 = 0 ;
4269  double val2 ;
4270  int ecode2 = 0 ;
4271  double val3 ;
4272  int ecode3 = 0 ;
4273  double val4 ;
4274  int ecode4 = 0 ;
4275  double val5 ;
4276  int ecode5 = 0 ;
4277  double val6 ;
4278  int ecode6 = 0 ;
4279  double val7 ;
4280  int ecode7 = 0 ;
4281  double val8 ;
4282  int ecode8 = 0 ;
4283 
4284  if (SWIG_GetArgs(interp, objc, objv,"oooooooo:a_wrench_set self x y z fx fy fz m ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4285  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
4286  if (!SWIG_IsOK(res1)) {
4287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_set" "', argument " "1"" of type '" "a_wrench *""'");
4288  }
4289  arg1 = reinterpret_cast< a_wrench * >(argp1);
4290  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
4291  if (!SWIG_IsOK(ecode2)) {
4292  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_wrench_set" "', argument " "2"" of type '" "double""'");
4293  }
4294  arg2 = static_cast< double >(val2);
4295  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
4296  if (!SWIG_IsOK(ecode3)) {
4297  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_wrench_set" "', argument " "3"" of type '" "double""'");
4298  }
4299  arg3 = static_cast< double >(val3);
4300  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
4301  if (!SWIG_IsOK(ecode4)) {
4302  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_wrench_set" "', argument " "4"" of type '" "double""'");
4303  }
4304  arg4 = static_cast< double >(val4);
4305  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
4306  if (!SWIG_IsOK(ecode5)) {
4307  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_wrench_set" "', argument " "5"" of type '" "double""'");
4308  }
4309  arg5 = static_cast< double >(val5);
4310  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
4311  if (!SWIG_IsOK(ecode6)) {
4312  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_wrench_set" "', argument " "6"" of type '" "double""'");
4313  }
4314  arg6 = static_cast< double >(val6);
4315  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
4316  if (!SWIG_IsOK(ecode7)) {
4317  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_wrench_set" "', argument " "7"" of type '" "double""'");
4318  }
4319  arg7 = static_cast< double >(val7);
4320  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
4321  if (!SWIG_IsOK(ecode8)) {
4322  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_wrench_set" "', argument " "8"" of type '" "double""'");
4323  }
4324  arg8 = static_cast< double >(val8);
4325  (arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4326 
4327  return TCL_OK;
4328 fail:
4329  return TCL_ERROR;
4330 }
4331 
4332 
4333 SWIGINTERN int
4334 _wrap_a_wrench_set__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4335  a_wrench *arg1 = (a_wrench *) 0 ;
4336  double arg2 ;
4337  double arg3 ;
4338  double arg4 ;
4339  double arg5 ;
4340  double arg6 ;
4341  double arg7 ;
4342  void *argp1 = 0 ;
4343  int res1 = 0 ;
4344  double val2 ;
4345  int ecode2 = 0 ;
4346  double val3 ;
4347  int ecode3 = 0 ;
4348  double val4 ;
4349  int ecode4 = 0 ;
4350  double val5 ;
4351  int ecode5 = 0 ;
4352  double val6 ;
4353  int ecode6 = 0 ;
4354  double val7 ;
4355  int ecode7 = 0 ;
4356 
4357  if (SWIG_GetArgs(interp, objc, objv,"ooooooo:a_wrench_set self x y z fx fy fz ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4358  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
4359  if (!SWIG_IsOK(res1)) {
4360  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_set" "', argument " "1"" of type '" "a_wrench *""'");
4361  }
4362  arg1 = reinterpret_cast< a_wrench * >(argp1);
4363  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
4364  if (!SWIG_IsOK(ecode2)) {
4365  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_wrench_set" "', argument " "2"" of type '" "double""'");
4366  }
4367  arg2 = static_cast< double >(val2);
4368  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
4369  if (!SWIG_IsOK(ecode3)) {
4370  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_wrench_set" "', argument " "3"" of type '" "double""'");
4371  }
4372  arg3 = static_cast< double >(val3);
4373  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
4374  if (!SWIG_IsOK(ecode4)) {
4375  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_wrench_set" "', argument " "4"" of type '" "double""'");
4376  }
4377  arg4 = static_cast< double >(val4);
4378  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
4379  if (!SWIG_IsOK(ecode5)) {
4380  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_wrench_set" "', argument " "5"" of type '" "double""'");
4381  }
4382  arg5 = static_cast< double >(val5);
4383  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
4384  if (!SWIG_IsOK(ecode6)) {
4385  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_wrench_set" "', argument " "6"" of type '" "double""'");
4386  }
4387  arg6 = static_cast< double >(val6);
4388  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
4389  if (!SWIG_IsOK(ecode7)) {
4390  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_wrench_set" "', argument " "7"" of type '" "double""'");
4391  }
4392  arg7 = static_cast< double >(val7);
4393  (arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7);
4394 
4395  return TCL_OK;
4396 fail:
4397  return TCL_ERROR;
4398 }
4399 
4400 
4401 SWIGINTERN int
4402 _wrap_a_wrench_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4403  Tcl_Obj *CONST *argv = objv+1;
4404  int argc = objc-1;
4405  if (argc == 3) {
4406  int _v;
4407  void *vptr = 0;
4408  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
4409  _v = SWIG_CheckState(res);
4410  if (_v) {
4411  void *vptr = 0;
4412  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4413  _v = SWIG_CheckState(res);
4414  if (_v) {
4415  void *vptr = 0;
4416  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4417  _v = SWIG_CheckState(res);
4418  if (_v) {
4419  return _wrap_a_wrench_set__SWIG_1(clientData, interp, objc, argv - 1);
4420  }
4421  }
4422  }
4423  }
4424  if (argc == 4) {
4425  int _v;
4426  void *vptr = 0;
4427  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
4428  _v = SWIG_CheckState(res);
4429  if (_v) {
4430  void *vptr = 0;
4431  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4432  _v = SWIG_CheckState(res);
4433  if (_v) {
4434  void *vptr = 0;
4435  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4436  _v = SWIG_CheckState(res);
4437  if (_v) {
4438  {
4439  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
4440  _v = SWIG_CheckState(res);
4441  }
4442  if (_v) {
4443  return _wrap_a_wrench_set__SWIG_0(clientData, interp, objc, argv - 1);
4444  }
4445  }
4446  }
4447  }
4448  }
4449  if (argc == 7) {
4450  int _v;
4451  void *vptr = 0;
4452  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
4453  _v = SWIG_CheckState(res);
4454  if (_v) {
4455  {
4456  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
4457  _v = SWIG_CheckState(res);
4458  }
4459  if (_v) {
4460  {
4461  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
4462  _v = SWIG_CheckState(res);
4463  }
4464  if (_v) {
4465  {
4466  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
4467  _v = SWIG_CheckState(res);
4468  }
4469  if (_v) {
4470  {
4471  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
4472  _v = SWIG_CheckState(res);
4473  }
4474  if (_v) {
4475  {
4476  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
4477  _v = SWIG_CheckState(res);
4478  }
4479  if (_v) {
4480  {
4481  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
4482  _v = SWIG_CheckState(res);
4483  }
4484  if (_v) {
4485  return _wrap_a_wrench_set__SWIG_3(clientData, interp, objc, argv - 1);
4486  }
4487  }
4488  }
4489  }
4490  }
4491  }
4492  }
4493  }
4494  if (argc == 8) {
4495  int _v;
4496  void *vptr = 0;
4497  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
4498  _v = SWIG_CheckState(res);
4499  if (_v) {
4500  {
4501  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
4502  _v = SWIG_CheckState(res);
4503  }
4504  if (_v) {
4505  {
4506  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
4507  _v = SWIG_CheckState(res);
4508  }
4509  if (_v) {
4510  {
4511  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
4512  _v = SWIG_CheckState(res);
4513  }
4514  if (_v) {
4515  {
4516  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
4517  _v = SWIG_CheckState(res);
4518  }
4519  if (_v) {
4520  {
4521  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
4522  _v = SWIG_CheckState(res);
4523  }
4524  if (_v) {
4525  {
4526  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
4527  _v = SWIG_CheckState(res);
4528  }
4529  if (_v) {
4530  {
4531  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
4532  _v = SWIG_CheckState(res);
4533  }
4534  if (_v) {
4535  return _wrap_a_wrench_set__SWIG_2(clientData, interp, objc, argv - 1);
4536  }
4537  }
4538  }
4539  }
4540  }
4541  }
4542  }
4543  }
4544  }
4545 
4546  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_wrench_set'.\n"
4547  " Possible C/C++ prototypes are:\n"
4548  " a_wrench::set(a_point const &,a_point,double)\n"
4549  " a_wrench::set(a_point const &,a_point)\n"
4550  " a_wrench::set(double,double,double,double,double,double,double)\n"
4551  " a_wrench::set(double,double,double,double,double,double)\n", TCL_STATIC);
4552  return TCL_ERROR;
4553 }
4554 
4555 
4556 SWIGINTERN int
4557 _wrap_new_a_wrench__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4558  a_point *arg1 = 0 ;
4559  a_point arg2 ;
4560  double arg3 ;
4561  void *argp1 ;
4562  int res1 = 0 ;
4563  void *argp2 ;
4564  int res2 = 0 ;
4565  double val3 ;
4566  int ecode3 = 0 ;
4567  a_wrench *result = 0 ;
4568 
4569  if (SWIG_GetArgs(interp, objc, objv,"ooo:new_a_wrench p f m ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4570  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_point, 0 );
4571  if (!SWIG_IsOK(res1)) {
4572  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4573  }
4574  if (!argp1) {
4575  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4576  }
4577  arg1 = reinterpret_cast< a_point * >(argp1);
4578  {
4579  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
4580  if (!SWIG_IsOK(res2)) {
4581  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point""'");
4582  }
4583  if (!argp2) {
4584  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point""'");
4585  } else {
4586  arg2 = *(reinterpret_cast< a_point * >(argp2));
4587  }
4588  }
4589  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
4590  if (!SWIG_IsOK(ecode3)) {
4591  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_wrench" "', argument " "3"" of type '" "double""'");
4592  }
4593  arg3 = static_cast< double >(val3);
4594  result = (a_wrench *)new a_wrench((a_point const &)*arg1,arg2,arg3);
4595  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4596  return TCL_OK;
4597 fail:
4598  return TCL_ERROR;
4599 }
4600 
4601 
4602 SWIGINTERN int
4603 _wrap_new_a_wrench__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4604  a_point *arg1 = 0 ;
4605  a_point arg2 ;
4606  void *argp1 ;
4607  int res1 = 0 ;
4608  void *argp2 ;
4609  int res2 = 0 ;
4610  a_wrench *result = 0 ;
4611 
4612  if (SWIG_GetArgs(interp, objc, objv,"oo:new_a_wrench p f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4613  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_point, 0 );
4614  if (!SWIG_IsOK(res1)) {
4615  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4616  }
4617  if (!argp1) {
4618  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4619  }
4620  arg1 = reinterpret_cast< a_point * >(argp1);
4621  {
4622  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
4623  if (!SWIG_IsOK(res2)) {
4624  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point""'");
4625  }
4626  if (!argp2) {
4627  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point""'");
4628  } else {
4629  arg2 = *(reinterpret_cast< a_point * >(argp2));
4630  }
4631  }
4632  result = (a_wrench *)new a_wrench((a_point const &)*arg1,arg2);
4633  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4634  return TCL_OK;
4635 fail:
4636  return TCL_ERROR;
4637 }
4638 
4639 
4640 SWIGINTERN int
4641 _wrap_new_a_wrench__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4642  double arg1 ;
4643  double arg2 ;
4644  double arg3 ;
4645  double arg4 ;
4646  double arg5 ;
4647  double arg6 ;
4648  double arg7 ;
4649  double val1 ;
4650  int ecode1 = 0 ;
4651  double val2 ;
4652  int ecode2 = 0 ;
4653  double val3 ;
4654  int ecode3 = 0 ;
4655  double val4 ;
4656  int ecode4 = 0 ;
4657  double val5 ;
4658  int ecode5 = 0 ;
4659  double val6 ;
4660  int ecode6 = 0 ;
4661  double val7 ;
4662  int ecode7 = 0 ;
4663  a_wrench *result = 0 ;
4664 
4665  if (SWIG_GetArgs(interp, objc, objv,"ooooooo:new_a_wrench x y z fx fy fz m ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4666  ecode1 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
4667  if (!SWIG_IsOK(ecode1)) {
4668  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "double""'");
4669  }
4670  arg1 = static_cast< double >(val1);
4671  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
4672  if (!SWIG_IsOK(ecode2)) {
4673  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_wrench" "', argument " "2"" of type '" "double""'");
4674  }
4675  arg2 = static_cast< double >(val2);
4676  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
4677  if (!SWIG_IsOK(ecode3)) {
4678  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_wrench" "', argument " "3"" of type '" "double""'");
4679  }
4680  arg3 = static_cast< double >(val3);
4681  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
4682  if (!SWIG_IsOK(ecode4)) {
4683  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_wrench" "', argument " "4"" of type '" "double""'");
4684  }
4685  arg4 = static_cast< double >(val4);
4686  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
4687  if (!SWIG_IsOK(ecode5)) {
4688  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_wrench" "', argument " "5"" of type '" "double""'");
4689  }
4690  arg5 = static_cast< double >(val5);
4691  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
4692  if (!SWIG_IsOK(ecode6)) {
4693  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_wrench" "', argument " "6"" of type '" "double""'");
4694  }
4695  arg6 = static_cast< double >(val6);
4696  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
4697  if (!SWIG_IsOK(ecode7)) {
4698  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_a_wrench" "', argument " "7"" of type '" "double""'");
4699  }
4700  arg7 = static_cast< double >(val7);
4701  result = (a_wrench *)new a_wrench(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
4702  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4703  return TCL_OK;
4704 fail:
4705  return TCL_ERROR;
4706 }
4707 
4708 
4709 SWIGINTERN int
4710 _wrap_new_a_wrench__SWIG_5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4711  double arg1 ;
4712  double arg2 ;
4713  double arg3 ;
4714  double arg4 ;
4715  double arg5 ;
4716  double arg6 ;
4717  double val1 ;
4718  int ecode1 = 0 ;
4719  double val2 ;
4720  int ecode2 = 0 ;
4721  double val3 ;
4722  int ecode3 = 0 ;
4723  double val4 ;
4724  int ecode4 = 0 ;
4725  double val5 ;
4726  int ecode5 = 0 ;
4727  double val6 ;
4728  int ecode6 = 0 ;
4729  a_wrench *result = 0 ;
4730 
4731  if (SWIG_GetArgs(interp, objc, objv,"oooooo:new_a_wrench x y z fx fy fz ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4732  ecode1 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
4733  if (!SWIG_IsOK(ecode1)) {
4734  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "double""'");
4735  }
4736  arg1 = static_cast< double >(val1);
4737  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
4738  if (!SWIG_IsOK(ecode2)) {
4739  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_wrench" "', argument " "2"" of type '" "double""'");
4740  }
4741  arg2 = static_cast< double >(val2);
4742  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
4743  if (!SWIG_IsOK(ecode3)) {
4744  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_wrench" "', argument " "3"" of type '" "double""'");
4745  }
4746  arg3 = static_cast< double >(val3);
4747  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
4748  if (!SWIG_IsOK(ecode4)) {
4749  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_wrench" "', argument " "4"" of type '" "double""'");
4750  }
4751  arg4 = static_cast< double >(val4);
4752  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
4753  if (!SWIG_IsOK(ecode5)) {
4754  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_wrench" "', argument " "5"" of type '" "double""'");
4755  }
4756  arg5 = static_cast< double >(val5);
4757  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
4758  if (!SWIG_IsOK(ecode6)) {
4759  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_wrench" "', argument " "6"" of type '" "double""'");
4760  }
4761  arg6 = static_cast< double >(val6);
4762  result = (a_wrench *)new a_wrench(arg1,arg2,arg3,arg4,arg5,arg6);
4763  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4764  return TCL_OK;
4765 fail:
4766  return TCL_ERROR;
4767 }
4768 
4769 
4770 SWIGINTERN int
4771 _wrap_new_a_wrench__SWIG_6(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4772  a_point *arg1 = 0 ;
4773  a_point *arg2 = 0 ;
4774  a_point *arg3 = 0 ;
4775  a_wrench *arg4 = 0 ;
4776  a_wrench *arg5 = 0 ;
4777  void *argp1 ;
4778  int res1 = 0 ;
4779  void *argp2 ;
4780  int res2 = 0 ;
4781  void *argp3 ;
4782  int res3 = 0 ;
4783  void *argp4 ;
4784  int res4 = 0 ;
4785  void *argp5 ;
4786  int res5 = 0 ;
4787  a_wrench *result = 0 ;
4788 
4789  if (SWIG_GetArgs(interp, objc, objv,"ooooo:new_a_wrench p1 p2 p3 f1 f2 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
4790  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_point, 0 );
4791  if (!SWIG_IsOK(res1)) {
4792  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4793  }
4794  if (!argp1) {
4795  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "1"" of type '" "a_point const &""'");
4796  }
4797  arg1 = reinterpret_cast< a_point * >(argp1);
4798  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
4799  if (!SWIG_IsOK(res2)) {
4800  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point const &""'");
4801  }
4802  if (!argp2) {
4803  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "2"" of type '" "a_point const &""'");
4804  }
4805  arg2 = reinterpret_cast< a_point * >(argp2);
4806  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
4807  if (!SWIG_IsOK(res3)) {
4808  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_wrench" "', argument " "3"" of type '" "a_point const &""'");
4809  }
4810  if (!argp3) {
4811  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "3"" of type '" "a_point const &""'");
4812  }
4813  arg3 = reinterpret_cast< a_point * >(argp3);
4814  res4 = SWIG_ConvertPtr(objv[4], &argp4, SWIGTYPE_p_a_wrench, 0 );
4815  if (!SWIG_IsOK(res4)) {
4816  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_a_wrench" "', argument " "4"" of type '" "a_wrench const &""'");
4817  }
4818  if (!argp4) {
4819  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "4"" of type '" "a_wrench const &""'");
4820  }
4821  arg4 = reinterpret_cast< a_wrench * >(argp4);
4822  res5 = SWIG_ConvertPtr(objv[5], &argp5, SWIGTYPE_p_a_wrench, 0 );
4823  if (!SWIG_IsOK(res5)) {
4824  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_a_wrench" "', argument " "5"" of type '" "a_wrench const &""'");
4825  }
4826  if (!argp5) {
4827  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_wrench" "', argument " "5"" of type '" "a_wrench const &""'");
4828  }
4829  arg5 = reinterpret_cast< a_wrench * >(argp5);
4830  result = (a_wrench *)new a_wrench((a_point const &)*arg1,(a_point const &)*arg2,(a_point const &)*arg3,(a_wrench const &)*arg4,(a_wrench const &)*arg5);
4831  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
4832  return TCL_OK;
4833 fail:
4834  return TCL_ERROR;
4835 }
4836 
4837 
4838 SWIGINTERN int
4839 _wrap_new_a_wrench(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
4840  Tcl_Obj *CONST *argv = objv+1;
4841  int argc = objc-1;
4842  if (argc == 0) {
4843  return _wrap_new_a_wrench__SWIG_0(clientData, interp, objc, argv - 1);
4844  }
4845  if (argc == 1) {
4846  int _v;
4847  void *vptr = 0;
4848  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, SWIG_POINTER_NO_NULL);
4849  _v = SWIG_CheckState(res);
4850  if (_v) {
4851  return _wrap_new_a_wrench__SWIG_1(clientData, interp, objc, argv - 1);
4852  }
4853  }
4854  if (argc == 2) {
4855  int _v;
4856  void *vptr = 0;
4857  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4858  _v = SWIG_CheckState(res);
4859  if (_v) {
4860  void *vptr = 0;
4861  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4862  _v = SWIG_CheckState(res);
4863  if (_v) {
4864  return _wrap_new_a_wrench__SWIG_3(clientData, interp, objc, argv - 1);
4865  }
4866  }
4867  }
4868  if (argc == 3) {
4869  int _v;
4870  void *vptr = 0;
4871  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4872  _v = SWIG_CheckState(res);
4873  if (_v) {
4874  void *vptr = 0;
4875  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4876  _v = SWIG_CheckState(res);
4877  if (_v) {
4878  {
4879  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
4880  _v = SWIG_CheckState(res);
4881  }
4882  if (_v) {
4883  return _wrap_new_a_wrench__SWIG_2(clientData, interp, objc, argv - 1);
4884  }
4885  }
4886  }
4887  }
4888  if (argc == 5) {
4889  int _v;
4890  void *vptr = 0;
4891  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4892  _v = SWIG_CheckState(res);
4893  if (_v) {
4894  void *vptr = 0;
4895  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4896  _v = SWIG_CheckState(res);
4897  if (_v) {
4898  void *vptr = 0;
4899  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
4900  _v = SWIG_CheckState(res);
4901  if (_v) {
4902  void *vptr = 0;
4903  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
4904  _v = SWIG_CheckState(res);
4905  if (_v) {
4906  void *vptr = 0;
4907  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
4908  _v = SWIG_CheckState(res);
4909  if (_v) {
4910  return _wrap_new_a_wrench__SWIG_6(clientData, interp, objc, argv - 1);
4911  }
4912  }
4913  }
4914  }
4915  }
4916  }
4917  if (argc == 6) {
4918  int _v;
4919  {
4920  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
4921  _v = SWIG_CheckState(res);
4922  }
4923  if (_v) {
4924  {
4925  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
4926  _v = SWIG_CheckState(res);
4927  }
4928  if (_v) {
4929  {
4930  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
4931  _v = SWIG_CheckState(res);
4932  }
4933  if (_v) {
4934  {
4935  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
4936  _v = SWIG_CheckState(res);
4937  }
4938  if (_v) {
4939  {
4940  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
4941  _v = SWIG_CheckState(res);
4942  }
4943  if (_v) {
4944  {
4945  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
4946  _v = SWIG_CheckState(res);
4947  }
4948  if (_v) {
4949  return _wrap_new_a_wrench__SWIG_5(clientData, interp, objc, argv - 1);
4950  }
4951  }
4952  }
4953  }
4954  }
4955  }
4956  }
4957  if (argc == 7) {
4958  int _v;
4959  {
4960  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
4961  _v = SWIG_CheckState(res);
4962  }
4963  if (_v) {
4964  {
4965  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
4966  _v = SWIG_CheckState(res);
4967  }
4968  if (_v) {
4969  {
4970  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
4971  _v = SWIG_CheckState(res);
4972  }
4973  if (_v) {
4974  {
4975  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
4976  _v = SWIG_CheckState(res);
4977  }
4978  if (_v) {
4979  {
4980  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
4981  _v = SWIG_CheckState(res);
4982  }
4983  if (_v) {
4984  {
4985  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
4986  _v = SWIG_CheckState(res);
4987  }
4988  if (_v) {
4989  {
4990  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
4991  _v = SWIG_CheckState(res);
4992  }
4993  if (_v) {
4994  return _wrap_new_a_wrench__SWIG_4(clientData, interp, objc, argv - 1);
4995  }
4996  }
4997  }
4998  }
4999  }
5000  }
5001  }
5002  }
5003 
5004  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_wrench'.\n"
5005  " Possible C/C++ prototypes are:\n"
5006  " a_wrench::a_wrench()\n"
5007  " a_wrench::a_wrench(a_plucker const &)\n"
5008  " a_wrench::a_wrench(a_point const &,a_point,double)\n"
5009  " a_wrench::a_wrench(a_point const &,a_point)\n"
5010  " a_wrench::a_wrench(double,double,double,double,double,double,double)\n"
5011  " a_wrench::a_wrench(double,double,double,double,double,double)\n"
5012  " a_wrench::a_wrench(a_point const &,a_point const &,a_point const &,a_wrench const &,a_wrench const &)\n", TCL_STATIC);
5013  return TCL_ERROR;
5014 }
5015 
5016 
5017 SWIGINTERN int
5018 _wrap_delete_a_wrench(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5019  a_wrench *arg1 = (a_wrench *) 0 ;
5020  void *argp1 = 0 ;
5021  int res1 = 0 ;
5022 
5023  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_wrench self ",(void *)0) == TCL_ERROR) SWIG_fail;
5024  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, SWIG_POINTER_DISOWN | 0 );
5025  if (!SWIG_IsOK(res1)) {
5026  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_wrench" "', argument " "1"" of type '" "a_wrench *""'");
5027  }
5028  arg1 = reinterpret_cast< a_wrench * >(argp1);
5029  delete arg1;
5030 
5031  return TCL_OK;
5032 fail:
5033  return TCL_ERROR;
5034 }
5035 
5036 
5037 SWIGINTERN int
5038 _wrap_a_wrench_F(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5039  a_wrench *arg1 = (a_wrench *) 0 ;
5040  void *argp1 = 0 ;
5041  int res1 = 0 ;
5042  a_point result;
5043 
5044  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_F self ",(void *)0) == TCL_ERROR) SWIG_fail;
5045  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5046  if (!SWIG_IsOK(res1)) {
5047  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_F" "', argument " "1"" of type '" "a_wrench const *""'");
5048  }
5049  arg1 = reinterpret_cast< a_wrench * >(argp1);
5050  result = ((a_wrench const *)arg1)->F();
5051  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
5052  return TCL_OK;
5053 fail:
5054  return TCL_ERROR;
5055 }
5056 
5057 
5058 SWIGINTERN int
5059 _wrap_a_wrench_fx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5060  a_wrench *arg1 = (a_wrench *) 0 ;
5061  void *argp1 = 0 ;
5062  int res1 = 0 ;
5063  double result;
5064 
5065  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_fx self ",(void *)0) == TCL_ERROR) SWIG_fail;
5066  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5067  if (!SWIG_IsOK(res1)) {
5068  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_fx" "', argument " "1"" of type '" "a_wrench const *""'");
5069  }
5070  arg1 = reinterpret_cast< a_wrench * >(argp1);
5071  result = (double)((a_wrench const *)arg1)->fx();
5072  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5073  return TCL_OK;
5074 fail:
5075  return TCL_ERROR;
5076 }
5077 
5078 
5079 SWIGINTERN int
5080 _wrap_a_wrench_fy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5081  a_wrench *arg1 = (a_wrench *) 0 ;
5082  void *argp1 = 0 ;
5083  int res1 = 0 ;
5084  double result;
5085 
5086  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_fy self ",(void *)0) == TCL_ERROR) SWIG_fail;
5087  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5088  if (!SWIG_IsOK(res1)) {
5089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_fy" "', argument " "1"" of type '" "a_wrench const *""'");
5090  }
5091  arg1 = reinterpret_cast< a_wrench * >(argp1);
5092  result = (double)((a_wrench const *)arg1)->fy();
5093  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5094  return TCL_OK;
5095 fail:
5096  return TCL_ERROR;
5097 }
5098 
5099 
5100 SWIGINTERN int
5101 _wrap_a_wrench_fz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5102  a_wrench *arg1 = (a_wrench *) 0 ;
5103  void *argp1 = 0 ;
5104  int res1 = 0 ;
5105  double result;
5106 
5107  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_fz self ",(void *)0) == TCL_ERROR) SWIG_fail;
5108  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5109  if (!SWIG_IsOK(res1)) {
5110  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_fz" "', argument " "1"" of type '" "a_wrench const *""'");
5111  }
5112  arg1 = reinterpret_cast< a_wrench * >(argp1);
5113  result = (double)((a_wrench const *)arg1)->fz();
5114  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5115  return TCL_OK;
5116 fail:
5117  return TCL_ERROR;
5118 }
5119 
5120 
5121 SWIGINTERN int
5122 _wrap_a_wrench_M(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5123  a_wrench *arg1 = (a_wrench *) 0 ;
5124  void *argp1 = 0 ;
5125  int res1 = 0 ;
5126  a_point result;
5127 
5128  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_M self ",(void *)0) == TCL_ERROR) SWIG_fail;
5129  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5130  if (!SWIG_IsOK(res1)) {
5131  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_M" "', argument " "1"" of type '" "a_wrench const *""'");
5132  }
5133  arg1 = reinterpret_cast< a_wrench * >(argp1);
5134  result = ((a_wrench const *)arg1)->M();
5135  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
5136  return TCL_OK;
5137 fail:
5138  return TCL_ERROR;
5139 }
5140 
5141 
5142 SWIGINTERN int
5143 _wrap_a_wrench_mx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5144  a_wrench *arg1 = (a_wrench *) 0 ;
5145  void *argp1 = 0 ;
5146  int res1 = 0 ;
5147  double result;
5148 
5149  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_mx self ",(void *)0) == TCL_ERROR) SWIG_fail;
5150  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5151  if (!SWIG_IsOK(res1)) {
5152  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_mx" "', argument " "1"" of type '" "a_wrench const *""'");
5153  }
5154  arg1 = reinterpret_cast< a_wrench * >(argp1);
5155  result = (double)((a_wrench const *)arg1)->mx();
5156  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5157  return TCL_OK;
5158 fail:
5159  return TCL_ERROR;
5160 }
5161 
5162 
5163 SWIGINTERN int
5164 _wrap_a_wrench_my(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5165  a_wrench *arg1 = (a_wrench *) 0 ;
5166  void *argp1 = 0 ;
5167  int res1 = 0 ;
5168  double result;
5169 
5170  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_my self ",(void *)0) == TCL_ERROR) SWIG_fail;
5171  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5172  if (!SWIG_IsOK(res1)) {
5173  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_my" "', argument " "1"" of type '" "a_wrench const *""'");
5174  }
5175  arg1 = reinterpret_cast< a_wrench * >(argp1);
5176  result = (double)((a_wrench const *)arg1)->my();
5177  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5178  return TCL_OK;
5179 fail:
5180  return TCL_ERROR;
5181 }
5182 
5183 
5184 SWIGINTERN int
5185 _wrap_a_wrench_mz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5186  a_wrench *arg1 = (a_wrench *) 0 ;
5187  void *argp1 = 0 ;
5188  int res1 = 0 ;
5189  double result;
5190 
5191  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_mz self ",(void *)0) == TCL_ERROR) SWIG_fail;
5192  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5193  if (!SWIG_IsOK(res1)) {
5194  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_mz" "', argument " "1"" of type '" "a_wrench const *""'");
5195  }
5196  arg1 = reinterpret_cast< a_wrench * >(argp1);
5197  result = (double)((a_wrench const *)arg1)->mz();
5198  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5199  return TCL_OK;
5200 fail:
5201  return TCL_ERROR;
5202 }
5203 
5204 
5205 SWIGINTERN int
5206 _wrap_a_wrench_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5207  a_wrench *arg1 = (a_wrench *) 0 ;
5208  void *argp1 = 0 ;
5209  int res1 = 0 ;
5210  double result;
5211 
5212  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_f self ",(void *)0) == TCL_ERROR) SWIG_fail;
5213  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5214  if (!SWIG_IsOK(res1)) {
5215  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_f" "', argument " "1"" of type '" "a_wrench const *""'");
5216  }
5217  arg1 = reinterpret_cast< a_wrench * >(argp1);
5218  result = (double)((a_wrench const *)arg1)->f();
5219  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5220  return TCL_OK;
5221 fail:
5222  return TCL_ERROR;
5223 }
5224 
5225 
5226 SWIGINTERN int
5227 _wrap_a_wrench_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5228  a_wrench *arg1 = (a_wrench *) 0 ;
5229  void *argp1 = 0 ;
5230  int res1 = 0 ;
5231  double result;
5232 
5233  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_m self ",(void *)0) == TCL_ERROR) SWIG_fail;
5234  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5235  if (!SWIG_IsOK(res1)) {
5236  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_m" "', argument " "1"" of type '" "a_wrench const *""'");
5237  }
5238  arg1 = reinterpret_cast< a_wrench * >(argp1);
5239  result = (double)((a_wrench const *)arg1)->m();
5240  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5241  return TCL_OK;
5242 fail:
5243  return TCL_ERROR;
5244 }
5245 
5246 
5247 SWIGINTERN int
5248 _wrap_a_wrench_pierce(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5249  a_wrench *arg1 = (a_wrench *) 0 ;
5250  a_plane *arg2 = 0 ;
5251  void *argp1 = 0 ;
5252  int res1 = 0 ;
5253  void *argp2 ;
5254  int res2 = 0 ;
5255  a_point result;
5256 
5257  if (SWIG_GetArgs(interp, objc, objv,"oo:a_wrench_pierce self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5258  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5259  if (!SWIG_IsOK(res1)) {
5260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_pierce" "', argument " "1"" of type '" "a_wrench const *""'");
5261  }
5262  arg1 = reinterpret_cast< a_wrench * >(argp1);
5263  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_plane, 0 );
5264  if (!SWIG_IsOK(res2)) {
5265  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_pierce" "', argument " "2"" of type '" "a_plane const &""'");
5266  }
5267  if (!argp2) {
5268  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_pierce" "', argument " "2"" of type '" "a_plane const &""'");
5269  }
5270  arg2 = reinterpret_cast< a_plane * >(argp2);
5271  result = ((a_wrench const *)arg1)->pierce((a_plane const &)*arg2);
5272  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
5273  return TCL_OK;
5274 fail:
5275  return TCL_ERROR;
5276 }
5277 
5278 
5279 SWIGINTERN int
5280 _wrap_a_wrench_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5281  a_wrench *arg1 = (a_wrench *) 0 ;
5282  void *argp1 = 0 ;
5283  int res1 = 0 ;
5284 
5285  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_clear self ",(void *)0) == TCL_ERROR) SWIG_fail;
5286  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5287  if (!SWIG_IsOK(res1)) {
5288  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_clear" "', argument " "1"" of type '" "a_wrench *""'");
5289  }
5290  arg1 = reinterpret_cast< a_wrench * >(argp1);
5291  (arg1)->clear();
5292 
5293  return TCL_OK;
5294 fail:
5295  return TCL_ERROR;
5296 }
5297 
5298 
5299 SWIGINTERN int
5300 _wrap_a_wrench_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5301  a_wrench *arg1 = (a_wrench *) 0 ;
5302  a_wrench *arg2 = 0 ;
5303  void *argp1 = 0 ;
5304  int res1 = 0 ;
5305  void *argp2 ;
5306  int res2 = 0 ;
5307  a_wrench result;
5308 
5309  if (SWIG_GetArgs(interp, objc, objv,"oo:a_wrench_+ self a ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5310  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5311  if (!SWIG_IsOK(res1)) {
5312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_+" "', argument " "1"" of type '" "a_wrench *""'");
5313  }
5314  arg1 = reinterpret_cast< a_wrench * >(argp1);
5315  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
5316  if (!SWIG_IsOK(res2)) {
5317  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_+" "', argument " "2"" of type '" "a_wrench const &""'");
5318  }
5319  if (!argp2) {
5320  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_+" "', argument " "2"" of type '" "a_wrench const &""'");
5321  }
5322  arg2 = reinterpret_cast< a_wrench * >(argp2);
5323  result = (arg1)->operator +((a_wrench const &)*arg2);
5324  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
5325  return TCL_OK;
5326 fail:
5327  return TCL_ERROR;
5328 }
5329 
5330 
5331 SWIGINTERN int
5332 _wrap_a_wrench_s_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5333  a_wrench *arg1 = (a_wrench *) 0 ;
5334  a_wrench *arg2 = 0 ;
5335  void *argp1 = 0 ;
5336  int res1 = 0 ;
5337  void *argp2 ;
5338  int res2 = 0 ;
5339  a_wrench result;
5340 
5341  if (SWIG_GetArgs(interp, objc, objv,"oo:a_wrench_- self a ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5342  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5343  if (!SWIG_IsOK(res1)) {
5344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_-" "', argument " "1"" of type '" "a_wrench *""'");
5345  }
5346  arg1 = reinterpret_cast< a_wrench * >(argp1);
5347  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
5348  if (!SWIG_IsOK(res2)) {
5349  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_-" "', argument " "2"" of type '" "a_wrench const &""'");
5350  }
5351  if (!argp2) {
5352  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_-" "', argument " "2"" of type '" "a_wrench const &""'");
5353  }
5354  arg2 = reinterpret_cast< a_wrench * >(argp2);
5355  result = (arg1)->operator -((a_wrench const &)*arg2);
5356  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
5357  return TCL_OK;
5358 fail:
5359  return TCL_ERROR;
5360 }
5361 
5362 
5363 SWIGINTERN int
5364 _wrap_a_wrench_s_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5365  a_wrench *arg1 = (a_wrench *) 0 ;
5366  void *argp1 = 0 ;
5367  int res1 = 0 ;
5368  a_wrench *result = 0 ;
5369 
5370  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_- self ",(void *)0) == TCL_ERROR) SWIG_fail;
5371  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5372  if (!SWIG_IsOK(res1)) {
5373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_-" "', argument " "1"" of type '" "a_wrench *""'");
5374  }
5375  arg1 = reinterpret_cast< a_wrench * >(argp1);
5376  result = (a_wrench *) &(arg1)->operator -();
5377  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
5378  return TCL_OK;
5379 fail:
5380  return TCL_ERROR;
5381 }
5382 
5383 
5384 SWIGINTERN int
5385 _wrap_a_wrench_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5386  Tcl_Obj *CONST *argv = objv+1;
5387  int argc = objc-1;
5388  if (argc == 1) {
5389  int _v;
5390  void *vptr = 0;
5391  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
5392  _v = SWIG_CheckState(res);
5393  if (_v) {
5394  return _wrap_a_wrench_s_____SWIG_1(clientData, interp, objc, argv - 1);
5395  }
5396  }
5397  if (argc == 2) {
5398  int _v;
5399  void *vptr = 0;
5400  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
5401  _v = SWIG_CheckState(res);
5402  if (_v) {
5403  void *vptr = 0;
5404  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
5405  _v = SWIG_CheckState(res);
5406  if (_v) {
5407  return _wrap_a_wrench_s_____SWIG_0(clientData, interp, objc, argv - 1);
5408  }
5409  }
5410  }
5411 
5412  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_wrench_-'.\n"
5413  " Possible C/C++ prototypes are:\n"
5414  " a_wrench::operator -(a_wrench const &)\n"
5415  " a_wrench::operator -()\n", TCL_STATIC);
5416  return TCL_ERROR;
5417 }
5418 
5419 
5420 SWIGINTERN int
5421 _wrap_a_wrench_origin(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5422  a_wrench *arg1 = (a_wrench *) 0 ;
5423  a_point arg2 ;
5424  void *argp1 = 0 ;
5425  int res1 = 0 ;
5426  void *argp2 ;
5427  int res2 = 0 ;
5428 
5429  if (SWIG_GetArgs(interp, objc, objv,"oo:a_wrench_origin self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5430  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5431  if (!SWIG_IsOK(res1)) {
5432  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_origin" "', argument " "1"" of type '" "a_wrench *""'");
5433  }
5434  arg1 = reinterpret_cast< a_wrench * >(argp1);
5435  {
5436  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
5437  if (!SWIG_IsOK(res2)) {
5438  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_origin" "', argument " "2"" of type '" "a_point""'");
5439  }
5440  if (!argp2) {
5441  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_origin" "', argument " "2"" of type '" "a_point""'");
5442  } else {
5443  arg2 = *(reinterpret_cast< a_point * >(argp2));
5444  }
5445  }
5446  (arg1)->origin(arg2);
5447 
5448  return TCL_OK;
5449 fail:
5450  return TCL_ERROR;
5451 }
5452 
5453 
5454 SWIGINTERN int
5455 _wrap_a_wrench_d0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5456  a_wrench *arg1 = (a_wrench *) 0 ;
5457  void *argp1 = 0 ;
5458  int res1 = 0 ;
5459  a_point result;
5460 
5461  if (SWIG_GetArgs(interp, objc, objv,"o:a_wrench_d0 self ",(void *)0) == TCL_ERROR) SWIG_fail;
5462  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5463  if (!SWIG_IsOK(res1)) {
5464  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_d0" "', argument " "1"" of type '" "a_wrench const *""'");
5465  }
5466  arg1 = reinterpret_cast< a_wrench * >(argp1);
5467  result = ((a_wrench const *)arg1)->d0();
5468  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
5469  return TCL_OK;
5470 fail:
5471  return TCL_ERROR;
5472 }
5473 
5474 
5475 SWIGINTERN int
5476 _wrap_a_wrench_torque__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5477  a_wrench *arg1 = (a_wrench *) 0 ;
5478  a_point *arg2 = 0 ;
5479  void *argp1 = 0 ;
5480  int res1 = 0 ;
5481  void *argp2 ;
5482  int res2 = 0 ;
5483  a_point result;
5484 
5485  if (SWIG_GetArgs(interp, objc, objv,"oo:a_wrench_torque self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5486  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5487  if (!SWIG_IsOK(res1)) {
5488  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_torque" "', argument " "1"" of type '" "a_wrench const *""'");
5489  }
5490  arg1 = reinterpret_cast< a_wrench * >(argp1);
5491  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
5492  if (!SWIG_IsOK(res2)) {
5493  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_torque" "', argument " "2"" of type '" "a_point const &""'");
5494  }
5495  if (!argp2) {
5496  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_torque" "', argument " "2"" of type '" "a_point const &""'");
5497  }
5498  arg2 = reinterpret_cast< a_point * >(argp2);
5499  result = ((a_wrench const *)arg1)->torque((a_point const &)*arg2);
5500  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
5501  return TCL_OK;
5502 fail:
5503  return TCL_ERROR;
5504 }
5505 
5506 
5507 SWIGINTERN int
5508 _wrap_a_wrench_torque__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5509  a_wrench *arg1 = (a_wrench *) 0 ;
5510  a_point *arg2 = 0 ;
5511  a_point *arg3 = 0 ;
5512  void *argp1 = 0 ;
5513  int res1 = 0 ;
5514  void *argp2 ;
5515  int res2 = 0 ;
5516  void *argp3 ;
5517  int res3 = 0 ;
5518  double result;
5519 
5520  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_wrench_torque self p n ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5521  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_wrench, 0 | 0 );
5522  if (!SWIG_IsOK(res1)) {
5523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_wrench_torque" "', argument " "1"" of type '" "a_wrench const *""'");
5524  }
5525  arg1 = reinterpret_cast< a_wrench * >(argp1);
5526  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
5527  if (!SWIG_IsOK(res2)) {
5528  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_wrench_torque" "', argument " "2"" of type '" "a_point const &""'");
5529  }
5530  if (!argp2) {
5531  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_torque" "', argument " "2"" of type '" "a_point const &""'");
5532  }
5533  arg2 = reinterpret_cast< a_point * >(argp2);
5534  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
5535  if (!SWIG_IsOK(res3)) {
5536  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_wrench_torque" "', argument " "3"" of type '" "a_point const &""'");
5537  }
5538  if (!argp3) {
5539  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_wrench_torque" "', argument " "3"" of type '" "a_point const &""'");
5540  }
5541  arg3 = reinterpret_cast< a_point * >(argp3);
5542  result = (double)((a_wrench const *)arg1)->torque((a_point const &)*arg2,(a_point const &)*arg3);
5543  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
5544  return TCL_OK;
5545 fail:
5546  return TCL_ERROR;
5547 }
5548 
5549 
5550 SWIGINTERN int
5551 _wrap_a_wrench_torque(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5552  Tcl_Obj *CONST *argv = objv+1;
5553  int argc = objc-1;
5554  if (argc == 2) {
5555  int _v;
5556  void *vptr = 0;
5557  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
5558  _v = SWIG_CheckState(res);
5559  if (_v) {
5560  void *vptr = 0;
5561  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
5562  _v = SWIG_CheckState(res);
5563  if (_v) {
5564  return _wrap_a_wrench_torque__SWIG_0(clientData, interp, objc, argv - 1);
5565  }
5566  }
5567  }
5568  if (argc == 3) {
5569  int _v;
5570  void *vptr = 0;
5571  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_wrench, 0);
5572  _v = SWIG_CheckState(res);
5573  if (_v) {
5574  void *vptr = 0;
5575  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
5576  _v = SWIG_CheckState(res);
5577  if (_v) {
5578  void *vptr = 0;
5579  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
5580  _v = SWIG_CheckState(res);
5581  if (_v) {
5582  return _wrap_a_wrench_torque__SWIG_1(clientData, interp, objc, argv - 1);
5583  }
5584  }
5585  }
5586  }
5587 
5588  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_wrench_torque'.\n"
5589  " Possible C/C++ prototypes are:\n"
5590  " a_wrench::torque(a_point const &) const\n"
5591  " a_wrench::torque(a_point const &,a_point const &) const\n", TCL_STATIC);
5592  return TCL_ERROR;
5593 }
5594 
5595 
5597 a_wrench *arg1 = (a_wrench *) obj;
5598 delete arg1;
5599 }
5601  {"name", _wrap_a_wrench_name},
5602  {"set", _wrap_a_wrench_set},
5603  {"F", _wrap_a_wrench_F},
5604  {"fx", _wrap_a_wrench_fx},
5605  {"fy", _wrap_a_wrench_fy},
5606  {"fz", _wrap_a_wrench_fz},
5607  {"M", _wrap_a_wrench_M},
5608  {"mx", _wrap_a_wrench_mx},
5609  {"my", _wrap_a_wrench_my},
5610  {"mz", _wrap_a_wrench_mz},
5611  {"f", _wrap_a_wrench_f},
5612  {"m", _wrap_a_wrench_m},
5613  {"pierce", _wrap_a_wrench_pierce},
5614  {"clear", _wrap_a_wrench_clear},
5615  {"+", _wrap_a_wrench_a___},
5616  {"-", _wrap_a_wrench_s___},
5617  {"origin", _wrap_a_wrench_origin},
5618  {"d0", _wrap_a_wrench_d0},
5619  {"torque", _wrap_a_wrench_torque},
5620  {0,0}
5621 };
5623  {0,0,0}
5624 };
5626 static const char * swig_a_wrench_base_names[] = {"a_plucker *",0};
5628 SWIGINTERN int
5629 _wrap_p2t(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5630  a_plucker *arg1 = (a_plucker *) 0 ;
5631  void *argp1 = 0 ;
5632  int res1 = 0 ;
5633  a_twist *result = 0 ;
5634 
5635  if (SWIG_GetArgs(interp, objc, objv,"o:p2t p ",(void *)0) == TCL_ERROR) SWIG_fail;
5636  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_plucker, 0 | 0 );
5637  if (!SWIG_IsOK(res1)) {
5638  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "p2t" "', argument " "1"" of type '" "a_plucker *""'");
5639  }
5640  arg1 = reinterpret_cast< a_plucker * >(argp1);
5641  result = (a_twist *)p2t(arg1);
5642  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
5643  return TCL_OK;
5644 fail:
5645  return TCL_ERROR;
5646 }
5647 
5648 
5649 SWIGINTERN int
5650 _wrap_a_twist_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5651  a_twist *arg1 = (a_twist *) 0 ;
5652  a_point *arg2 = 0 ;
5653  a_point arg3 ;
5654  double arg4 ;
5655  double arg5 ;
5656  void *argp1 = 0 ;
5657  int res1 = 0 ;
5658  void *argp2 ;
5659  int res2 = 0 ;
5660  void *argp3 ;
5661  int res3 = 0 ;
5662  double val4 ;
5663  int ecode4 = 0 ;
5664  double val5 ;
5665  int ecode5 = 0 ;
5666 
5667  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_twist_set self p d t r ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5668  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
5669  if (!SWIG_IsOK(res1)) {
5670  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_set" "', argument " "1"" of type '" "a_twist *""'");
5671  }
5672  arg1 = reinterpret_cast< a_twist * >(argp1);
5673  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
5674  if (!SWIG_IsOK(res2)) {
5675  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_twist_set" "', argument " "2"" of type '" "a_point const &""'");
5676  }
5677  if (!argp2) {
5678  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_set" "', argument " "2"" of type '" "a_point const &""'");
5679  }
5680  arg2 = reinterpret_cast< a_point * >(argp2);
5681  {
5682  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
5683  if (!SWIG_IsOK(res3)) {
5684  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_twist_set" "', argument " "3"" of type '" "a_point""'");
5685  }
5686  if (!argp3) {
5687  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_set" "', argument " "3"" of type '" "a_point""'");
5688  } else {
5689  arg3 = *(reinterpret_cast< a_point * >(argp3));
5690  }
5691  }
5692  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
5693  if (!SWIG_IsOK(ecode4)) {
5694  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_twist_set" "', argument " "4"" of type '" "double""'");
5695  }
5696  arg4 = static_cast< double >(val4);
5697  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
5698  if (!SWIG_IsOK(ecode5)) {
5699  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_twist_set" "', argument " "5"" of type '" "double""'");
5700  }
5701  arg5 = static_cast< double >(val5);
5702  (arg1)->set((a_point const &)*arg2,arg3,arg4,arg5);
5703 
5704  return TCL_OK;
5705 fail:
5706  return TCL_ERROR;
5707 }
5708 
5709 
5710 SWIGINTERN int
5711 _wrap_a_twist_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5712  a_twist *arg1 = (a_twist *) 0 ;
5713  double arg2 ;
5714  double arg3 ;
5715  double arg4 ;
5716  double arg5 ;
5717  double arg6 ;
5718  double arg7 ;
5719  double arg8 ;
5720  double arg9 ;
5721  void *argp1 = 0 ;
5722  int res1 = 0 ;
5723  double val2 ;
5724  int ecode2 = 0 ;
5725  double val3 ;
5726  int ecode3 = 0 ;
5727  double val4 ;
5728  int ecode4 = 0 ;
5729  double val5 ;
5730  int ecode5 = 0 ;
5731  double val6 ;
5732  int ecode6 = 0 ;
5733  double val7 ;
5734  int ecode7 = 0 ;
5735  double val8 ;
5736  int ecode8 = 0 ;
5737  double val9 ;
5738  int ecode9 = 0 ;
5739 
5740  if (SWIG_GetArgs(interp, objc, objv,"ooooooooo:a_twist_set self x y z dx dy dz t r ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5741  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
5742  if (!SWIG_IsOK(res1)) {
5743  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_set" "', argument " "1"" of type '" "a_twist *""'");
5744  }
5745  arg1 = reinterpret_cast< a_twist * >(argp1);
5746  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
5747  if (!SWIG_IsOK(ecode2)) {
5748  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_twist_set" "', argument " "2"" of type '" "double""'");
5749  }
5750  arg2 = static_cast< double >(val2);
5751  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
5752  if (!SWIG_IsOK(ecode3)) {
5753  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_twist_set" "', argument " "3"" of type '" "double""'");
5754  }
5755  arg3 = static_cast< double >(val3);
5756  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
5757  if (!SWIG_IsOK(ecode4)) {
5758  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_twist_set" "', argument " "4"" of type '" "double""'");
5759  }
5760  arg4 = static_cast< double >(val4);
5761  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
5762  if (!SWIG_IsOK(ecode5)) {
5763  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_twist_set" "', argument " "5"" of type '" "double""'");
5764  }
5765  arg5 = static_cast< double >(val5);
5766  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
5767  if (!SWIG_IsOK(ecode6)) {
5768  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_twist_set" "', argument " "6"" of type '" "double""'");
5769  }
5770  arg6 = static_cast< double >(val6);
5771  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
5772  if (!SWIG_IsOK(ecode7)) {
5773  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_twist_set" "', argument " "7"" of type '" "double""'");
5774  }
5775  arg7 = static_cast< double >(val7);
5776  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
5777  if (!SWIG_IsOK(ecode8)) {
5778  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_twist_set" "', argument " "8"" of type '" "double""'");
5779  }
5780  arg8 = static_cast< double >(val8);
5781  ecode9 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[9], &val9);
5782  if (!SWIG_IsOK(ecode9)) {
5783  SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "a_twist_set" "', argument " "9"" of type '" "double""'");
5784  }
5785  arg9 = static_cast< double >(val9);
5786  (arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
5787 
5788  return TCL_OK;
5789 fail:
5790  return TCL_ERROR;
5791 }
5792 
5793 
5794 SWIGINTERN int
5795 _wrap_a_twist_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5796  a_twist *arg1 = (a_twist *) 0 ;
5797  double arg2 ;
5798  double arg3 ;
5799  double arg4 ;
5800  double arg5 ;
5801  double arg6 ;
5802  double arg7 ;
5803  double arg8 ;
5804  void *argp1 = 0 ;
5805  int res1 = 0 ;
5806  double val2 ;
5807  int ecode2 = 0 ;
5808  double val3 ;
5809  int ecode3 = 0 ;
5810  double val4 ;
5811  int ecode4 = 0 ;
5812  double val5 ;
5813  int ecode5 = 0 ;
5814  double val6 ;
5815  int ecode6 = 0 ;
5816  double val7 ;
5817  int ecode7 = 0 ;
5818  double val8 ;
5819  int ecode8 = 0 ;
5820 
5821  if (SWIG_GetArgs(interp, objc, objv,"oooooooo:a_twist_set self x y z dx dy dz t ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
5822  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
5823  if (!SWIG_IsOK(res1)) {
5824  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_set" "', argument " "1"" of type '" "a_twist *""'");
5825  }
5826  arg1 = reinterpret_cast< a_twist * >(argp1);
5827  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
5828  if (!SWIG_IsOK(ecode2)) {
5829  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_twist_set" "', argument " "2"" of type '" "double""'");
5830  }
5831  arg2 = static_cast< double >(val2);
5832  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
5833  if (!SWIG_IsOK(ecode3)) {
5834  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_twist_set" "', argument " "3"" of type '" "double""'");
5835  }
5836  arg3 = static_cast< double >(val3);
5837  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
5838  if (!SWIG_IsOK(ecode4)) {
5839  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_twist_set" "', argument " "4"" of type '" "double""'");
5840  }
5841  arg4 = static_cast< double >(val4);
5842  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
5843  if (!SWIG_IsOK(ecode5)) {
5844  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_twist_set" "', argument " "5"" of type '" "double""'");
5845  }
5846  arg5 = static_cast< double >(val5);
5847  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
5848  if (!SWIG_IsOK(ecode6)) {
5849  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_twist_set" "', argument " "6"" of type '" "double""'");
5850  }
5851  arg6 = static_cast< double >(val6);
5852  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
5853  if (!SWIG_IsOK(ecode7)) {
5854  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_twist_set" "', argument " "7"" of type '" "double""'");
5855  }
5856  arg7 = static_cast< double >(val7);
5857  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
5858  if (!SWIG_IsOK(ecode8)) {
5859  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_twist_set" "', argument " "8"" of type '" "double""'");
5860  }
5861  arg8 = static_cast< double >(val8);
5862  (arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5863 
5864  return TCL_OK;
5865 fail:
5866  return TCL_ERROR;
5867 }
5868 
5869 
5870 SWIGINTERN int
5871 _wrap_a_twist_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
5872  Tcl_Obj *CONST *argv = objv+1;
5873  int argc = objc-1;
5874  if (argc == 5) {
5875  int _v;
5876  void *vptr = 0;
5877  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_twist, 0);
5878  _v = SWIG_CheckState(res);
5879  if (_v) {
5880  void *vptr = 0;
5881  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
5882  _v = SWIG_CheckState(res);
5883  if (_v) {
5884  void *vptr = 0;
5885  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
5886  _v = SWIG_CheckState(res);
5887  if (_v) {
5888  {
5889  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
5890  _v = SWIG_CheckState(res);
5891  }
5892  if (_v) {
5893  {
5894  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
5895  _v = SWIG_CheckState(res);
5896  }
5897  if (_v) {
5898  return _wrap_a_twist_set__SWIG_0(clientData, interp, objc, argv - 1);
5899  }
5900  }
5901  }
5902  }
5903  }
5904  }
5905  if (argc == 8) {
5906  int _v;
5907  void *vptr = 0;
5908  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_twist, 0);
5909  _v = SWIG_CheckState(res);
5910  if (_v) {
5911  {
5912  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
5913  _v = SWIG_CheckState(res);
5914  }
5915  if (_v) {
5916  {
5917  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
5918  _v = SWIG_CheckState(res);
5919  }
5920  if (_v) {
5921  {
5922  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
5923  _v = SWIG_CheckState(res);
5924  }
5925  if (_v) {
5926  {
5927  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
5928  _v = SWIG_CheckState(res);
5929  }
5930  if (_v) {
5931  {
5932  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
5933  _v = SWIG_CheckState(res);
5934  }
5935  if (_v) {
5936  {
5937  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
5938  _v = SWIG_CheckState(res);
5939  }
5940  if (_v) {
5941  {
5942  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
5943  _v = SWIG_CheckState(res);
5944  }
5945  if (_v) {
5946  return _wrap_a_twist_set__SWIG_2(clientData, interp, objc, argv - 1);
5947  }
5948  }
5949  }
5950  }
5951  }
5952  }
5953  }
5954  }
5955  }
5956  if (argc == 9) {
5957  int _v;
5958  void *vptr = 0;
5959  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_twist, 0);
5960  _v = SWIG_CheckState(res);
5961  if (_v) {
5962  {
5963  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
5964  _v = SWIG_CheckState(res);
5965  }
5966  if (_v) {
5967  {
5968  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
5969  _v = SWIG_CheckState(res);
5970  }
5971  if (_v) {
5972  {
5973  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
5974  _v = SWIG_CheckState(res);
5975  }
5976  if (_v) {
5977  {
5978  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
5979  _v = SWIG_CheckState(res);
5980  }
5981  if (_v) {
5982  {
5983  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
5984  _v = SWIG_CheckState(res);
5985  }
5986  if (_v) {
5987  {
5988  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
5989  _v = SWIG_CheckState(res);
5990  }
5991  if (_v) {
5992  {
5993  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
5994  _v = SWIG_CheckState(res);
5995  }
5996  if (_v) {
5997  {
5998  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[8], NULL);
5999  _v = SWIG_CheckState(res);
6000  }
6001  if (_v) {
6002  return _wrap_a_twist_set__SWIG_1(clientData, interp, objc, argv - 1);
6003  }
6004  }
6005  }
6006  }
6007  }
6008  }
6009  }
6010  }
6011  }
6012  }
6013 
6014  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_twist_set'.\n"
6015  " Possible C/C++ prototypes are:\n"
6016  " a_twist::set(a_point const &,a_point,double,double)\n"
6017  " a_twist::set(double,double,double,double,double,double,double,double)\n"
6018  " a_twist::set(double,double,double,double,double,double,double)\n", TCL_STATIC);
6019  return TCL_ERROR;
6020 }
6021 
6022 
6023 SWIGINTERN int
6024 _wrap_new_a_twist__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6025  a_twist *result = 0 ;
6026 
6027  if (SWIG_GetArgs(interp, objc, objv,":new_a_twist ") == TCL_ERROR) SWIG_fail;
6028  result = (a_twist *)new a_twist();
6029  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
6030  return TCL_OK;
6031 fail:
6032  return TCL_ERROR;
6033 }
6034 
6035 
6036 SWIGINTERN int
6037 _wrap_new_a_twist__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6038  a_plucker *arg1 = 0 ;
6039  void *argp1 ;
6040  int res1 = 0 ;
6041  a_twist *result = 0 ;
6042 
6043  if (SWIG_GetArgs(interp, objc, objv,"o:new_a_twist m ",(void *)0) == TCL_ERROR) SWIG_fail;
6044  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_plucker, 0 );
6045  if (!SWIG_IsOK(res1)) {
6046  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_twist" "', argument " "1"" of type '" "a_plucker const &""'");
6047  }
6048  if (!argp1) {
6049  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_twist" "', argument " "1"" of type '" "a_plucker const &""'");
6050  }
6051  arg1 = reinterpret_cast< a_plucker * >(argp1);
6052  result = (a_twist *)new a_twist((a_plucker const &)*arg1);
6053  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
6054  return TCL_OK;
6055 fail:
6056  return TCL_ERROR;
6057 }
6058 
6059 
6060 SWIGINTERN int
6061 _wrap_new_a_twist__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6062  a_point *arg1 = 0 ;
6063  a_point arg2 ;
6064  double arg3 ;
6065  double arg4 ;
6066  void *argp1 ;
6067  int res1 = 0 ;
6068  void *argp2 ;
6069  int res2 = 0 ;
6070  double val3 ;
6071  int ecode3 = 0 ;
6072  double val4 ;
6073  int ecode4 = 0 ;
6074  a_twist *result = 0 ;
6075 
6076  if (SWIG_GetArgs(interp, objc, objv,"oooo:new_a_twist p d t r ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6077  res1 = SWIG_ConvertPtr(objv[1], &argp1, SWIGTYPE_p_a_point, 0 );
6078  if (!SWIG_IsOK(res1)) {
6079  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_twist" "', argument " "1"" of type '" "a_point const &""'");
6080  }
6081  if (!argp1) {
6082  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_twist" "', argument " "1"" of type '" "a_point const &""'");
6083  }
6084  arg1 = reinterpret_cast< a_point * >(argp1);
6085  {
6086  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
6087  if (!SWIG_IsOK(res2)) {
6088  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_twist" "', argument " "2"" of type '" "a_point""'");
6089  }
6090  if (!argp2) {
6091  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_twist" "', argument " "2"" of type '" "a_point""'");
6092  } else {
6093  arg2 = *(reinterpret_cast< a_point * >(argp2));
6094  }
6095  }
6096  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
6097  if (!SWIG_IsOK(ecode3)) {
6098  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_twist" "', argument " "3"" of type '" "double""'");
6099  }
6100  arg3 = static_cast< double >(val3);
6101  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
6102  if (!SWIG_IsOK(ecode4)) {
6103  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_twist" "', argument " "4"" of type '" "double""'");
6104  }
6105  arg4 = static_cast< double >(val4);
6106  result = (a_twist *)new a_twist((a_point const &)*arg1,arg2,arg3,arg4);
6107  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
6108  return TCL_OK;
6109 fail:
6110  return TCL_ERROR;
6111 }
6112 
6113 
6114 SWIGINTERN int
6115 _wrap_new_a_twist__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6116  double arg1 ;
6117  double arg2 ;
6118  double arg3 ;
6119  double arg4 ;
6120  double arg5 ;
6121  double arg6 ;
6122  double arg7 ;
6123  double arg8 ;
6124  double val1 ;
6125  int ecode1 = 0 ;
6126  double val2 ;
6127  int ecode2 = 0 ;
6128  double val3 ;
6129  int ecode3 = 0 ;
6130  double val4 ;
6131  int ecode4 = 0 ;
6132  double val5 ;
6133  int ecode5 = 0 ;
6134  double val6 ;
6135  int ecode6 = 0 ;
6136  double val7 ;
6137  int ecode7 = 0 ;
6138  double val8 ;
6139  int ecode8 = 0 ;
6140  a_twist *result = 0 ;
6141 
6142  if (SWIG_GetArgs(interp, objc, objv,"oooooooo:new_a_twist x y z dx dy dz t r ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6143  ecode1 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
6144  if (!SWIG_IsOK(ecode1)) {
6145  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_twist" "', argument " "1"" of type '" "double""'");
6146  }
6147  arg1 = static_cast< double >(val1);
6148  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
6149  if (!SWIG_IsOK(ecode2)) {
6150  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_twist" "', argument " "2"" of type '" "double""'");
6151  }
6152  arg2 = static_cast< double >(val2);
6153  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
6154  if (!SWIG_IsOK(ecode3)) {
6155  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_twist" "', argument " "3"" of type '" "double""'");
6156  }
6157  arg3 = static_cast< double >(val3);
6158  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
6159  if (!SWIG_IsOK(ecode4)) {
6160  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_twist" "', argument " "4"" of type '" "double""'");
6161  }
6162  arg4 = static_cast< double >(val4);
6163  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
6164  if (!SWIG_IsOK(ecode5)) {
6165  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_twist" "', argument " "5"" of type '" "double""'");
6166  }
6167  arg5 = static_cast< double >(val5);
6168  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
6169  if (!SWIG_IsOK(ecode6)) {
6170  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_twist" "', argument " "6"" of type '" "double""'");
6171  }
6172  arg6 = static_cast< double >(val6);
6173  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
6174  if (!SWIG_IsOK(ecode7)) {
6175  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_a_twist" "', argument " "7"" of type '" "double""'");
6176  }
6177  arg7 = static_cast< double >(val7);
6178  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
6179  if (!SWIG_IsOK(ecode8)) {
6180  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_a_twist" "', argument " "8"" of type '" "double""'");
6181  }
6182  arg8 = static_cast< double >(val8);
6183  result = (a_twist *)new a_twist(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6184  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
6185  return TCL_OK;
6186 fail:
6187  return TCL_ERROR;
6188 }
6189 
6190 
6191 SWIGINTERN int
6192 _wrap_new_a_twist__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6193  double arg1 ;
6194  double arg2 ;
6195  double arg3 ;
6196  double arg4 ;
6197  double arg5 ;
6198  double arg6 ;
6199  double arg7 ;
6200  double val1 ;
6201  int ecode1 = 0 ;
6202  double val2 ;
6203  int ecode2 = 0 ;
6204  double val3 ;
6205  int ecode3 = 0 ;
6206  double val4 ;
6207  int ecode4 = 0 ;
6208  double val5 ;
6209  int ecode5 = 0 ;
6210  double val6 ;
6211  int ecode6 = 0 ;
6212  double val7 ;
6213  int ecode7 = 0 ;
6214  a_twist *result = 0 ;
6215 
6216  if (SWIG_GetArgs(interp, objc, objv,"ooooooo:new_a_twist x y z dx dy dz t ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6217  ecode1 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
6218  if (!SWIG_IsOK(ecode1)) {
6219  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_twist" "', argument " "1"" of type '" "double""'");
6220  }
6221  arg1 = static_cast< double >(val1);
6222  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
6223  if (!SWIG_IsOK(ecode2)) {
6224  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_twist" "', argument " "2"" of type '" "double""'");
6225  }
6226  arg2 = static_cast< double >(val2);
6227  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
6228  if (!SWIG_IsOK(ecode3)) {
6229  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_a_twist" "', argument " "3"" of type '" "double""'");
6230  }
6231  arg3 = static_cast< double >(val3);
6232  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
6233  if (!SWIG_IsOK(ecode4)) {
6234  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_twist" "', argument " "4"" of type '" "double""'");
6235  }
6236  arg4 = static_cast< double >(val4);
6237  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
6238  if (!SWIG_IsOK(ecode5)) {
6239  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_twist" "', argument " "5"" of type '" "double""'");
6240  }
6241  arg5 = static_cast< double >(val5);
6242  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
6243  if (!SWIG_IsOK(ecode6)) {
6244  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_twist" "', argument " "6"" of type '" "double""'");
6245  }
6246  arg6 = static_cast< double >(val6);
6247  ecode7 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
6248  if (!SWIG_IsOK(ecode7)) {
6249  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_a_twist" "', argument " "7"" of type '" "double""'");
6250  }
6251  arg7 = static_cast< double >(val7);
6252  result = (a_twist *)new a_twist(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6253  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
6254  return TCL_OK;
6255 fail:
6256  return TCL_ERROR;
6257 }
6258 
6259 
6260 SWIGINTERN int
6261 _wrap_new_a_twist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6262  Tcl_Obj *CONST *argv = objv+1;
6263  int argc = objc-1;
6264  if (argc == 0) {
6265  return _wrap_new_a_twist__SWIG_0(clientData, interp, objc, argv - 1);
6266  }
6267  if (argc == 1) {
6268  int _v;
6269  void *vptr = 0;
6270  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_plucker, SWIG_POINTER_NO_NULL);
6271  _v = SWIG_CheckState(res);
6272  if (_v) {
6273  return _wrap_new_a_twist__SWIG_1(clientData, interp, objc, argv - 1);
6274  }
6275  }
6276  if (argc == 4) {
6277  int _v;
6278  void *vptr = 0;
6279  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
6280  _v = SWIG_CheckState(res);
6281  if (_v) {
6282  void *vptr = 0;
6283  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
6284  _v = SWIG_CheckState(res);
6285  if (_v) {
6286  {
6287  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
6288  _v = SWIG_CheckState(res);
6289  }
6290  if (_v) {
6291  {
6292  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
6293  _v = SWIG_CheckState(res);
6294  }
6295  if (_v) {
6296  return _wrap_new_a_twist__SWIG_2(clientData, interp, objc, argv - 1);
6297  }
6298  }
6299  }
6300  }
6301  }
6302  if (argc == 7) {
6303  int _v;
6304  {
6305  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
6306  _v = SWIG_CheckState(res);
6307  }
6308  if (_v) {
6309  {
6310  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
6311  _v = SWIG_CheckState(res);
6312  }
6313  if (_v) {
6314  {
6315  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
6316  _v = SWIG_CheckState(res);
6317  }
6318  if (_v) {
6319  {
6320  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
6321  _v = SWIG_CheckState(res);
6322  }
6323  if (_v) {
6324  {
6325  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
6326  _v = SWIG_CheckState(res);
6327  }
6328  if (_v) {
6329  {
6330  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
6331  _v = SWIG_CheckState(res);
6332  }
6333  if (_v) {
6334  {
6335  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
6336  _v = SWIG_CheckState(res);
6337  }
6338  if (_v) {
6339  return _wrap_new_a_twist__SWIG_4(clientData, interp, objc, argv - 1);
6340  }
6341  }
6342  }
6343  }
6344  }
6345  }
6346  }
6347  }
6348  if (argc == 8) {
6349  int _v;
6350  {
6351  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[0], NULL);
6352  _v = SWIG_CheckState(res);
6353  }
6354  if (_v) {
6355  {
6356  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
6357  _v = SWIG_CheckState(res);
6358  }
6359  if (_v) {
6360  {
6361  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
6362  _v = SWIG_CheckState(res);
6363  }
6364  if (_v) {
6365  {
6366  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
6367  _v = SWIG_CheckState(res);
6368  }
6369  if (_v) {
6370  {
6371  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
6372  _v = SWIG_CheckState(res);
6373  }
6374  if (_v) {
6375  {
6376  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
6377  _v = SWIG_CheckState(res);
6378  }
6379  if (_v) {
6380  {
6381  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
6382  _v = SWIG_CheckState(res);
6383  }
6384  if (_v) {
6385  {
6386  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
6387  _v = SWIG_CheckState(res);
6388  }
6389  if (_v) {
6390  return _wrap_new_a_twist__SWIG_3(clientData, interp, objc, argv - 1);
6391  }
6392  }
6393  }
6394  }
6395  }
6396  }
6397  }
6398  }
6399  }
6400 
6401  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_twist'.\n"
6402  " Possible C/C++ prototypes are:\n"
6403  " a_twist::a_twist()\n"
6404  " a_twist::a_twist(a_plucker const &)\n"
6405  " a_twist::a_twist(a_point const &,a_point,double,double)\n"
6406  " a_twist::a_twist(double,double,double,double,double,double,double,double)\n"
6407  " a_twist::a_twist(double,double,double,double,double,double,double)\n", TCL_STATIC);
6408  return TCL_ERROR;
6409 }
6410 
6411 
6412 SWIGINTERN int
6413 _wrap_delete_a_twist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6414  a_twist *arg1 = (a_twist *) 0 ;
6415  void *argp1 = 0 ;
6416  int res1 = 0 ;
6417 
6418  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_twist self ",(void *)0) == TCL_ERROR) SWIG_fail;
6419  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, SWIG_POINTER_DISOWN | 0 );
6420  if (!SWIG_IsOK(res1)) {
6421  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_twist" "', argument " "1"" of type '" "a_twist *""'");
6422  }
6423  arg1 = reinterpret_cast< a_twist * >(argp1);
6424  delete arg1;
6425 
6426  return TCL_OK;
6427 fail:
6428  return TCL_ERROR;
6429 }
6430 
6431 
6432 SWIGINTERN int
6433 _wrap_a_twist_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6434  a_twist *arg1 = (a_twist *) 0 ;
6435  void *argp1 = 0 ;
6436  int res1 = 0 ;
6437  std::string result;
6438 
6439  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_name self ",(void *)0) == TCL_ERROR) SWIG_fail;
6440  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6441  if (!SWIG_IsOK(res1)) {
6442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_name" "', argument " "1"" of type '" "a_twist const *""'");
6443  }
6444  arg1 = reinterpret_cast< a_twist * >(argp1);
6445  result = ((a_twist const *)arg1)->name();
6446  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
6447  return TCL_OK;
6448 fail:
6449  return TCL_ERROR;
6450 }
6451 
6452 
6453 SWIGINTERN int
6454 _wrap_a_twist_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6455  std::string result;
6456 
6457  if (SWIG_GetArgs(interp, objc, objv,":a_twist_help ") == TCL_ERROR) SWIG_fail;
6458  result = a_twist::help();
6459  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
6460  return TCL_OK;
6461 fail:
6462  return TCL_ERROR;
6463 }
6464 
6465 
6466 SWIGINTERN int
6467 _wrap_a_twist_dx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6468  a_twist *arg1 = (a_twist *) 0 ;
6469  void *argp1 = 0 ;
6470  int res1 = 0 ;
6471  double result;
6472 
6473  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_dx self ",(void *)0) == TCL_ERROR) SWIG_fail;
6474  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6475  if (!SWIG_IsOK(res1)) {
6476  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_dx" "', argument " "1"" of type '" "a_twist const *""'");
6477  }
6478  arg1 = reinterpret_cast< a_twist * >(argp1);
6479  result = (double)((a_twist const *)arg1)->dx();
6480  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6481  return TCL_OK;
6482 fail:
6483  return TCL_ERROR;
6484 }
6485 
6486 
6487 SWIGINTERN int
6488 _wrap_a_twist_dy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6489  a_twist *arg1 = (a_twist *) 0 ;
6490  void *argp1 = 0 ;
6491  int res1 = 0 ;
6492  double result;
6493 
6494  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_dy self ",(void *)0) == TCL_ERROR) SWIG_fail;
6495  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6496  if (!SWIG_IsOK(res1)) {
6497  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_dy" "', argument " "1"" of type '" "a_twist const *""'");
6498  }
6499  arg1 = reinterpret_cast< a_twist * >(argp1);
6500  result = (double)((a_twist const *)arg1)->dy();
6501  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6502  return TCL_OK;
6503 fail:
6504  return TCL_ERROR;
6505 }
6506 
6507 
6508 SWIGINTERN int
6509 _wrap_a_twist_dz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6510  a_twist *arg1 = (a_twist *) 0 ;
6511  void *argp1 = 0 ;
6512  int res1 = 0 ;
6513  double result;
6514 
6515  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_dz self ",(void *)0) == TCL_ERROR) SWIG_fail;
6516  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6517  if (!SWIG_IsOK(res1)) {
6518  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_dz" "', argument " "1"" of type '" "a_twist const *""'");
6519  }
6520  arg1 = reinterpret_cast< a_twist * >(argp1);
6521  result = (double)((a_twist const *)arg1)->dz();
6522  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6523  return TCL_OK;
6524 fail:
6525  return TCL_ERROR;
6526 }
6527 
6528 
6529 SWIGINTERN int
6530 _wrap_a_twist_rx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6531  a_twist *arg1 = (a_twist *) 0 ;
6532  void *argp1 = 0 ;
6533  int res1 = 0 ;
6534  double result;
6535 
6536  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_rx self ",(void *)0) == TCL_ERROR) SWIG_fail;
6537  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6538  if (!SWIG_IsOK(res1)) {
6539  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_rx" "', argument " "1"" of type '" "a_twist const *""'");
6540  }
6541  arg1 = reinterpret_cast< a_twist * >(argp1);
6542  result = (double)((a_twist const *)arg1)->rx();
6543  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6544  return TCL_OK;
6545 fail:
6546  return TCL_ERROR;
6547 }
6548 
6549 
6550 SWIGINTERN int
6551 _wrap_a_twist_ry(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6552  a_twist *arg1 = (a_twist *) 0 ;
6553  void *argp1 = 0 ;
6554  int res1 = 0 ;
6555  double result;
6556 
6557  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_ry self ",(void *)0) == TCL_ERROR) SWIG_fail;
6558  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6559  if (!SWIG_IsOK(res1)) {
6560  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_ry" "', argument " "1"" of type '" "a_twist const *""'");
6561  }
6562  arg1 = reinterpret_cast< a_twist * >(argp1);
6563  result = (double)((a_twist const *)arg1)->ry();
6564  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6565  return TCL_OK;
6566 fail:
6567  return TCL_ERROR;
6568 }
6569 
6570 
6571 SWIGINTERN int
6572 _wrap_a_twist_rz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6573  a_twist *arg1 = (a_twist *) 0 ;
6574  void *argp1 = 0 ;
6575  int res1 = 0 ;
6576  double result;
6577 
6578  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_rz self ",(void *)0) == TCL_ERROR) SWIG_fail;
6579  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6580  if (!SWIG_IsOK(res1)) {
6581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_rz" "', argument " "1"" of type '" "a_twist const *""'");
6582  }
6583  arg1 = reinterpret_cast< a_twist * >(argp1);
6584  result = (double)((a_twist const *)arg1)->rz();
6585  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6586  return TCL_OK;
6587 fail:
6588  return TCL_ERROR;
6589 }
6590 
6591 
6592 SWIGINTERN int
6593 _wrap_a_twist_d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6594  a_twist *arg1 = (a_twist *) 0 ;
6595  void *argp1 = 0 ;
6596  int res1 = 0 ;
6597  double result;
6598 
6599  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_d self ",(void *)0) == TCL_ERROR) SWIG_fail;
6600  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6601  if (!SWIG_IsOK(res1)) {
6602  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_d" "', argument " "1"" of type '" "a_twist const *""'");
6603  }
6604  arg1 = reinterpret_cast< a_twist * >(argp1);
6605  result = (double)((a_twist const *)arg1)->d();
6606  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6607  return TCL_OK;
6608 fail:
6609  return TCL_ERROR;
6610 }
6611 
6612 
6613 SWIGINTERN int
6614 _wrap_a_twist_r(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6615  a_twist *arg1 = (a_twist *) 0 ;
6616  void *argp1 = 0 ;
6617  int res1 = 0 ;
6618  double result;
6619 
6620  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_r self ",(void *)0) == TCL_ERROR) SWIG_fail;
6621  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6622  if (!SWIG_IsOK(res1)) {
6623  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_r" "', argument " "1"" of type '" "a_twist const *""'");
6624  }
6625  arg1 = reinterpret_cast< a_twist * >(argp1);
6626  result = (double)((a_twist const *)arg1)->r();
6627  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
6628  return TCL_OK;
6629 fail:
6630  return TCL_ERROR;
6631 }
6632 
6633 
6634 SWIGINTERN int
6635 _wrap_a_twist_reset(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6636  a_twist *arg1 = (a_twist *) 0 ;
6637  void *argp1 = 0 ;
6638  int res1 = 0 ;
6639 
6640  if (SWIG_GetArgs(interp, objc, objv,"o:a_twist_reset self ",(void *)0) == TCL_ERROR) SWIG_fail;
6641  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6642  if (!SWIG_IsOK(res1)) {
6643  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_reset" "', argument " "1"" of type '" "a_twist *""'");
6644  }
6645  arg1 = reinterpret_cast< a_twist * >(argp1);
6646  (arg1)->reset();
6647 
6648  return TCL_OK;
6649 fail:
6650  return TCL_ERROR;
6651 }
6652 
6653 
6654 SWIGINTERN int
6655 _wrap_a_twist_translate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6656  a_twist *arg1 = (a_twist *) 0 ;
6657  a_point *arg2 = 0 ;
6658  void *argp1 = 0 ;
6659  int res1 = 0 ;
6660  void *argp2 ;
6661  int res2 = 0 ;
6662 
6663  if (SWIG_GetArgs(interp, objc, objv,"oo:a_twist_translate self d ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6664  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6665  if (!SWIG_IsOK(res1)) {
6666  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_translate" "', argument " "1"" of type '" "a_twist *""'");
6667  }
6668  arg1 = reinterpret_cast< a_twist * >(argp1);
6669  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
6670  if (!SWIG_IsOK(res2)) {
6671  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_twist_translate" "', argument " "2"" of type '" "a_point const &""'");
6672  }
6673  if (!argp2) {
6674  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_translate" "', argument " "2"" of type '" "a_point const &""'");
6675  }
6676  arg2 = reinterpret_cast< a_point * >(argp2);
6677  (arg1)->translate((a_point const &)*arg2);
6678 
6679  return TCL_OK;
6680 fail:
6681  return TCL_ERROR;
6682 }
6683 
6684 
6685 SWIGINTERN int
6686 _wrap_a_twist_translate__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6687  a_twist *arg1 = (a_twist *) 0 ;
6688  double *arg2 = 0 ;
6689  double *arg3 = 0 ;
6690  double *arg4 = 0 ;
6691  void *argp1 = 0 ;
6692  int res1 = 0 ;
6693  double temp2 ;
6694  double val2 ;
6695  int ecode2 = 0 ;
6696  double temp3 ;
6697  double val3 ;
6698  int ecode3 = 0 ;
6699  double temp4 ;
6700  double val4 ;
6701  int ecode4 = 0 ;
6702 
6703  if (SWIG_GetArgs(interp, objc, objv,"oooo:a_twist_translate self x y z ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6704  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6705  if (!SWIG_IsOK(res1)) {
6706  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_translate" "', argument " "1"" of type '" "a_twist *""'");
6707  }
6708  arg1 = reinterpret_cast< a_twist * >(argp1);
6709  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
6710  if (!SWIG_IsOK(ecode2)) {
6711  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_twist_translate" "', argument " "2"" of type '" "double""'");
6712  }
6713  temp2 = static_cast< double >(val2);
6714  arg2 = &temp2;
6715  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
6716  if (!SWIG_IsOK(ecode3)) {
6717  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_twist_translate" "', argument " "3"" of type '" "double""'");
6718  }
6719  temp3 = static_cast< double >(val3);
6720  arg3 = &temp3;
6721  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
6722  if (!SWIG_IsOK(ecode4)) {
6723  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_twist_translate" "', argument " "4"" of type '" "double""'");
6724  }
6725  temp4 = static_cast< double >(val4);
6726  arg4 = &temp4;
6727  (arg1)->translate((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
6728 
6729  return TCL_OK;
6730 fail:
6731  return TCL_ERROR;
6732 }
6733 
6734 
6735 SWIGINTERN int
6736 _wrap_a_twist_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6737  Tcl_Obj *CONST *argv = objv+1;
6738  int argc = objc-1;
6739  if (argc == 2) {
6740  int _v;
6741  void *vptr = 0;
6742  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_twist, 0);
6743  _v = SWIG_CheckState(res);
6744  if (_v) {
6745  void *vptr = 0;
6746  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
6747  _v = SWIG_CheckState(res);
6748  if (_v) {
6749  return _wrap_a_twist_translate__SWIG_0(clientData, interp, objc, argv - 1);
6750  }
6751  }
6752  }
6753  if (argc == 4) {
6754  int _v;
6755  void *vptr = 0;
6756  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_twist, 0);
6757  _v = SWIG_CheckState(res);
6758  if (_v) {
6759  {
6760  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
6761  _v = SWIG_CheckState(res);
6762  }
6763  if (_v) {
6764  {
6765  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
6766  _v = SWIG_CheckState(res);
6767  }
6768  if (_v) {
6769  {
6770  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
6771  _v = SWIG_CheckState(res);
6772  }
6773  if (_v) {
6774  return _wrap_a_twist_translate__SWIG_1(clientData, interp, objc, argv - 1);
6775  }
6776  }
6777  }
6778  }
6779  }
6780 
6781  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_twist_translate'.\n"
6782  " Possible C/C++ prototypes are:\n"
6783  " a_twist::translate(a_point const &)\n"
6784  " a_twist::translate(double const &,double const &,double const &)\n", TCL_STATIC);
6785  return TCL_ERROR;
6786 }
6787 
6788 
6789 SWIGINTERN int
6790 _wrap_a_twist_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6791  a_twist *arg1 = (a_twist *) 0 ;
6792  a_point *arg2 = 0 ;
6793  a_point *arg3 = 0 ;
6794  double arg4 ;
6795  void *argp1 = 0 ;
6796  int res1 = 0 ;
6797  void *argp2 ;
6798  int res2 = 0 ;
6799  void *argp3 ;
6800  int res3 = 0 ;
6801  double val4 ;
6802  int ecode4 = 0 ;
6803 
6804  if (SWIG_GetArgs(interp, objc, objv,"oooo:a_twist_rotate self pt dir v ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6805  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6806  if (!SWIG_IsOK(res1)) {
6807  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_rotate" "', argument " "1"" of type '" "a_twist *""'");
6808  }
6809  arg1 = reinterpret_cast< a_twist * >(argp1);
6810  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
6811  if (!SWIG_IsOK(res2)) {
6812  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_twist_rotate" "', argument " "2"" of type '" "a_point const &""'");
6813  }
6814  if (!argp2) {
6815  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_rotate" "', argument " "2"" of type '" "a_point const &""'");
6816  }
6817  arg2 = reinterpret_cast< a_point * >(argp2);
6818  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
6819  if (!SWIG_IsOK(res3)) {
6820  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_twist_rotate" "', argument " "3"" of type '" "a_point const &""'");
6821  }
6822  if (!argp3) {
6823  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_rotate" "', argument " "3"" of type '" "a_point const &""'");
6824  }
6825  arg3 = reinterpret_cast< a_point * >(argp3);
6826  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
6827  if (!SWIG_IsOK(ecode4)) {
6828  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_twist_rotate" "', argument " "4"" of type '" "double""'");
6829  }
6830  arg4 = static_cast< double >(val4);
6831  (arg1)->rotate((a_point const &)*arg2,(a_point const &)*arg3,arg4);
6832 
6833  return TCL_OK;
6834 fail:
6835  return TCL_ERROR;
6836 }
6837 
6838 
6839 SWIGINTERN int
6840 _wrap_a_twist_m___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6841  a_twist *arg1 = (a_twist *) 0 ;
6842  a_point arg2 ;
6843  void *argp1 = 0 ;
6844  int res1 = 0 ;
6845  void *argp2 ;
6846  int res2 = 0 ;
6847  a_point result;
6848 
6849  if (SWIG_GetArgs(interp, objc, objv,"oo:a_twist_* self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6850  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_twist, 0 | 0 );
6851  if (!SWIG_IsOK(res1)) {
6852  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_twist_*" "', argument " "1"" of type '" "a_twist const *""'");
6853  }
6854  arg1 = reinterpret_cast< a_twist * >(argp1);
6855  {
6856  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
6857  if (!SWIG_IsOK(res2)) {
6858  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_twist_*" "', argument " "2"" of type '" "a_point""'");
6859  }
6860  if (!argp2) {
6861  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_twist_*" "', argument " "2"" of type '" "a_point""'");
6862  } else {
6863  arg2 = *(reinterpret_cast< a_point * >(argp2));
6864  }
6865  }
6866  result = ((a_twist const *)arg1)->operator *(arg2);
6867  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
6868  return TCL_OK;
6869 fail:
6870  return TCL_ERROR;
6871 }
6872 
6873 
6875 a_twist *arg1 = (a_twist *) obj;
6876 delete arg1;
6877 }
6879  {"set", _wrap_a_twist_set},
6880  {"name", _wrap_a_twist_name},
6881  {"dx", _wrap_a_twist_dx},
6882  {"dy", _wrap_a_twist_dy},
6883  {"dz", _wrap_a_twist_dz},
6884  {"rx", _wrap_a_twist_rx},
6885  {"ry", _wrap_a_twist_ry},
6886  {"rz", _wrap_a_twist_rz},
6887  {"d", _wrap_a_twist_d},
6888  {"r", _wrap_a_twist_r},
6889  {"reset", _wrap_a_twist_reset},
6890  {"translate", _wrap_a_twist_translate},
6891  {"rotate", _wrap_a_twist_rotate},
6892  {"*", _wrap_a_twist_m___},
6893  {0,0}
6894 };
6896  {0,0,0}
6897 };
6898 static swig_class *swig_a_twist_bases[] = {0,0};
6899 static const char * swig_a_twist_base_names[] = {"a_plucker *",0};
6901 SWIGINTERN int
6902 _wrap_a_block_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6903  std::string result;
6904 
6905  if (SWIG_GetArgs(interp, objc, objv,":a_block_help ") == TCL_ERROR) SWIG_fail;
6906  result = a_block::help();
6907  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
6908  return TCL_OK;
6909 fail:
6910  return TCL_ERROR;
6911 }
6912 
6913 
6914 SWIGINTERN int
6915 _wrap_a_block_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6916  a_block *arg1 = (a_block *) 0 ;
6917  a_block *arg2 = 0 ;
6918  void *argp1 = 0 ;
6919  int res1 = 0 ;
6920  void *argp2 ;
6921  int res2 = 0 ;
6922 
6923  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_copy self a_block const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6924  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
6925  if (!SWIG_IsOK(res1)) {
6926  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_copy" "', argument " "1"" of type '" "a_block *""'");
6927  }
6928  arg1 = reinterpret_cast< a_block * >(argp1);
6929  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block, 0 );
6930  if (!SWIG_IsOK(res2)) {
6931  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_copy" "', argument " "2"" of type '" "a_block const &""'");
6932  }
6933  if (!argp2) {
6934  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_copy" "', argument " "2"" of type '" "a_block const &""'");
6935  }
6936  arg2 = reinterpret_cast< a_block * >(argp2);
6937  (arg1)->copy((a_block const &)*arg2);
6938 
6939  return TCL_OK;
6940 fail:
6941  return TCL_ERROR;
6942 }
6943 
6944 
6945 SWIGINTERN int
6946 _wrap_a_block_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6947  a_block *arg1 = (a_block *) 0 ;
6948  a_block *arg2 = 0 ;
6949  void *argp1 = 0 ;
6950  int res1 = 0 ;
6951  void *argp2 ;
6952  int res2 = 0 ;
6953 
6954  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_deepcopy self a_block const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6955  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
6956  if (!SWIG_IsOK(res1)) {
6957  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_deepcopy" "', argument " "1"" of type '" "a_block *""'");
6958  }
6959  arg1 = reinterpret_cast< a_block * >(argp1);
6960  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block, 0 );
6961  if (!SWIG_IsOK(res2)) {
6962  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_deepcopy" "', argument " "2"" of type '" "a_block const &""'");
6963  }
6964  if (!argp2) {
6965  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_deepcopy" "', argument " "2"" of type '" "a_block const &""'");
6966  }
6967  arg2 = reinterpret_cast< a_block * >(argp2);
6968  (arg1)->deepcopy((a_block const &)*arg2);
6969 
6970  return TCL_OK;
6971 fail:
6972  return TCL_ERROR;
6973 }
6974 
6975 
6976 SWIGINTERN int
6977 _wrap_a_block_g__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
6978  a_block *arg1 = (a_block *) 0 ;
6979  a_point *arg2 = (a_point *) 0 ;
6980  void *argp1 = 0 ;
6981  int res1 = 0 ;
6982  void *argp2 = 0 ;
6983  int res2 = 0 ;
6984 
6985  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_g self g ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
6986  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
6987  if (!SWIG_IsOK(res1)) {
6988  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_g" "', argument " "1"" of type '" "a_block *""'");
6989  }
6990  arg1 = reinterpret_cast< a_block * >(argp1);
6991  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
6992  if (!SWIG_IsOK(res2)) {
6993  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_g" "', argument " "2"" of type '" "a_point *""'");
6994  }
6995  arg2 = reinterpret_cast< a_point * >(argp2);
6996  (arg1)->g(arg2);
6997 
6998  return TCL_OK;
6999 fail:
7000  return TCL_ERROR;
7001 }
7002 
7003 
7004 SWIGINTERN int
7005 _wrap_a_block_g__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7006  a_block *arg1 = (a_block *) 0 ;
7007  void *argp1 = 0 ;
7008  int res1 = 0 ;
7009  a_point *result = 0 ;
7010 
7011  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_g self ",(void *)0) == TCL_ERROR) SWIG_fail;
7012  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7013  if (!SWIG_IsOK(res1)) {
7014  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_g" "', argument " "1"" of type '" "a_block const *""'");
7015  }
7016  arg1 = reinterpret_cast< a_block * >(argp1);
7017  result = (a_point *)((a_block const *)arg1)->g();
7018  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_point,0));
7019  return TCL_OK;
7020 fail:
7021  return TCL_ERROR;
7022 }
7023 
7024 
7025 SWIGINTERN int
7026 _wrap_a_block_g(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7027  Tcl_Obj *CONST *argv = objv+1;
7028  int argc = objc-1;
7029  if (argc == 1) {
7030  int _v;
7031  void *vptr = 0;
7032  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7033  _v = SWIG_CheckState(res);
7034  if (_v) {
7035  return _wrap_a_block_g__SWIG_1(clientData, interp, objc, argv - 1);
7036  }
7037  }
7038  if (argc == 2) {
7039  int _v;
7040  void *vptr = 0;
7041  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7042  _v = SWIG_CheckState(res);
7043  if (_v) {
7044  void *vptr = 0;
7045  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
7046  _v = SWIG_CheckState(res);
7047  if (_v) {
7048  return _wrap_a_block_g__SWIG_0(clientData, interp, objc, argv - 1);
7049  }
7050  }
7051  }
7052 
7053  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_g'.\n"
7054  " Possible C/C++ prototypes are:\n"
7055  " a_block::g(a_point *)\n"
7056  " a_block::g() const\n", TCL_STATIC);
7057  return TCL_ERROR;
7058 }
7059 
7060 
7061 SWIGINTERN int
7062 _wrap_a_block_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7063  a_block *arg1 = (a_block *) 0 ;
7064  void *argp1 = 0 ;
7065  int res1 = 0 ;
7066  std::string result;
7067 
7068  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_name self ",(void *)0) == TCL_ERROR) SWIG_fail;
7069  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7070  if (!SWIG_IsOK(res1)) {
7071  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_name" "', argument " "1"" of type '" "a_block const *""'");
7072  }
7073  arg1 = reinterpret_cast< a_block * >(argp1);
7074  result = ((a_block const *)arg1)->name();
7075  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
7076  return TCL_OK;
7077 fail:
7078  return TCL_ERROR;
7079 }
7080 
7081 
7082 SWIGINTERN int
7083 _wrap_a_block_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7084  a_block *arg1 = (a_block *) 0 ;
7085  void *argp1 = 0 ;
7086  int res1 = 0 ;
7087  a_point result;
7088 
7089  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_c self ",(void *)0) == TCL_ERROR) SWIG_fail;
7090  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7091  if (!SWIG_IsOK(res1)) {
7092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_c" "', argument " "1"" of type '" "a_block *""'");
7093  }
7094  arg1 = reinterpret_cast< a_block * >(argp1);
7095  result = (arg1)->c();
7096  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
7097  return TCL_OK;
7098 fail:
7099  return TCL_ERROR;
7100 }
7101 
7102 
7103 SWIGINTERN int
7104 _wrap_a_block_cl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7105  a_block *arg1 = (a_block *) 0 ;
7106  void *argp1 = 0 ;
7107  int res1 = 0 ;
7108  a_point result;
7109 
7110  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_cl self ",(void *)0) == TCL_ERROR) SWIG_fail;
7111  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7112  if (!SWIG_IsOK(res1)) {
7113  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_cl" "', argument " "1"" of type '" "a_block *""'");
7114  }
7115  arg1 = reinterpret_cast< a_block * >(argp1);
7116  result = (arg1)->cl();
7117  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
7118  return TCL_OK;
7119 fail:
7120  return TCL_ERROR;
7121 }
7122 
7123 
7124 SWIGINTERN int
7125 _wrap_a_block_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7126  a_block *arg1 = (a_block *) 0 ;
7127  void *argp1 = 0 ;
7128  int res1 = 0 ;
7129  double result;
7130 
7131  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_m self ",(void *)0) == TCL_ERROR) SWIG_fail;
7132  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7133  if (!SWIG_IsOK(res1)) {
7134  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_m" "', argument " "1"" of type '" "a_block const *""'");
7135  }
7136  arg1 = reinterpret_cast< a_block * >(argp1);
7137  result = (double)((a_block const *)arg1)->m();
7138  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
7139  return TCL_OK;
7140 fail:
7141  return TCL_ERROR;
7142 }
7143 
7144 
7145 SWIGINTERN int
7146 _wrap_a_block_Ws(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7147  a_block *arg1 = (a_block *) 0 ;
7148  void *argp1 = 0 ;
7149  int res1 = 0 ;
7150  double result;
7151 
7152  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_Ws self ",(void *)0) == TCL_ERROR) SWIG_fail;
7153  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7154  if (!SWIG_IsOK(res1)) {
7155  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_Ws" "', argument " "1"" of type '" "a_block const *""'");
7156  }
7157  arg1 = reinterpret_cast< a_block * >(argp1);
7158  result = (double)((a_block const *)arg1)->Ws();
7159  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
7160  return TCL_OK;
7161 fail:
7162  return TCL_ERROR;
7163 }
7164 
7165 
7166 SWIGINTERN int
7167 _wrap_a_block_W__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7168  a_block *arg1 = (a_block *) 0 ;
7169  void *argp1 = 0 ;
7170  int res1 = 0 ;
7171  a_wrench result;
7172 
7173  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_W self ",(void *)0) == TCL_ERROR) SWIG_fail;
7174  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7175  if (!SWIG_IsOK(res1)) {
7176  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_W" "', argument " "1"" of type '" "a_block *""'");
7177  }
7178  arg1 = reinterpret_cast< a_block * >(argp1);
7179  result = (arg1)->W();
7180  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
7181  return TCL_OK;
7182 fail:
7183  return TCL_ERROR;
7184 }
7185 
7186 
7187 SWIGINTERN int
7188 _wrap_a_block_fe(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7189  a_block *arg1 = (a_block *) 0 ;
7190  void *argp1 = 0 ;
7191  int res1 = 0 ;
7192  a_wrench result;
7193 
7194  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_fe self ",(void *)0) == TCL_ERROR) SWIG_fail;
7195  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7196  if (!SWIG_IsOK(res1)) {
7197  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_fe" "', argument " "1"" of type '" "a_block const *""'");
7198  }
7199  arg1 = reinterpret_cast< a_block * >(argp1);
7200  result = ((a_block const *)arg1)->fe();
7201  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
7202  return TCL_OK;
7203 fail:
7204  return TCL_ERROR;
7205 }
7206 
7207 
7208 SWIGINTERN int
7209 _wrap_a_block_ft__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7210  a_block *arg1 = (a_block *) 0 ;
7211  void *argp1 = 0 ;
7212  int res1 = 0 ;
7213  a_wrench result;
7214 
7215  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_ft self ",(void *)0) == TCL_ERROR) SWIG_fail;
7216  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7217  if (!SWIG_IsOK(res1)) {
7218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_ft" "', argument " "1"" of type '" "a_block const *""'");
7219  }
7220  arg1 = reinterpret_cast< a_block * >(argp1);
7221  result = ((a_block const *)arg1)->ft();
7222  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
7223  return TCL_OK;
7224 fail:
7225  return TCL_ERROR;
7226 }
7227 
7228 
7229 SWIGINTERN int
7230 _wrap_a_block_W__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7231  a_block *arg1 = (a_block *) 0 ;
7232  a_block *arg2 = 0 ;
7233  void *argp1 = 0 ;
7234  int res1 = 0 ;
7235  void *argp2 ;
7236  int res2 = 0 ;
7237  a_wrench result;
7238 
7239  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_W self be ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7240  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7241  if (!SWIG_IsOK(res1)) {
7242  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_W" "', argument " "1"" of type '" "a_block const *""'");
7243  }
7244  arg1 = reinterpret_cast< a_block * >(argp1);
7245  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block, 0 );
7246  if (!SWIG_IsOK(res2)) {
7247  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_W" "', argument " "2"" of type '" "a_block const &""'");
7248  }
7249  if (!argp2) {
7250  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_W" "', argument " "2"" of type '" "a_block const &""'");
7251  }
7252  arg2 = reinterpret_cast< a_block * >(argp2);
7253  result = ((a_block const *)arg1)->W((a_block const &)*arg2);
7254  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
7255  return TCL_OK;
7256 fail:
7257  return TCL_ERROR;
7258 }
7259 
7260 
7261 SWIGINTERN int
7262 _wrap_a_block_W(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7263  Tcl_Obj *CONST *argv = objv+1;
7264  int argc = objc-1;
7265  if (argc == 1) {
7266  int _v;
7267  void *vptr = 0;
7268  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7269  _v = SWIG_CheckState(res);
7270  if (_v) {
7271  return _wrap_a_block_W__SWIG_0(clientData, interp, objc, argv - 1);
7272  }
7273  }
7274  if (argc == 2) {
7275  int _v;
7276  void *vptr = 0;
7277  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7278  _v = SWIG_CheckState(res);
7279  if (_v) {
7280  void *vptr = 0;
7281  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_block, SWIG_POINTER_NO_NULL);
7282  _v = SWIG_CheckState(res);
7283  if (_v) {
7284  return _wrap_a_block_W__SWIG_1(clientData, interp, objc, argv - 1);
7285  }
7286  }
7287  }
7288 
7289  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_W'.\n"
7290  " Possible C/C++ prototypes are:\n"
7291  " a_block::W()\n"
7292  " a_block::W(a_block const &) const\n", TCL_STATIC);
7293  return TCL_ERROR;
7294 }
7295 
7296 
7297 SWIGINTERN int
7298 _wrap_a_block_ft__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7299  a_block *arg1 = (a_block *) 0 ;
7300  a_block *arg2 = 0 ;
7301  void *argp1 = 0 ;
7302  int res1 = 0 ;
7303  void *argp2 ;
7304  int res2 = 0 ;
7305  a_wrench result;
7306 
7307  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_ft self be ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7308  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7309  if (!SWIG_IsOK(res1)) {
7310  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_ft" "', argument " "1"" of type '" "a_block const *""'");
7311  }
7312  arg1 = reinterpret_cast< a_block * >(argp1);
7313  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block, 0 );
7314  if (!SWIG_IsOK(res2)) {
7315  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_ft" "', argument " "2"" of type '" "a_block const &""'");
7316  }
7317  if (!argp2) {
7318  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_ft" "', argument " "2"" of type '" "a_block const &""'");
7319  }
7320  arg2 = reinterpret_cast< a_block * >(argp2);
7321  result = ((a_block const *)arg1)->ft((a_block const &)*arg2);
7322  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
7323  return TCL_OK;
7324 fail:
7325  return TCL_ERROR;
7326 }
7327 
7328 
7329 SWIGINTERN int
7330 _wrap_a_block_ft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7331  Tcl_Obj *CONST *argv = objv+1;
7332  int argc = objc-1;
7333  if (argc == 1) {
7334  int _v;
7335  void *vptr = 0;
7336  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7337  _v = SWIG_CheckState(res);
7338  if (_v) {
7339  return _wrap_a_block_ft__SWIG_0(clientData, interp, objc, argv - 1);
7340  }
7341  }
7342  if (argc == 2) {
7343  int _v;
7344  void *vptr = 0;
7345  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7346  _v = SWIG_CheckState(res);
7347  if (_v) {
7348  void *vptr = 0;
7349  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_block, SWIG_POINTER_NO_NULL);
7350  _v = SWIG_CheckState(res);
7351  if (_v) {
7352  return _wrap_a_block_ft__SWIG_1(clientData, interp, objc, argv - 1);
7353  }
7354  }
7355  }
7356 
7357  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_ft'.\n"
7358  " Possible C/C++ prototypes are:\n"
7359  " a_block::ft() const\n"
7360  " a_block::ft(a_block const &) const\n", TCL_STATIC);
7361  return TCL_ERROR;
7362 }
7363 
7364 
7365 SWIGINTERN int
7366 _wrap_a_block_nextblock(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7367  a_block *arg1 = (a_block *) 0 ;
7368  void *argp1 = 0 ;
7369  int res1 = 0 ;
7370  a_block *result = 0 ;
7371 
7372  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_nextblock self ",(void *)0) == TCL_ERROR) SWIG_fail;
7373  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7374  if (!SWIG_IsOK(res1)) {
7375  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_nextblock" "', argument " "1"" of type '" "a_block const *""'");
7376  }
7377  arg1 = reinterpret_cast< a_block * >(argp1);
7378  result = (a_block *)((a_block const *)arg1)->nextblock();
7379  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block,0));
7380  return TCL_OK;
7381 fail:
7382  return TCL_ERROR;
7383 }
7384 
7385 
7386 SWIGINTERN int
7387 _wrap_a_block_V(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7388  a_block *arg1 = (a_block *) 0 ;
7389  void *argp1 = 0 ;
7390  int res1 = 0 ;
7391  double result;
7392 
7393  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_V self ",(void *)0) == TCL_ERROR) SWIG_fail;
7394  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7395  if (!SWIG_IsOK(res1)) {
7396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_V" "', argument " "1"" of type '" "a_block const *""'");
7397  }
7398  arg1 = reinterpret_cast< a_block * >(argp1);
7399  result = (double)((a_block const *)arg1)->V();
7400  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
7401  return TCL_OK;
7402 fail:
7403  return TCL_ERROR;
7404 }
7405 
7406 
7407 SWIGINTERN int
7408 _wrap_a_block_potential(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7409  a_block *arg1 = (a_block *) 0 ;
7410  void *argp1 = 0 ;
7411  int res1 = 0 ;
7412  double result;
7413 
7414  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_potential self ",(void *)0) == TCL_ERROR) SWIG_fail;
7415  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7416  if (!SWIG_IsOK(res1)) {
7417  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_potential" "', argument " "1"" of type '" "a_block const *""'");
7418  }
7419  arg1 = reinterpret_cast< a_block * >(argp1);
7420  result = (double)((a_block const *)arg1)->potential();
7421  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
7422  return TCL_OK;
7423 fail:
7424  return TCL_ERROR;
7425 }
7426 
7427 
7428 SWIGINTERN int
7429 _wrap_a_block_clearinternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7430  a_block *arg1 = (a_block *) 0 ;
7431  void *argp1 = 0 ;
7432  int res1 = 0 ;
7433 
7434  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_clearinternal self ",(void *)0) == TCL_ERROR) SWIG_fail;
7435  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7436  if (!SWIG_IsOK(res1)) {
7437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_clearinternal" "', argument " "1"" of type '" "a_block *""'");
7438  }
7439  arg1 = reinterpret_cast< a_block * >(argp1);
7440  (arg1)->clearinternal();
7441 
7442  return TCL_OK;
7443 fail:
7444  return TCL_ERROR;
7445 }
7446 
7447 
7448 SWIGINTERN int
7449 _wrap_a_block_clearexternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7450  a_block *arg1 = (a_block *) 0 ;
7451  void *argp1 = 0 ;
7452  int res1 = 0 ;
7453 
7454  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_clearexternal self ",(void *)0) == TCL_ERROR) SWIG_fail;
7455  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7456  if (!SWIG_IsOK(res1)) {
7457  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_clearexternal" "', argument " "1"" of type '" "a_block *""'");
7458  }
7459  arg1 = reinterpret_cast< a_block * >(argp1);
7460  (arg1)->clearexternal();
7461 
7462  return TCL_OK;
7463 fail:
7464  return TCL_ERROR;
7465 }
7466 
7467 
7468 SWIGINTERN int
7469 _wrap_a_block_clearall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7470  a_block *arg1 = (a_block *) 0 ;
7471  void *argp1 = 0 ;
7472  int res1 = 0 ;
7473 
7474  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_clearall self ",(void *)0) == TCL_ERROR) SWIG_fail;
7475  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7476  if (!SWIG_IsOK(res1)) {
7477  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_clearall" "', argument " "1"" of type '" "a_block *""'");
7478  }
7479  arg1 = reinterpret_cast< a_block * >(argp1);
7480  (arg1)->clearall();
7481 
7482  return TCL_OK;
7483 fail:
7484  return TCL_ERROR;
7485 }
7486 
7487 
7488 SWIGINTERN int
7489 _wrap_a_block_compute(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7490  a_block *arg1 = (a_block *) 0 ;
7491  void *argp1 = 0 ;
7492  int res1 = 0 ;
7493  a_block *result = 0 ;
7494 
7495  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_compute self ",(void *)0) == TCL_ERROR) SWIG_fail;
7496  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7497  if (!SWIG_IsOK(res1)) {
7498  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_compute" "', argument " "1"" of type '" "a_block *""'");
7499  }
7500  arg1 = reinterpret_cast< a_block * >(argp1);
7501  result = (a_block *)(arg1)->compute();
7502  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block,0));
7503  return TCL_OK;
7504 fail:
7505  return TCL_ERROR;
7506 }
7507 
7508 
7509 SWIGINTERN int
7510 _wrap_a_block_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7511  a_block *arg1 = (a_block *) 0 ;
7512  a_material *arg2 = (a_material *) 0 ;
7513  void *argp1 = 0 ;
7514  int res1 = 0 ;
7515  void *argp2 = 0 ;
7516  int res2 = 0 ;
7517 
7518  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_material self material ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7519  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7520  if (!SWIG_IsOK(res1)) {
7521  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_material" "', argument " "1"" of type '" "a_block *""'");
7522  }
7523  arg1 = reinterpret_cast< a_block * >(argp1);
7524  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_material, 0 | 0 );
7525  if (!SWIG_IsOK(res2)) {
7526  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_material" "', argument " "2"" of type '" "a_material *""'");
7527  }
7528  arg2 = reinterpret_cast< a_material * >(argp2);
7529  (arg1)->material(arg2);
7530 
7531  return TCL_OK;
7532 fail:
7533  return TCL_ERROR;
7534 }
7535 
7536 
7537 SWIGINTERN int
7538 _wrap_a_block_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7539  a_block *arg1 = (a_block *) 0 ;
7540  void *argp1 = 0 ;
7541  int res1 = 0 ;
7542  a_material *result = 0 ;
7543 
7544  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_material self ",(void *)0) == TCL_ERROR) SWIG_fail;
7545  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7546  if (!SWIG_IsOK(res1)) {
7547  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_material" "', argument " "1"" of type '" "a_block *""'");
7548  }
7549  arg1 = reinterpret_cast< a_block * >(argp1);
7550  result = (a_material *)(arg1)->material();
7551  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_material,0));
7552  return TCL_OK;
7553 fail:
7554  return TCL_ERROR;
7555 }
7556 
7557 
7558 SWIGINTERN int
7559 _wrap_a_block_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7560  Tcl_Obj *CONST *argv = objv+1;
7561  int argc = objc-1;
7562  if (argc == 1) {
7563  int _v;
7564  void *vptr = 0;
7565  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7566  _v = SWIG_CheckState(res);
7567  if (_v) {
7568  return _wrap_a_block_material__SWIG_1(clientData, interp, objc, argv - 1);
7569  }
7570  }
7571  if (argc == 2) {
7572  int _v;
7573  void *vptr = 0;
7574  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7575  _v = SWIG_CheckState(res);
7576  if (_v) {
7577  void *vptr = 0;
7578  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_material, 0);
7579  _v = SWIG_CheckState(res);
7580  if (_v) {
7581  return _wrap_a_block_material__SWIG_0(clientData, interp, objc, argv - 1);
7582  }
7583  }
7584  }
7585 
7586  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_material'.\n"
7587  " Possible C/C++ prototypes are:\n"
7588  " a_block::material(a_material *)\n"
7589  " a_block::material()\n", TCL_STATIC);
7590  return TCL_ERROR;
7591 }
7592 
7593 
7594 SWIGINTERN int
7595 _wrap_a_block_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7596  a_block *arg1 = (a_block *) 0 ;
7597  void *argp1 = 0 ;
7598  int res1 = 0 ;
7599  int result;
7600 
7601  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_nv self ",(void *)0) == TCL_ERROR) SWIG_fail;
7602  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7603  if (!SWIG_IsOK(res1)) {
7604  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_nv" "', argument " "1"" of type '" "a_block const *""'");
7605  }
7606  arg1 = reinterpret_cast< a_block * >(argp1);
7607  result = (int)((a_block const *)arg1)->nv();
7608  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
7609  return TCL_OK;
7610 fail:
7611  return TCL_ERROR;
7612 }
7613 
7614 
7615 SWIGINTERN int
7616 _wrap_a_block_ni(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7617  a_block *arg1 = (a_block *) 0 ;
7618  void *argp1 = 0 ;
7619  int res1 = 0 ;
7620  int result;
7621 
7622  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_ni self ",(void *)0) == TCL_ERROR) SWIG_fail;
7623  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7624  if (!SWIG_IsOK(res1)) {
7625  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_ni" "', argument " "1"" of type '" "a_block const *""'");
7626  }
7627  arg1 = reinterpret_cast< a_block * >(argp1);
7628  result = (int)((a_block const *)arg1)->ni();
7629  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
7630  return TCL_OK;
7631 fail:
7632  return TCL_ERROR;
7633 }
7634 
7635 
7636 SWIGINTERN int
7637 _wrap_a_block_av(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7638  a_block *arg1 = (a_block *) 0 ;
7639  a_point *arg2 = (a_point *) 0 ;
7640  void *argp1 = 0 ;
7641  int res1 = 0 ;
7642  void *argp2 = 0 ;
7643  int res2 = 0 ;
7644 
7645  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_av self vertex ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7646  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7647  if (!SWIG_IsOK(res1)) {
7648  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_av" "', argument " "1"" of type '" "a_block *""'");
7649  }
7650  arg1 = reinterpret_cast< a_block * >(argp1);
7651  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
7652  if (!SWIG_IsOK(res2)) {
7653  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_av" "', argument " "2"" of type '" "a_point *""'");
7654  }
7655  arg2 = reinterpret_cast< a_point * >(argp2);
7656  (arg1)->av(arg2);
7657 
7658  return TCL_OK;
7659 fail:
7660  return TCL_ERROR;
7661 }
7662 
7663 
7664 SWIGINTERN int
7665 _wrap_a_block_ai(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7666  a_block *arg1 = (a_block *) 0 ;
7667  a_face *arg2 = (a_face *) 0 ;
7668  void *argp1 = 0 ;
7669  int res1 = 0 ;
7670  void *argp2 = 0 ;
7671  int res2 = 0 ;
7672 
7673  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_ai self face ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7674  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7675  if (!SWIG_IsOK(res1)) {
7676  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_ai" "', argument " "1"" of type '" "a_block *""'");
7677  }
7678  arg1 = reinterpret_cast< a_block * >(argp1);
7679  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_face, 0 | 0 );
7680  if (!SWIG_IsOK(res2)) {
7681  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_ai" "', argument " "2"" of type '" "a_face *""'");
7682  }
7683  arg2 = reinterpret_cast< a_face * >(argp2);
7684  (arg1)->ai(arg2);
7685 
7686  return TCL_OK;
7687 fail:
7688  return TCL_ERROR;
7689 }
7690 
7691 
7692 SWIGINTERN int
7693 _wrap_a_block_v__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7694  a_block *arg1 = (a_block *) 0 ;
7695  int arg2 ;
7696  void *argp1 = 0 ;
7697  int res1 = 0 ;
7698  int val2 ;
7699  int ecode2 = 0 ;
7700  a_point *result = 0 ;
7701 
7702  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_v self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7703  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7704  if (!SWIG_IsOK(res1)) {
7705  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_v" "', argument " "1"" of type '" "a_block *""'");
7706  }
7707  arg1 = reinterpret_cast< a_block * >(argp1);
7708  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
7709  if (!SWIG_IsOK(ecode2)) {
7710  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_v" "', argument " "2"" of type '" "int""'");
7711  }
7712  arg2 = static_cast< int >(val2);
7713  result = (a_point *)(arg1)->v(arg2);
7714  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_point,0));
7715  return TCL_OK;
7716 fail:
7717  return TCL_ERROR;
7718 }
7719 
7720 
7721 SWIGINTERN int
7722 _wrap_a_block_v__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7723  a_block *arg1 = (a_block *) 0 ;
7724  int arg2 ;
7725  void *argp1 = 0 ;
7726  int res1 = 0 ;
7727  int val2 ;
7728  int ecode2 = 0 ;
7729  a_point *result = 0 ;
7730 
7731  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_v self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7732  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7733  if (!SWIG_IsOK(res1)) {
7734  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_v" "', argument " "1"" of type '" "a_block const *""'");
7735  }
7736  arg1 = reinterpret_cast< a_block * >(argp1);
7737  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
7738  if (!SWIG_IsOK(ecode2)) {
7739  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_v" "', argument " "2"" of type '" "int""'");
7740  }
7741  arg2 = static_cast< int >(val2);
7742  result = (a_point *)((a_block const *)arg1)->v(arg2);
7743  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_point,0));
7744  return TCL_OK;
7745 fail:
7746  return TCL_ERROR;
7747 }
7748 
7749 
7750 SWIGINTERN int
7751 _wrap_a_block_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7752  Tcl_Obj *CONST *argv = objv+1;
7753  int argc = objc-1;
7754  if (argc == 2) {
7755  int _v;
7756  void *vptr = 0;
7757  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7758  _v = SWIG_CheckState(res);
7759  if (_v) {
7760  {
7761  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
7762  _v = SWIG_CheckState(res);
7763  }
7764  if (_v) {
7765  return _wrap_a_block_v__SWIG_0(clientData, interp, objc, argv - 1);
7766  }
7767  }
7768  }
7769  if (argc == 2) {
7770  int _v;
7771  void *vptr = 0;
7772  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7773  _v = SWIG_CheckState(res);
7774  if (_v) {
7775  {
7776  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
7777  _v = SWIG_CheckState(res);
7778  }
7779  if (_v) {
7780  return _wrap_a_block_v__SWIG_1(clientData, interp, objc, argv - 1);
7781  }
7782  }
7783  }
7784 
7785  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_v'.\n"
7786  " Possible C/C++ prototypes are:\n"
7787  " a_block::v(int const)\n"
7788  " a_block::v(int const) const\n", TCL_STATIC);
7789  return TCL_ERROR;
7790 }
7791 
7792 
7793 SWIGINTERN int
7794 _wrap_a_block_i__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7795  a_block *arg1 = (a_block *) 0 ;
7796  int arg2 ;
7797  void *argp1 = 0 ;
7798  int res1 = 0 ;
7799  int val2 ;
7800  int ecode2 = 0 ;
7801  a_face *result = 0 ;
7802 
7803  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_i self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7804  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7805  if (!SWIG_IsOK(res1)) {
7806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_i" "', argument " "1"" of type '" "a_block *""'");
7807  }
7808  arg1 = reinterpret_cast< a_block * >(argp1);
7809  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
7810  if (!SWIG_IsOK(ecode2)) {
7811  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_i" "', argument " "2"" of type '" "int""'");
7812  }
7813  arg2 = static_cast< int >(val2);
7814  result = (a_face *)(arg1)->i(arg2);
7815  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_face,0));
7816  return TCL_OK;
7817 fail:
7818  return TCL_ERROR;
7819 }
7820 
7821 
7822 SWIGINTERN int
7823 _wrap_a_block_i__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7824  a_block *arg1 = (a_block *) 0 ;
7825  int arg2 ;
7826  void *argp1 = 0 ;
7827  int res1 = 0 ;
7828  int val2 ;
7829  int ecode2 = 0 ;
7830  a_face *result = 0 ;
7831 
7832  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_i self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7833  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7834  if (!SWIG_IsOK(res1)) {
7835  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_i" "', argument " "1"" of type '" "a_block const *""'");
7836  }
7837  arg1 = reinterpret_cast< a_block * >(argp1);
7838  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
7839  if (!SWIG_IsOK(ecode2)) {
7840  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_i" "', argument " "2"" of type '" "int""'");
7841  }
7842  arg2 = static_cast< int >(val2);
7843  result = (a_face *)((a_block const *)arg1)->i(arg2);
7844  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_face,0));
7845  return TCL_OK;
7846 fail:
7847  return TCL_ERROR;
7848 }
7849 
7850 
7851 SWIGINTERN int
7852 _wrap_a_block_i(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7853  Tcl_Obj *CONST *argv = objv+1;
7854  int argc = objc-1;
7855  if (argc == 2) {
7856  int _v;
7857  void *vptr = 0;
7858  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7859  _v = SWIG_CheckState(res);
7860  if (_v) {
7861  {
7862  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
7863  _v = SWIG_CheckState(res);
7864  }
7865  if (_v) {
7866  return _wrap_a_block_i__SWIG_0(clientData, interp, objc, argv - 1);
7867  }
7868  }
7869  }
7870  if (argc == 2) {
7871  int _v;
7872  void *vptr = 0;
7873  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
7874  _v = SWIG_CheckState(res);
7875  if (_v) {
7876  {
7877  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
7878  _v = SWIG_CheckState(res);
7879  }
7880  if (_v) {
7881  return _wrap_a_block_i__SWIG_1(clientData, interp, objc, argv - 1);
7882  }
7883  }
7884  }
7885 
7886  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_i'.\n"
7887  " Possible C/C++ prototypes are:\n"
7888  " a_block::i(int const)\n"
7889  " a_block::i(int const) const\n", TCL_STATIC);
7890  return TCL_ERROR;
7891 }
7892 
7893 
7894 SWIGINTERN int
7895 _wrap_a_block_pos(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7896  a_block *arg1 = (a_block *) 0 ;
7897  void *argp1 = 0 ;
7898  int res1 = 0 ;
7899  a_twist *result = 0 ;
7900 
7901  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_pos self ",(void *)0) == TCL_ERROR) SWIG_fail;
7902  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7903  if (!SWIG_IsOK(res1)) {
7904  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_pos" "', argument " "1"" of type '" "a_block const *""'");
7905  }
7906  arg1 = reinterpret_cast< a_block * >(argp1);
7907  result = (a_twist *)((a_block const *)arg1)->pos();
7908  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_twist,0));
7909  return TCL_OK;
7910 fail:
7911  return TCL_ERROR;
7912 }
7913 
7914 
7915 SWIGINTERN int
7916 _wrap_a_block_place(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7917  a_block *arg1 = (a_block *) 0 ;
7918  int arg2 ;
7919  a_block *arg3 = (a_block *) 0 ;
7920  int arg4 ;
7921  double arg5 ;
7922  double arg6 ;
7923  void *argp1 = 0 ;
7924  int res1 = 0 ;
7925  int val2 ;
7926  int ecode2 = 0 ;
7927  void *argp3 = 0 ;
7928  int res3 = 0 ;
7929  int val4 ;
7930  int ecode4 = 0 ;
7931  double val5 ;
7932  int ecode5 = 0 ;
7933  double val6 ;
7934  int ecode6 = 0 ;
7935 
7936  if (SWIG_GetArgs(interp, objc, objv,"oooooo:a_block_place self fi block fe u v ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
7937  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7938  if (!SWIG_IsOK(res1)) {
7939  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_place" "', argument " "1"" of type '" "a_block *""'");
7940  }
7941  arg1 = reinterpret_cast< a_block * >(argp1);
7942  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
7943  if (!SWIG_IsOK(ecode2)) {
7944  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_place" "', argument " "2"" of type '" "int""'");
7945  }
7946  arg2 = static_cast< int >(val2);
7947  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_block, 0 | 0 );
7948  if (!SWIG_IsOK(res3)) {
7949  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_block_place" "', argument " "3"" of type '" "a_block *""'");
7950  }
7951  arg3 = reinterpret_cast< a_block * >(argp3);
7952  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
7953  if (!SWIG_IsOK(ecode4)) {
7954  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_block_place" "', argument " "4"" of type '" "int""'");
7955  }
7956  arg4 = static_cast< int >(val4);
7957  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
7958  if (!SWIG_IsOK(ecode5)) {
7959  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_block_place" "', argument " "5"" of type '" "double""'");
7960  }
7961  arg5 = static_cast< double >(val5);
7962  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
7963  if (!SWIG_IsOK(ecode6)) {
7964  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_block_place" "', argument " "6"" of type '" "double""'");
7965  }
7966  arg6 = static_cast< double >(val6);
7967  (arg1)->place(arg2,arg3,arg4,arg5,arg6);
7968 
7969  return TCL_OK;
7970 fail:
7971  return TCL_ERROR;
7972 }
7973 
7974 
7975 SWIGINTERN int
7976 _wrap_a_block_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
7977  a_block *arg1 = (a_block *) 0 ;
7978  void *argp1 = 0 ;
7979  int res1 = 0 ;
7980  std::vector< int > result;
7981 
7982  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_in self ",(void *)0) == TCL_ERROR) SWIG_fail;
7983  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
7984  if (!SWIG_IsOK(res1)) {
7985  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_in" "', argument " "1"" of type '" "a_block const *""'");
7986  }
7987  arg1 = reinterpret_cast< a_block * >(argp1);
7988  result = ((a_block const *)arg1)->in();
7989  {
7990  for (unsigned int i=0; i<(&result)->size(); i++) {
7991  Tcl_ListObjAppendElement(interp, (Tcl_GetObjResult(interp)), \
7992  Tcl_NewIntObj(((std::vector< int > &)result)[i]));
7993  }
7994  }
7995  return TCL_OK;
7996 fail:
7997  return TCL_ERROR;
7998 }
7999 
8000 
8001 SWIGINTERN int
8002 _wrap_a_block_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8003  a_block *arg1 = (a_block *) 0 ;
8004  void *argp1 = 0 ;
8005  int res1 = 0 ;
8006  std::vector< int > result;
8007 
8008  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_out self ",(void *)0) == TCL_ERROR) SWIG_fail;
8009  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8010  if (!SWIG_IsOK(res1)) {
8011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_out" "', argument " "1"" of type '" "a_block const *""'");
8012  }
8013  arg1 = reinterpret_cast< a_block * >(argp1);
8014  result = ((a_block const *)arg1)->out();
8015  {
8016  for (unsigned int i=0; i<(&result)->size(); i++) {
8017  Tcl_ListObjAppendElement(interp, (Tcl_GetObjResult(interp)), \
8018  Tcl_NewIntObj(((std::vector< int > &)result)[i]));
8019  }
8020  }
8021  return TCL_OK;
8022 fail:
8023  return TCL_ERROR;
8024 }
8025 
8026 
8027 SWIGINTERN int
8028 _wrap_a_block_exit__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8029  a_block *arg1 = (a_block *) 0 ;
8030  int arg2 ;
8031  void *argp1 = 0 ;
8032  int res1 = 0 ;
8033  int val2 ;
8034  int ecode2 = 0 ;
8035 
8036  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_exit self ref ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8037  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8038  if (!SWIG_IsOK(res1)) {
8039  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_exit" "', argument " "1"" of type '" "a_block *""'");
8040  }
8041  arg1 = reinterpret_cast< a_block * >(argp1);
8042  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
8043  if (!SWIG_IsOK(ecode2)) {
8044  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_exit" "', argument " "2"" of type '" "int""'");
8045  }
8046  arg2 = static_cast< int >(val2);
8047  (arg1)->exit(arg2);
8048 
8049  return TCL_OK;
8050 fail:
8051  return TCL_ERROR;
8052 }
8053 
8054 
8055 SWIGINTERN int
8056 _wrap_a_block_exit__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8057  a_block *arg1 = (a_block *) 0 ;
8058  void *argp1 = 0 ;
8059  int res1 = 0 ;
8060  int result;
8061 
8062  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_exit self ",(void *)0) == TCL_ERROR) SWIG_fail;
8063  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8064  if (!SWIG_IsOK(res1)) {
8065  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_exit" "', argument " "1"" of type '" "a_block *""'");
8066  }
8067  arg1 = reinterpret_cast< a_block * >(argp1);
8068  result = (int)(arg1)->exit();
8069  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
8070  return TCL_OK;
8071 fail:
8072  return TCL_ERROR;
8073 }
8074 
8075 
8076 SWIGINTERN int
8077 _wrap_a_block_exit(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8078  Tcl_Obj *CONST *argv = objv+1;
8079  int argc = objc-1;
8080  if (argc == 1) {
8081  int _v;
8082  void *vptr = 0;
8083  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
8084  _v = SWIG_CheckState(res);
8085  if (_v) {
8086  return _wrap_a_block_exit__SWIG_1(clientData, interp, objc, argv - 1);
8087  }
8088  }
8089  if (argc == 2) {
8090  int _v;
8091  void *vptr = 0;
8092  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block, 0);
8093  _v = SWIG_CheckState(res);
8094  if (_v) {
8095  {
8096  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
8097  _v = SWIG_CheckState(res);
8098  }
8099  if (_v) {
8100  return _wrap_a_block_exit__SWIG_0(clientData, interp, objc, argv - 1);
8101  }
8102  }
8103  }
8104 
8105  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_exit'.\n"
8106  " Possible C/C++ prototypes are:\n"
8107  " a_block::exit(int)\n"
8108  " a_block::exit()\n", TCL_STATIC);
8109  return TCL_ERROR;
8110 }
8111 
8112 
8113 SWIGINTERN int
8114 _wrap_a_block_entrance(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8115  a_block *arg1 = (a_block *) 0 ;
8116  int arg2 ;
8117  void *argp1 = 0 ;
8118  int res1 = 0 ;
8119  int val2 ;
8120  int ecode2 = 0 ;
8121  int result;
8122 
8123  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_entrance self ref ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8124  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8125  if (!SWIG_IsOK(res1)) {
8126  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_entrance" "', argument " "1"" of type '" "a_block *""'");
8127  }
8128  arg1 = reinterpret_cast< a_block * >(argp1);
8129  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
8130  if (!SWIG_IsOK(ecode2)) {
8131  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_entrance" "', argument " "2"" of type '" "int""'");
8132  }
8133  arg2 = static_cast< int >(val2);
8134  result = (int)(arg1)->entrance(arg2);
8135  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
8136  return TCL_OK;
8137 fail:
8138  return TCL_ERROR;
8139 }
8140 
8141 
8142 SWIGINTERN int
8143 _wrap_a_block_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8144  a_block *arg1 = (a_block *) 0 ;
8145  a_fcriteria *arg2 = (a_fcriteria *) 0 ;
8146  void *argp1 = 0 ;
8147  int res1 = 0 ;
8148  void *argp2 = 0 ;
8149  int res2 = 0 ;
8150 
8151  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_criteria self criteria ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8152  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8153  if (!SWIG_IsOK(res1)) {
8154  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_criteria" "', argument " "1"" of type '" "a_block *""'");
8155  }
8156  arg1 = reinterpret_cast< a_block * >(argp1);
8157  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_fcriteria, 0 | 0 );
8158  if (!SWIG_IsOK(res2)) {
8159  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_criteria" "', argument " "2"" of type '" "a_fcriteria *""'");
8160  }
8161  arg2 = reinterpret_cast< a_fcriteria * >(argp2);
8162  (arg1)->criteria(arg2);
8163 
8164  return TCL_OK;
8165 fail:
8166  return TCL_ERROR;
8167 }
8168 
8169 
8170 SWIGINTERN int
8171 _wrap_a_block_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8172  a_block *arg1 = (a_block *) 0 ;
8173  void *argp1 = 0 ;
8174  int res1 = 0 ;
8175  bool result;
8176 
8177  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_ok self ",(void *)0) == TCL_ERROR) SWIG_fail;
8178  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8179  if (!SWIG_IsOK(res1)) {
8180  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_ok" "', argument " "1"" of type '" "a_block const *""'");
8181  }
8182  arg1 = reinterpret_cast< a_block * >(argp1);
8183  result = (bool)((a_block const *)arg1)->ok();
8184  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
8185  return TCL_OK;
8186 fail:
8187  return TCL_ERROR;
8188 }
8189 
8190 
8191 SWIGINTERN int
8192 _wrap_a_block_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8193  a_block *arg1 = (a_block *) 0 ;
8194  void *argp1 = 0 ;
8195  int res1 = 0 ;
8196  double result;
8197 
8198  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_penalty self ",(void *)0) == TCL_ERROR) SWIG_fail;
8199  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8200  if (!SWIG_IsOK(res1)) {
8201  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_penalty" "', argument " "1"" of type '" "a_block const *""'");
8202  }
8203  arg1 = reinterpret_cast< a_block * >(argp1);
8204  result = (double)((a_block const *)arg1)->penalty();
8205  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
8206  return TCL_OK;
8207 fail:
8208  return TCL_ERROR;
8209 }
8210 
8211 
8212 SWIGINTERN int
8213 _wrap_a_block_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8214  a_block *arg1 = (a_block *) 0 ;
8215  void *argp1 = 0 ;
8216  int res1 = 0 ;
8217  std::string result;
8218 
8219  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_print self ",(void *)0) == TCL_ERROR) SWIG_fail;
8220  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8221  if (!SWIG_IsOK(res1)) {
8222  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_print" "', argument " "1"" of type '" "a_block *""'");
8223  }
8224  arg1 = reinterpret_cast< a_block * >(argp1);
8225  result = a_block_print(arg1);
8226  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
8227  return TCL_OK;
8228 fail:
8229  return TCL_ERROR;
8230 }
8231 
8232 
8233 SWIGINTERN int
8234 _wrap_a_block_convert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8235  a_block *arg1 = (a_block *) 0 ;
8236  std::string *arg2 = 0 ;
8237  void *argp1 = 0 ;
8238  int res1 = 0 ;
8239  int res2 = SWIG_OLDOBJ ;
8240  std::string result;
8241 
8242  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_convert self code ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8243  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8244  if (!SWIG_IsOK(res1)) {
8245  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_convert" "', argument " "1"" of type '" "a_block *""'");
8246  }
8247  arg1 = reinterpret_cast< a_block * >(argp1);
8248  {
8249  std::string *ptr = (std::string *)0;
8250  res2 = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[2], &ptr);
8251  if (!SWIG_IsOK(res2)) {
8252  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_convert" "', argument " "2"" of type '" "std::string const &""'");
8253  }
8254  if (!ptr) {
8255  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_convert" "', argument " "2"" of type '" "std::string const &""'");
8256  }
8257  arg2 = ptr;
8258  }
8259  result = a_block_convert(arg1,(std::string const &)*arg2);
8260  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
8261  if (SWIG_IsNewObj(res2)) delete arg2;
8262  return TCL_OK;
8263 fail:
8264  if (SWIG_IsNewObj(res2)) delete arg2;
8265  return TCL_ERROR;
8266 }
8267 
8268 
8269 SWIGINTERN int
8270 _wrap_delete_a_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8271  a_block *arg1 = (a_block *) 0 ;
8272  void *argp1 = 0 ;
8273  int res1 = 0 ;
8274 
8275  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_block self ",(void *)0) == TCL_ERROR) SWIG_fail;
8276  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, SWIG_POINTER_DISOWN | 0 );
8277  if (!SWIG_IsOK(res1)) {
8278  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_block" "', argument " "1"" of type '" "a_block *""'");
8279  }
8280  arg1 = reinterpret_cast< a_block * >(argp1);
8281  delete arg1;
8282 
8283  return TCL_OK;
8284 fail:
8285  return TCL_ERROR;
8286 }
8287 
8288 
8290 a_block *arg1 = (a_block *) obj;
8291 delete arg1;
8292 }
8294  {"copy", _wrap_a_block_copy},
8295  {"deepcopy", _wrap_a_block_deepcopy},
8296  {"g", _wrap_a_block_g},
8297  {"name", _wrap_a_block_name},
8298  {"c", _wrap_a_block_c},
8299  {"cl", _wrap_a_block_cl},
8300  {"m", _wrap_a_block_m},
8301  {"Ws", _wrap_a_block_Ws},
8302  {"fe", _wrap_a_block_fe},
8303  {"W", _wrap_a_block_W},
8304  {"ft", _wrap_a_block_ft},
8305  {"nextblock", _wrap_a_block_nextblock},
8306  {"V", _wrap_a_block_V},
8307  {"potential", _wrap_a_block_potential},
8308  {"clearinternal", _wrap_a_block_clearinternal},
8309  {"clearexternal", _wrap_a_block_clearexternal},
8310  {"clearall", _wrap_a_block_clearall},
8311  {"compute", _wrap_a_block_compute},
8312  {"material", _wrap_a_block_material},
8313  {"nv", _wrap_a_block_nv},
8314  {"ni", _wrap_a_block_ni},
8315  {"av", _wrap_a_block_av},
8316  {"ai", _wrap_a_block_ai},
8317  {"v", _wrap_a_block_v},
8318  {"i", _wrap_a_block_i},
8319  {"pos", _wrap_a_block_pos},
8320  {"place", _wrap_a_block_place},
8321  {"in", _wrap_a_block_in},
8322  {"out", _wrap_a_block_out},
8323  {"exit", _wrap_a_block_exit},
8324  {"entrance", _wrap_a_block_entrance},
8325  {"criteria", _wrap_a_block_criteria},
8326  {"ok", _wrap_a_block_ok},
8327  {"penalty", _wrap_a_block_penalty},
8328  {"print", _wrap_a_block_print},
8329  {"convert", _wrap_a_block_convert},
8330  {0,0}
8331 };
8333  {0,0,0}
8334 };
8336 static const char * swig_a_block_base_names[] = {0};
8338 SWIGINTERN int
8339 _wrap_new_a_block_2d3__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8340  a_block_2d3 *result = 0 ;
8341 
8342  if (SWIG_GetArgs(interp, objc, objv,":new_a_block_2d3 ") == TCL_ERROR) SWIG_fail;
8343  result = (a_block_2d3 *)new a_block_2d3();
8344  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d3,0));
8345  return TCL_OK;
8346 fail:
8347  return TCL_ERROR;
8348 }
8349 
8350 
8351 SWIGINTERN int
8352 _wrap_new_a_block_2d3__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8353  a_point *arg1 = (a_point *) 0 ;
8354  a_point *arg2 = (a_point *) 0 ;
8355  a_point *arg3 = (a_point *) 0 ;
8356  double arg4 ;
8357  void *argp1 = 0 ;
8358  int res1 = 0 ;
8359  void *argp2 = 0 ;
8360  int res2 = 0 ;
8361  void *argp3 = 0 ;
8362  int res3 = 0 ;
8363  double val4 ;
8364  int ecode4 = 0 ;
8365  a_block_2d3 *result = 0 ;
8366 
8367  if (SWIG_GetArgs(interp, objc, objv,"oooo:new_a_block_2d3 p1 p2 p3 thickness ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8368  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
8369  if (!SWIG_IsOK(res1)) {
8370  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d3" "', argument " "1"" of type '" "a_point *""'");
8371  }
8372  arg1 = reinterpret_cast< a_point * >(argp1);
8373  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
8374  if (!SWIG_IsOK(res2)) {
8375  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d3" "', argument " "2"" of type '" "a_point *""'");
8376  }
8377  arg2 = reinterpret_cast< a_point * >(argp2);
8378  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
8379  if (!SWIG_IsOK(res3)) {
8380  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d3" "', argument " "3"" of type '" "a_point *""'");
8381  }
8382  arg3 = reinterpret_cast< a_point * >(argp3);
8383  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
8384  if (!SWIG_IsOK(ecode4)) {
8385  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_a_block_2d3" "', argument " "4"" of type '" "double""'");
8386  }
8387  arg4 = static_cast< double >(val4);
8388  result = (a_block_2d3 *)new a_block_2d3(arg1,arg2,arg3,arg4);
8389  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d3,0));
8390  return TCL_OK;
8391 fail:
8392  return TCL_ERROR;
8393 }
8394 
8395 
8396 SWIGINTERN int
8397 _wrap_new_a_block_2d3__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8398  a_point *arg1 = (a_point *) 0 ;
8399  a_point *arg2 = (a_point *) 0 ;
8400  a_point *arg3 = (a_point *) 0 ;
8401  void *argp1 = 0 ;
8402  int res1 = 0 ;
8403  void *argp2 = 0 ;
8404  int res2 = 0 ;
8405  void *argp3 = 0 ;
8406  int res3 = 0 ;
8407  a_block_2d3 *result = 0 ;
8408 
8409  if (SWIG_GetArgs(interp, objc, objv,"ooo:new_a_block_2d3 p1 p2 p3 ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8410  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
8411  if (!SWIG_IsOK(res1)) {
8412  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d3" "', argument " "1"" of type '" "a_point *""'");
8413  }
8414  arg1 = reinterpret_cast< a_point * >(argp1);
8415  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
8416  if (!SWIG_IsOK(res2)) {
8417  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d3" "', argument " "2"" of type '" "a_point *""'");
8418  }
8419  arg2 = reinterpret_cast< a_point * >(argp2);
8420  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
8421  if (!SWIG_IsOK(res3)) {
8422  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d3" "', argument " "3"" of type '" "a_point *""'");
8423  }
8424  arg3 = reinterpret_cast< a_point * >(argp3);
8425  result = (a_block_2d3 *)new a_block_2d3(arg1,arg2,arg3);
8426  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d3,0));
8427  return TCL_OK;
8428 fail:
8429  return TCL_ERROR;
8430 }
8431 
8432 
8433 SWIGINTERN int
8434 _wrap_new_a_block_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8435  Tcl_Obj *CONST *argv = objv+1;
8436  int argc = objc-1;
8437  if (argc == 0) {
8438  return _wrap_new_a_block_2d3__SWIG_0(clientData, interp, objc, argv - 1);
8439  }
8440  if (argc == 3) {
8441  int _v;
8442  void *vptr = 0;
8443  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
8444  _v = SWIG_CheckState(res);
8445  if (_v) {
8446  void *vptr = 0;
8447  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
8448  _v = SWIG_CheckState(res);
8449  if (_v) {
8450  void *vptr = 0;
8451  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
8452  _v = SWIG_CheckState(res);
8453  if (_v) {
8454  return _wrap_new_a_block_2d3__SWIG_2(clientData, interp, objc, argv - 1);
8455  }
8456  }
8457  }
8458  }
8459  if (argc == 4) {
8460  int _v;
8461  void *vptr = 0;
8462  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
8463  _v = SWIG_CheckState(res);
8464  if (_v) {
8465  void *vptr = 0;
8466  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
8467  _v = SWIG_CheckState(res);
8468  if (_v) {
8469  void *vptr = 0;
8470  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
8471  _v = SWIG_CheckState(res);
8472  if (_v) {
8473  {
8474  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
8475  _v = SWIG_CheckState(res);
8476  }
8477  if (_v) {
8478  return _wrap_new_a_block_2d3__SWIG_1(clientData, interp, objc, argv - 1);
8479  }
8480  }
8481  }
8482  }
8483  }
8484 
8485  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_block_2d3'.\n"
8486  " Possible C/C++ prototypes are:\n"
8487  " a_block_2d3::a_block_2d3()\n"
8488  " a_block_2d3::a_block_2d3(a_point *,a_point *,a_point *,double)\n"
8489  " a_block_2d3::a_block_2d3(a_point *,a_point *,a_point *)\n", TCL_STATIC);
8490  return TCL_ERROR;
8491 }
8492 
8493 
8494 SWIGINTERN int
8495 _wrap_a_block_2d3_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8496  std::string result;
8497 
8498  if (SWIG_GetArgs(interp, objc, objv,":a_block_2d3_help ") == TCL_ERROR) SWIG_fail;
8499  result = a_block_2d3::help();
8500  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
8501  return TCL_OK;
8502 fail:
8503  return TCL_ERROR;
8504 }
8505 
8506 
8507 SWIGINTERN int
8508 _wrap_a_block_2d3_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8509  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8510  a_block_2d3 *arg2 = 0 ;
8511  void *argp1 = 0 ;
8512  int res1 = 0 ;
8513  void *argp2 ;
8514  int res2 = 0 ;
8515 
8516  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d3_copy self a_block_2d3 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8517  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8518  if (!SWIG_IsOK(res1)) {
8519  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_copy" "', argument " "1"" of type '" "a_block_2d3 *""'");
8520  }
8521  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8522  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d3, 0 );
8523  if (!SWIG_IsOK(res2)) {
8524  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d3_copy" "', argument " "2"" of type '" "a_block_2d3 const &""'");
8525  }
8526  if (!argp2) {
8527  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d3_copy" "', argument " "2"" of type '" "a_block_2d3 const &""'");
8528  }
8529  arg2 = reinterpret_cast< a_block_2d3 * >(argp2);
8530  (arg1)->copy((a_block_2d3 const &)*arg2);
8531 
8532  return TCL_OK;
8533 fail:
8534  return TCL_ERROR;
8535 }
8536 
8537 
8538 SWIGINTERN int
8539 _wrap_a_block_2d3_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8540  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8541  a_block_2d3 *arg2 = 0 ;
8542  void *argp1 = 0 ;
8543  int res1 = 0 ;
8544  void *argp2 ;
8545  int res2 = 0 ;
8546 
8547  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d3_deepcopy self a_block_2d3 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8548  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8549  if (!SWIG_IsOK(res1)) {
8550  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_deepcopy" "', argument " "1"" of type '" "a_block_2d3 *""'");
8551  }
8552  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8553  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d3, 0 );
8554  if (!SWIG_IsOK(res2)) {
8555  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d3_deepcopy" "', argument " "2"" of type '" "a_block_2d3 const &""'");
8556  }
8557  if (!argp2) {
8558  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d3_deepcopy" "', argument " "2"" of type '" "a_block_2d3 const &""'");
8559  }
8560  arg2 = reinterpret_cast< a_block_2d3 * >(argp2);
8561  (arg1)->deepcopy((a_block_2d3 const &)*arg2);
8562 
8563  return TCL_OK;
8564 fail:
8565  return TCL_ERROR;
8566 }
8567 
8568 
8569 SWIGINTERN int
8570 _wrap_a_block_2d3_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8571  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8572  double arg2 ;
8573  void *argp1 = 0 ;
8574  int res1 = 0 ;
8575  double val2 ;
8576  int ecode2 = 0 ;
8577 
8578  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d3_thickness self thickness ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8579  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8580  if (!SWIG_IsOK(res1)) {
8581  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_thickness" "', argument " "1"" of type '" "a_block_2d3 *""'");
8582  }
8583  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8584  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
8585  if (!SWIG_IsOK(ecode2)) {
8586  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d3_thickness" "', argument " "2"" of type '" "double""'");
8587  }
8588  arg2 = static_cast< double >(val2);
8589  (arg1)->thickness(arg2);
8590 
8591  return TCL_OK;
8592 fail:
8593  return TCL_ERROR;
8594 }
8595 
8596 
8597 SWIGINTERN int
8598 _wrap_a_block_2d3_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8599  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8600  void *argp1 = 0 ;
8601  int res1 = 0 ;
8602  double result;
8603 
8604  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d3_thickness self ",(void *)0) == TCL_ERROR) SWIG_fail;
8605  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8606  if (!SWIG_IsOK(res1)) {
8607  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_thickness" "', argument " "1"" of type '" "a_block_2d3 const *""'");
8608  }
8609  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8610  result = (double)((a_block_2d3 const *)arg1)->thickness();
8611  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
8612  return TCL_OK;
8613 fail:
8614  return TCL_ERROR;
8615 }
8616 
8617 
8618 SWIGINTERN int
8619 _wrap_a_block_2d3_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8620  Tcl_Obj *CONST *argv = objv+1;
8621  int argc = objc-1;
8622  if (argc == 1) {
8623  int _v;
8624  void *vptr = 0;
8625  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d3, 0);
8626  _v = SWIG_CheckState(res);
8627  if (_v) {
8628  return _wrap_a_block_2d3_thickness__SWIG_1(clientData, interp, objc, argv - 1);
8629  }
8630  }
8631  if (argc == 2) {
8632  int _v;
8633  void *vptr = 0;
8634  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d3, 0);
8635  _v = SWIG_CheckState(res);
8636  if (_v) {
8637  {
8638  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
8639  _v = SWIG_CheckState(res);
8640  }
8641  if (_v) {
8642  return _wrap_a_block_2d3_thickness__SWIG_0(clientData, interp, objc, argv - 1);
8643  }
8644  }
8645  }
8646 
8647  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_2d3_thickness'.\n"
8648  " Possible C/C++ prototypes are:\n"
8649  " a_block_2d3::thickness(double const)\n"
8650  " a_block_2d3::thickness() const\n", TCL_STATIC);
8651  return TCL_ERROR;
8652 }
8653 
8654 
8655 SWIGINTERN int
8656 _wrap_a_block_2d3_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8657  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8658  void *argp1 = 0 ;
8659  int res1 = 0 ;
8660  a_point result;
8661 
8662  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d3_normal self ",(void *)0) == TCL_ERROR) SWIG_fail;
8663  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8664  if (!SWIG_IsOK(res1)) {
8665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_normal" "', argument " "1"" of type '" "a_block_2d3 const *""'");
8666  }
8667  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8668  result = ((a_block_2d3 const *)arg1)->normal();
8669  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
8670  return TCL_OK;
8671 fail:
8672  return TCL_ERROR;
8673 }
8674 
8675 
8676 SWIGINTERN int
8677 _wrap_a_block_2d3_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8678  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8679  int arg2 ;
8680  void *argp1 = 0 ;
8681  int res1 = 0 ;
8682  int val2 ;
8683  int ecode2 = 0 ;
8684  a_point result;
8685 
8686  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d3_v3d self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8687  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, 0 | 0 );
8688  if (!SWIG_IsOK(res1)) {
8689  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d3_v3d" "', argument " "1"" of type '" "a_block_2d3 const *""'");
8690  }
8691  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8692  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
8693  if (!SWIG_IsOK(ecode2)) {
8694  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d3_v3d" "', argument " "2"" of type '" "int""'");
8695  }
8696  arg2 = static_cast< int >(val2);
8697  result = ((a_block_2d3 const *)arg1)->v3d(arg2);
8698  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
8699  return TCL_OK;
8700 fail:
8701  return TCL_ERROR;
8702 }
8703 
8704 
8705 SWIGINTERN int
8706 _wrap_delete_a_block_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8707  a_block_2d3 *arg1 = (a_block_2d3 *) 0 ;
8708  void *argp1 = 0 ;
8709  int res1 = 0 ;
8710 
8711  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_block_2d3 self ",(void *)0) == TCL_ERROR) SWIG_fail;
8712  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d3, SWIG_POINTER_DISOWN | 0 );
8713  if (!SWIG_IsOK(res1)) {
8714  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_block_2d3" "', argument " "1"" of type '" "a_block_2d3 *""'");
8715  }
8716  arg1 = reinterpret_cast< a_block_2d3 * >(argp1);
8717  delete arg1;
8718 
8719  return TCL_OK;
8720 fail:
8721  return TCL_ERROR;
8722 }
8723 
8724 
8726 a_block_2d3 *arg1 = (a_block_2d3 *) obj;
8727 delete arg1;
8728 }
8730  {"copy", _wrap_a_block_2d3_copy},
8731  {"deepcopy", _wrap_a_block_2d3_deepcopy},
8732  {"thickness", _wrap_a_block_2d3_thickness},
8733  {"normal", _wrap_a_block_2d3_normal},
8734  {"v3d", _wrap_a_block_2d3_v3d},
8735  {0,0}
8736 };
8738  {0,0,0}
8739 };
8741 static const char * swig_a_block_2d3_base_names[] = {"a_block *",0};
8743 SWIGINTERN int
8744 _wrap_cb_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8745  a_block *arg1 = (a_block *) 0 ;
8746  void *argp1 = 0 ;
8747  int res1 = 0 ;
8748  a_block_2d3 *result = 0 ;
8749 
8750  if (SWIG_GetArgs(interp, objc, objv,"o:cb_2d3 b ",(void *)0) == TCL_ERROR) SWIG_fail;
8751  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
8752  if (!SWIG_IsOK(res1)) {
8753  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cb_2d3" "', argument " "1"" of type '" "a_block *""'");
8754  }
8755  arg1 = reinterpret_cast< a_block * >(argp1);
8756  result = (a_block_2d3 *)cb_2d3(arg1);
8757  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d3,0));
8758  return TCL_OK;
8759 fail:
8760  return TCL_ERROR;
8761 }
8762 
8763 
8764 SWIGINTERN int
8765 _wrap_new_a_block_2d4__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8766  a_block_2d4 *result = 0 ;
8767 
8768  if (SWIG_GetArgs(interp, objc, objv,":new_a_block_2d4 ") == TCL_ERROR) SWIG_fail;
8769  result = (a_block_2d4 *)new a_block_2d4();
8770  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d4,0));
8771  return TCL_OK;
8772 fail:
8773  return TCL_ERROR;
8774 }
8775 
8776 
8777 SWIGINTERN int
8778 _wrap_new_a_block_2d4__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8779  a_point *arg1 = (a_point *) 0 ;
8780  a_point *arg2 = (a_point *) 0 ;
8781  a_point *arg3 = (a_point *) 0 ;
8782  a_point *arg4 = (a_point *) 0 ;
8783  double arg5 ;
8784  void *argp1 = 0 ;
8785  int res1 = 0 ;
8786  void *argp2 = 0 ;
8787  int res2 = 0 ;
8788  void *argp3 = 0 ;
8789  int res3 = 0 ;
8790  void *argp4 = 0 ;
8791  int res4 = 0 ;
8792  double val5 ;
8793  int ecode5 = 0 ;
8794  a_block_2d4 *result = 0 ;
8795 
8796  if (SWIG_GetArgs(interp, objc, objv,"ooooo:new_a_block_2d4 p1 p2 p3 p4 thickness ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8797  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
8798  if (!SWIG_IsOK(res1)) {
8799  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d4" "', argument " "1"" of type '" "a_point *""'");
8800  }
8801  arg1 = reinterpret_cast< a_point * >(argp1);
8802  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
8803  if (!SWIG_IsOK(res2)) {
8804  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d4" "', argument " "2"" of type '" "a_point *""'");
8805  }
8806  arg2 = reinterpret_cast< a_point * >(argp2);
8807  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
8808  if (!SWIG_IsOK(res3)) {
8809  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d4" "', argument " "3"" of type '" "a_point *""'");
8810  }
8811  arg3 = reinterpret_cast< a_point * >(argp3);
8812  res4 = SWIG_ConvertPtr(objv[4], &argp4,SWIGTYPE_p_a_point, 0 | 0 );
8813  if (!SWIG_IsOK(res4)) {
8814  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_a_block_2d4" "', argument " "4"" of type '" "a_point *""'");
8815  }
8816  arg4 = reinterpret_cast< a_point * >(argp4);
8817  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
8818  if (!SWIG_IsOK(ecode5)) {
8819  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_a_block_2d4" "', argument " "5"" of type '" "double""'");
8820  }
8821  arg5 = static_cast< double >(val5);
8822  result = (a_block_2d4 *)new a_block_2d4(arg1,arg2,arg3,arg4,arg5);
8823  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d4,0));
8824  return TCL_OK;
8825 fail:
8826  return TCL_ERROR;
8827 }
8828 
8829 
8830 SWIGINTERN int
8831 _wrap_new_a_block_2d4__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8832  a_point *arg1 = (a_point *) 0 ;
8833  a_point *arg2 = (a_point *) 0 ;
8834  a_point *arg3 = (a_point *) 0 ;
8835  a_point *arg4 = (a_point *) 0 ;
8836  void *argp1 = 0 ;
8837  int res1 = 0 ;
8838  void *argp2 = 0 ;
8839  int res2 = 0 ;
8840  void *argp3 = 0 ;
8841  int res3 = 0 ;
8842  void *argp4 = 0 ;
8843  int res4 = 0 ;
8844  a_block_2d4 *result = 0 ;
8845 
8846  if (SWIG_GetArgs(interp, objc, objv,"oooo:new_a_block_2d4 p1 p2 p3 p4 ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8847  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
8848  if (!SWIG_IsOK(res1)) {
8849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d4" "', argument " "1"" of type '" "a_point *""'");
8850  }
8851  arg1 = reinterpret_cast< a_point * >(argp1);
8852  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
8853  if (!SWIG_IsOK(res2)) {
8854  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d4" "', argument " "2"" of type '" "a_point *""'");
8855  }
8856  arg2 = reinterpret_cast< a_point * >(argp2);
8857  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
8858  if (!SWIG_IsOK(res3)) {
8859  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d4" "', argument " "3"" of type '" "a_point *""'");
8860  }
8861  arg3 = reinterpret_cast< a_point * >(argp3);
8862  res4 = SWIG_ConvertPtr(objv[4], &argp4,SWIGTYPE_p_a_point, 0 | 0 );
8863  if (!SWIG_IsOK(res4)) {
8864  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_a_block_2d4" "', argument " "4"" of type '" "a_point *""'");
8865  }
8866  arg4 = reinterpret_cast< a_point * >(argp4);
8867  result = (a_block_2d4 *)new a_block_2d4(arg1,arg2,arg3,arg4);
8868  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d4,0));
8869  return TCL_OK;
8870 fail:
8871  return TCL_ERROR;
8872 }
8873 
8874 
8875 SWIGINTERN int
8876 _wrap_new_a_block_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8877  Tcl_Obj *CONST *argv = objv+1;
8878  int argc = objc-1;
8879  if (argc == 0) {
8880  return _wrap_new_a_block_2d4__SWIG_0(clientData, interp, objc, argv - 1);
8881  }
8882  if (argc == 4) {
8883  int _v;
8884  void *vptr = 0;
8885  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
8886  _v = SWIG_CheckState(res);
8887  if (_v) {
8888  void *vptr = 0;
8889  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
8890  _v = SWIG_CheckState(res);
8891  if (_v) {
8892  void *vptr = 0;
8893  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
8894  _v = SWIG_CheckState(res);
8895  if (_v) {
8896  void *vptr = 0;
8897  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_point, 0);
8898  _v = SWIG_CheckState(res);
8899  if (_v) {
8900  return _wrap_new_a_block_2d4__SWIG_2(clientData, interp, objc, argv - 1);
8901  }
8902  }
8903  }
8904  }
8905  }
8906  if (argc == 5) {
8907  int _v;
8908  void *vptr = 0;
8909  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
8910  _v = SWIG_CheckState(res);
8911  if (_v) {
8912  void *vptr = 0;
8913  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
8914  _v = SWIG_CheckState(res);
8915  if (_v) {
8916  void *vptr = 0;
8917  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
8918  _v = SWIG_CheckState(res);
8919  if (_v) {
8920  void *vptr = 0;
8921  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_point, 0);
8922  _v = SWIG_CheckState(res);
8923  if (_v) {
8924  {
8925  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
8926  _v = SWIG_CheckState(res);
8927  }
8928  if (_v) {
8929  return _wrap_new_a_block_2d4__SWIG_1(clientData, interp, objc, argv - 1);
8930  }
8931  }
8932  }
8933  }
8934  }
8935  }
8936 
8937  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_block_2d4'.\n"
8938  " Possible C/C++ prototypes are:\n"
8939  " a_block_2d4::a_block_2d4()\n"
8940  " a_block_2d4::a_block_2d4(a_point *,a_point *,a_point *,a_point *,double)\n"
8941  " a_block_2d4::a_block_2d4(a_point *,a_point *,a_point *,a_point *)\n", TCL_STATIC);
8942  return TCL_ERROR;
8943 }
8944 
8945 
8946 SWIGINTERN int
8947 _wrap_a_block_2d4_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8948  std::string result;
8949 
8950  if (SWIG_GetArgs(interp, objc, objv,":a_block_2d4_help ") == TCL_ERROR) SWIG_fail;
8951  result = a_block_2d4::help();
8952  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
8953  return TCL_OK;
8954 fail:
8955  return TCL_ERROR;
8956 }
8957 
8958 
8959 SWIGINTERN int
8960 _wrap_a_block_2d4_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8961  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
8962  a_block_2d4 *arg2 = 0 ;
8963  void *argp1 = 0 ;
8964  int res1 = 0 ;
8965  void *argp2 ;
8966  int res2 = 0 ;
8967 
8968  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d4_copy self a_block_2d4 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
8969  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
8970  if (!SWIG_IsOK(res1)) {
8971  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_copy" "', argument " "1"" of type '" "a_block_2d4 *""'");
8972  }
8973  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
8974  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d4, 0 );
8975  if (!SWIG_IsOK(res2)) {
8976  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d4_copy" "', argument " "2"" of type '" "a_block_2d4 const &""'");
8977  }
8978  if (!argp2) {
8979  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d4_copy" "', argument " "2"" of type '" "a_block_2d4 const &""'");
8980  }
8981  arg2 = reinterpret_cast< a_block_2d4 * >(argp2);
8982  (arg1)->copy((a_block_2d4 const &)*arg2);
8983 
8984  return TCL_OK;
8985 fail:
8986  return TCL_ERROR;
8987 }
8988 
8989 
8990 SWIGINTERN int
8991 _wrap_a_block_2d4_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
8992  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
8993  a_block_2d4 *arg2 = 0 ;
8994  void *argp1 = 0 ;
8995  int res1 = 0 ;
8996  void *argp2 ;
8997  int res2 = 0 ;
8998 
8999  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d4_deepcopy self a_block_2d4 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9000  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
9001  if (!SWIG_IsOK(res1)) {
9002  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_deepcopy" "', argument " "1"" of type '" "a_block_2d4 *""'");
9003  }
9004  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9005  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d4, 0 );
9006  if (!SWIG_IsOK(res2)) {
9007  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d4_deepcopy" "', argument " "2"" of type '" "a_block_2d4 const &""'");
9008  }
9009  if (!argp2) {
9010  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d4_deepcopy" "', argument " "2"" of type '" "a_block_2d4 const &""'");
9011  }
9012  arg2 = reinterpret_cast< a_block_2d4 * >(argp2);
9013  (arg1)->deepcopy((a_block_2d4 const &)*arg2);
9014 
9015  return TCL_OK;
9016 fail:
9017  return TCL_ERROR;
9018 }
9019 
9020 
9021 SWIGINTERN int
9022 _wrap_a_block_2d4_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9023  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
9024  double arg2 ;
9025  void *argp1 = 0 ;
9026  int res1 = 0 ;
9027  double val2 ;
9028  int ecode2 = 0 ;
9029 
9030  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d4_thickness self thickness ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9031  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
9032  if (!SWIG_IsOK(res1)) {
9033  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_thickness" "', argument " "1"" of type '" "a_block_2d4 *""'");
9034  }
9035  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9036  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9037  if (!SWIG_IsOK(ecode2)) {
9038  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d4_thickness" "', argument " "2"" of type '" "double""'");
9039  }
9040  arg2 = static_cast< double >(val2);
9041  (arg1)->thickness(arg2);
9042 
9043  return TCL_OK;
9044 fail:
9045  return TCL_ERROR;
9046 }
9047 
9048 
9049 SWIGINTERN int
9050 _wrap_a_block_2d4_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9051  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
9052  void *argp1 = 0 ;
9053  int res1 = 0 ;
9054  double result;
9055 
9056  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d4_thickness self ",(void *)0) == TCL_ERROR) SWIG_fail;
9057  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
9058  if (!SWIG_IsOK(res1)) {
9059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_thickness" "', argument " "1"" of type '" "a_block_2d4 const *""'");
9060  }
9061  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9062  result = (double)((a_block_2d4 const *)arg1)->thickness();
9063  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
9064  return TCL_OK;
9065 fail:
9066  return TCL_ERROR;
9067 }
9068 
9069 
9070 SWIGINTERN int
9071 _wrap_a_block_2d4_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9072  Tcl_Obj *CONST *argv = objv+1;
9073  int argc = objc-1;
9074  if (argc == 1) {
9075  int _v;
9076  void *vptr = 0;
9077  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d4, 0);
9078  _v = SWIG_CheckState(res);
9079  if (_v) {
9080  return _wrap_a_block_2d4_thickness__SWIG_1(clientData, interp, objc, argv - 1);
9081  }
9082  }
9083  if (argc == 2) {
9084  int _v;
9085  void *vptr = 0;
9086  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d4, 0);
9087  _v = SWIG_CheckState(res);
9088  if (_v) {
9089  {
9090  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
9091  _v = SWIG_CheckState(res);
9092  }
9093  if (_v) {
9094  return _wrap_a_block_2d4_thickness__SWIG_0(clientData, interp, objc, argv - 1);
9095  }
9096  }
9097  }
9098 
9099  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_2d4_thickness'.\n"
9100  " Possible C/C++ prototypes are:\n"
9101  " a_block_2d4::thickness(double const)\n"
9102  " a_block_2d4::thickness() const\n", TCL_STATIC);
9103  return TCL_ERROR;
9104 }
9105 
9106 
9107 SWIGINTERN int
9108 _wrap_a_block_2d4_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9109  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
9110  void *argp1 = 0 ;
9111  int res1 = 0 ;
9112  a_point result;
9113 
9114  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d4_normal self ",(void *)0) == TCL_ERROR) SWIG_fail;
9115  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
9116  if (!SWIG_IsOK(res1)) {
9117  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_normal" "', argument " "1"" of type '" "a_block_2d4 const *""'");
9118  }
9119  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9120  result = ((a_block_2d4 const *)arg1)->normal();
9121  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9122  return TCL_OK;
9123 fail:
9124  return TCL_ERROR;
9125 }
9126 
9127 
9128 SWIGINTERN int
9129 _wrap_a_block_2d4_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9130  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
9131  int arg2 ;
9132  void *argp1 = 0 ;
9133  int res1 = 0 ;
9134  int val2 ;
9135  int ecode2 = 0 ;
9136  a_point result;
9137 
9138  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d4_v3d self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9139  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, 0 | 0 );
9140  if (!SWIG_IsOK(res1)) {
9141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d4_v3d" "', argument " "1"" of type '" "a_block_2d4 const *""'");
9142  }
9143  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9144  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9145  if (!SWIG_IsOK(ecode2)) {
9146  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d4_v3d" "', argument " "2"" of type '" "int""'");
9147  }
9148  arg2 = static_cast< int >(val2);
9149  result = ((a_block_2d4 const *)arg1)->v3d(arg2);
9150  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9151  return TCL_OK;
9152 fail:
9153  return TCL_ERROR;
9154 }
9155 
9156 
9157 SWIGINTERN int
9158 _wrap_delete_a_block_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9159  a_block_2d4 *arg1 = (a_block_2d4 *) 0 ;
9160  void *argp1 = 0 ;
9161  int res1 = 0 ;
9162 
9163  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_block_2d4 self ",(void *)0) == TCL_ERROR) SWIG_fail;
9164  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d4, SWIG_POINTER_DISOWN | 0 );
9165  if (!SWIG_IsOK(res1)) {
9166  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_block_2d4" "', argument " "1"" of type '" "a_block_2d4 *""'");
9167  }
9168  arg1 = reinterpret_cast< a_block_2d4 * >(argp1);
9169  delete arg1;
9170 
9171  return TCL_OK;
9172 fail:
9173  return TCL_ERROR;
9174 }
9175 
9176 
9178 a_block_2d4 *arg1 = (a_block_2d4 *) obj;
9179 delete arg1;
9180 }
9182  {"copy", _wrap_a_block_2d4_copy},
9183  {"deepcopy", _wrap_a_block_2d4_deepcopy},
9184  {"thickness", _wrap_a_block_2d4_thickness},
9185  {"normal", _wrap_a_block_2d4_normal},
9186  {"v3d", _wrap_a_block_2d4_v3d},
9187  {0,0}
9188 };
9190  {0,0,0}
9191 };
9193 static const char * swig_a_block_2d4_base_names[] = {"a_block *",0};
9195 SWIGINTERN int
9196 _wrap_cb_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9197  a_block *arg1 = (a_block *) 0 ;
9198  void *argp1 = 0 ;
9199  int res1 = 0 ;
9200  a_block_2d4 *result = 0 ;
9201 
9202  if (SWIG_GetArgs(interp, objc, objv,"o:cb_2d4 b ",(void *)0) == TCL_ERROR) SWIG_fail;
9203  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
9204  if (!SWIG_IsOK(res1)) {
9205  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cb_2d4" "', argument " "1"" of type '" "a_block *""'");
9206  }
9207  arg1 = reinterpret_cast< a_block * >(argp1);
9208  result = (a_block_2d4 *)cb_2d4(arg1);
9209  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d4,0));
9210  return TCL_OK;
9211 fail:
9212  return TCL_ERROR;
9213 }
9214 
9215 
9216 SWIGINTERN int
9217 _wrap_new_a_block_2d5__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9218  a_block_2d5 *result = 0 ;
9219 
9220  if (SWIG_GetArgs(interp, objc, objv,":new_a_block_2d5 ") == TCL_ERROR) SWIG_fail;
9221  result = (a_block_2d5 *)new a_block_2d5();
9222  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d5,0));
9223  return TCL_OK;
9224 fail:
9225  return TCL_ERROR;
9226 }
9227 
9228 
9229 SWIGINTERN int
9230 _wrap_new_a_block_2d5__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9231  a_point *arg1 = (a_point *) 0 ;
9232  a_point *arg2 = (a_point *) 0 ;
9233  a_point *arg3 = (a_point *) 0 ;
9234  a_point *arg4 = (a_point *) 0 ;
9235  a_point *arg5 = (a_point *) 0 ;
9236  double arg6 ;
9237  void *argp1 = 0 ;
9238  int res1 = 0 ;
9239  void *argp2 = 0 ;
9240  int res2 = 0 ;
9241  void *argp3 = 0 ;
9242  int res3 = 0 ;
9243  void *argp4 = 0 ;
9244  int res4 = 0 ;
9245  void *argp5 = 0 ;
9246  int res5 = 0 ;
9247  double val6 ;
9248  int ecode6 = 0 ;
9249  a_block_2d5 *result = 0 ;
9250 
9251  if (SWIG_GetArgs(interp, objc, objv,"oooooo:new_a_block_2d5 p1 p2 p3 p4 p5 thickness ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9252  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
9253  if (!SWIG_IsOK(res1)) {
9254  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d5" "', argument " "1"" of type '" "a_point *""'");
9255  }
9256  arg1 = reinterpret_cast< a_point * >(argp1);
9257  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
9258  if (!SWIG_IsOK(res2)) {
9259  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d5" "', argument " "2"" of type '" "a_point *""'");
9260  }
9261  arg2 = reinterpret_cast< a_point * >(argp2);
9262  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
9263  if (!SWIG_IsOK(res3)) {
9264  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d5" "', argument " "3"" of type '" "a_point *""'");
9265  }
9266  arg3 = reinterpret_cast< a_point * >(argp3);
9267  res4 = SWIG_ConvertPtr(objv[4], &argp4,SWIGTYPE_p_a_point, 0 | 0 );
9268  if (!SWIG_IsOK(res4)) {
9269  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_a_block_2d5" "', argument " "4"" of type '" "a_point *""'");
9270  }
9271  arg4 = reinterpret_cast< a_point * >(argp4);
9272  res5 = SWIG_ConvertPtr(objv[5], &argp5,SWIGTYPE_p_a_point, 0 | 0 );
9273  if (!SWIG_IsOK(res5)) {
9274  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_a_block_2d5" "', argument " "5"" of type '" "a_point *""'");
9275  }
9276  arg5 = reinterpret_cast< a_point * >(argp5);
9277  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
9278  if (!SWIG_IsOK(ecode6)) {
9279  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_a_block_2d5" "', argument " "6"" of type '" "double""'");
9280  }
9281  arg6 = static_cast< double >(val6);
9282  result = (a_block_2d5 *)new a_block_2d5(arg1,arg2,arg3,arg4,arg5,arg6);
9283  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d5,0));
9284  return TCL_OK;
9285 fail:
9286  return TCL_ERROR;
9287 }
9288 
9289 
9290 SWIGINTERN int
9291 _wrap_new_a_block_2d5__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9292  a_point *arg1 = (a_point *) 0 ;
9293  a_point *arg2 = (a_point *) 0 ;
9294  a_point *arg3 = (a_point *) 0 ;
9295  a_point *arg4 = (a_point *) 0 ;
9296  a_point *arg5 = (a_point *) 0 ;
9297  void *argp1 = 0 ;
9298  int res1 = 0 ;
9299  void *argp2 = 0 ;
9300  int res2 = 0 ;
9301  void *argp3 = 0 ;
9302  int res3 = 0 ;
9303  void *argp4 = 0 ;
9304  int res4 = 0 ;
9305  void *argp5 = 0 ;
9306  int res5 = 0 ;
9307  a_block_2d5 *result = 0 ;
9308 
9309  if (SWIG_GetArgs(interp, objc, objv,"ooooo:new_a_block_2d5 p1 p2 p3 p4 p5 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9310  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_point, 0 | 0 );
9311  if (!SWIG_IsOK(res1)) {
9312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_a_block_2d5" "', argument " "1"" of type '" "a_point *""'");
9313  }
9314  arg1 = reinterpret_cast< a_point * >(argp1);
9315  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_point, 0 | 0 );
9316  if (!SWIG_IsOK(res2)) {
9317  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_a_block_2d5" "', argument " "2"" of type '" "a_point *""'");
9318  }
9319  arg2 = reinterpret_cast< a_point * >(argp2);
9320  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_a_point, 0 | 0 );
9321  if (!SWIG_IsOK(res3)) {
9322  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_block_2d5" "', argument " "3"" of type '" "a_point *""'");
9323  }
9324  arg3 = reinterpret_cast< a_point * >(argp3);
9325  res4 = SWIG_ConvertPtr(objv[4], &argp4,SWIGTYPE_p_a_point, 0 | 0 );
9326  if (!SWIG_IsOK(res4)) {
9327  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_a_block_2d5" "', argument " "4"" of type '" "a_point *""'");
9328  }
9329  arg4 = reinterpret_cast< a_point * >(argp4);
9330  res5 = SWIG_ConvertPtr(objv[5], &argp5,SWIGTYPE_p_a_point, 0 | 0 );
9331  if (!SWIG_IsOK(res5)) {
9332  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_a_block_2d5" "', argument " "5"" of type '" "a_point *""'");
9333  }
9334  arg5 = reinterpret_cast< a_point * >(argp5);
9335  result = (a_block_2d5 *)new a_block_2d5(arg1,arg2,arg3,arg4,arg5);
9336  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d5,0));
9337  return TCL_OK;
9338 fail:
9339  return TCL_ERROR;
9340 }
9341 
9342 
9343 SWIGINTERN int
9344 _wrap_new_a_block_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9345  Tcl_Obj *CONST *argv = objv+1;
9346  int argc = objc-1;
9347  if (argc == 0) {
9348  return _wrap_new_a_block_2d5__SWIG_0(clientData, interp, objc, argv - 1);
9349  }
9350  if (argc == 5) {
9351  int _v;
9352  void *vptr = 0;
9353  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
9354  _v = SWIG_CheckState(res);
9355  if (_v) {
9356  void *vptr = 0;
9357  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
9358  _v = SWIG_CheckState(res);
9359  if (_v) {
9360  void *vptr = 0;
9361  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
9362  _v = SWIG_CheckState(res);
9363  if (_v) {
9364  void *vptr = 0;
9365  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_point, 0);
9366  _v = SWIG_CheckState(res);
9367  if (_v) {
9368  void *vptr = 0;
9369  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_a_point, 0);
9370  _v = SWIG_CheckState(res);
9371  if (_v) {
9372  return _wrap_new_a_block_2d5__SWIG_2(clientData, interp, objc, argv - 1);
9373  }
9374  }
9375  }
9376  }
9377  }
9378  }
9379  if (argc == 6) {
9380  int _v;
9381  void *vptr = 0;
9382  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_point, 0);
9383  _v = SWIG_CheckState(res);
9384  if (_v) {
9385  void *vptr = 0;
9386  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, 0);
9387  _v = SWIG_CheckState(res);
9388  if (_v) {
9389  void *vptr = 0;
9390  int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_a_point, 0);
9391  _v = SWIG_CheckState(res);
9392  if (_v) {
9393  void *vptr = 0;
9394  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_point, 0);
9395  _v = SWIG_CheckState(res);
9396  if (_v) {
9397  void *vptr = 0;
9398  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_a_point, 0);
9399  _v = SWIG_CheckState(res);
9400  if (_v) {
9401  {
9402  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
9403  _v = SWIG_CheckState(res);
9404  }
9405  if (_v) {
9406  return _wrap_new_a_block_2d5__SWIG_1(clientData, interp, objc, argv - 1);
9407  }
9408  }
9409  }
9410  }
9411  }
9412  }
9413  }
9414 
9415  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'new_a_block_2d5'.\n"
9416  " Possible C/C++ prototypes are:\n"
9417  " a_block_2d5::a_block_2d5()\n"
9418  " a_block_2d5::a_block_2d5(a_point *,a_point *,a_point *,a_point *,a_point *,double)\n"
9419  " a_block_2d5::a_block_2d5(a_point *,a_point *,a_point *,a_point *,a_point *)\n", TCL_STATIC);
9420  return TCL_ERROR;
9421 }
9422 
9423 
9424 SWIGINTERN int
9425 _wrap_a_block_2d5_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9426  std::string result;
9427 
9428  if (SWIG_GetArgs(interp, objc, objv,":a_block_2d5_help ") == TCL_ERROR) SWIG_fail;
9429  result = a_block_2d5::help();
9430  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
9431  return TCL_OK;
9432 fail:
9433  return TCL_ERROR;
9434 }
9435 
9436 
9437 SWIGINTERN int
9438 _wrap_a_block_2d5_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9439  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9440  a_block_2d5 *arg2 = 0 ;
9441  void *argp1 = 0 ;
9442  int res1 = 0 ;
9443  void *argp2 ;
9444  int res2 = 0 ;
9445 
9446  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d5_copy self a_block_2d5 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9447  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9448  if (!SWIG_IsOK(res1)) {
9449  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_copy" "', argument " "1"" of type '" "a_block_2d5 *""'");
9450  }
9451  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9452  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d5, 0 );
9453  if (!SWIG_IsOK(res2)) {
9454  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d5_copy" "', argument " "2"" of type '" "a_block_2d5 const &""'");
9455  }
9456  if (!argp2) {
9457  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d5_copy" "', argument " "2"" of type '" "a_block_2d5 const &""'");
9458  }
9459  arg2 = reinterpret_cast< a_block_2d5 * >(argp2);
9460  (arg1)->copy((a_block_2d5 const &)*arg2);
9461 
9462  return TCL_OK;
9463 fail:
9464  return TCL_ERROR;
9465 }
9466 
9467 
9468 SWIGINTERN int
9469 _wrap_a_block_2d5_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9470  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9471  a_block_2d5 *arg2 = 0 ;
9472  void *argp1 = 0 ;
9473  int res1 = 0 ;
9474  void *argp2 ;
9475  int res2 = 0 ;
9476 
9477  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d5_deepcopy self a_block_2d5 const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9478  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9479  if (!SWIG_IsOK(res1)) {
9480  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_deepcopy" "', argument " "1"" of type '" "a_block_2d5 *""'");
9481  }
9482  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9483  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_block_2d5, 0 );
9484  if (!SWIG_IsOK(res2)) {
9485  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_block_2d5_deepcopy" "', argument " "2"" of type '" "a_block_2d5 const &""'");
9486  }
9487  if (!argp2) {
9488  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_block_2d5_deepcopy" "', argument " "2"" of type '" "a_block_2d5 const &""'");
9489  }
9490  arg2 = reinterpret_cast< a_block_2d5 * >(argp2);
9491  (arg1)->deepcopy((a_block_2d5 const &)*arg2);
9492 
9493  return TCL_OK;
9494 fail:
9495  return TCL_ERROR;
9496 }
9497 
9498 
9499 SWIGINTERN int
9500 _wrap_a_block_2d5_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9501  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9502  double arg2 ;
9503  void *argp1 = 0 ;
9504  int res1 = 0 ;
9505  double val2 ;
9506  int ecode2 = 0 ;
9507 
9508  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d5_thickness self thickness ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9509  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9510  if (!SWIG_IsOK(res1)) {
9511  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_thickness" "', argument " "1"" of type '" "a_block_2d5 *""'");
9512  }
9513  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9514  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9515  if (!SWIG_IsOK(ecode2)) {
9516  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d5_thickness" "', argument " "2"" of type '" "double""'");
9517  }
9518  arg2 = static_cast< double >(val2);
9519  (arg1)->thickness(arg2);
9520 
9521  return TCL_OK;
9522 fail:
9523  return TCL_ERROR;
9524 }
9525 
9526 
9527 SWIGINTERN int
9528 _wrap_a_block_2d5_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9529  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9530  void *argp1 = 0 ;
9531  int res1 = 0 ;
9532  double result;
9533 
9534  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d5_thickness self ",(void *)0) == TCL_ERROR) SWIG_fail;
9535  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9536  if (!SWIG_IsOK(res1)) {
9537  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_thickness" "', argument " "1"" of type '" "a_block_2d5 const *""'");
9538  }
9539  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9540  result = (double)((a_block_2d5 const *)arg1)->thickness();
9541  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
9542  return TCL_OK;
9543 fail:
9544  return TCL_ERROR;
9545 }
9546 
9547 
9548 SWIGINTERN int
9549 _wrap_a_block_2d5_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9550  Tcl_Obj *CONST *argv = objv+1;
9551  int argc = objc-1;
9552  if (argc == 1) {
9553  int _v;
9554  void *vptr = 0;
9555  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d5, 0);
9556  _v = SWIG_CheckState(res);
9557  if (_v) {
9558  return _wrap_a_block_2d5_thickness__SWIG_1(clientData, interp, objc, argv - 1);
9559  }
9560  }
9561  if (argc == 2) {
9562  int _v;
9563  void *vptr = 0;
9564  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_block_2d5, 0);
9565  _v = SWIG_CheckState(res);
9566  if (_v) {
9567  {
9568  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
9569  _v = SWIG_CheckState(res);
9570  }
9571  if (_v) {
9572  return _wrap_a_block_2d5_thickness__SWIG_0(clientData, interp, objc, argv - 1);
9573  }
9574  }
9575  }
9576 
9577  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_block_2d5_thickness'.\n"
9578  " Possible C/C++ prototypes are:\n"
9579  " a_block_2d5::thickness(double const)\n"
9580  " a_block_2d5::thickness() const\n", TCL_STATIC);
9581  return TCL_ERROR;
9582 }
9583 
9584 
9585 SWIGINTERN int
9586 _wrap_a_block_2d5_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9587  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9588  void *argp1 = 0 ;
9589  int res1 = 0 ;
9590  a_point result;
9591 
9592  if (SWIG_GetArgs(interp, objc, objv,"o:a_block_2d5_normal self ",(void *)0) == TCL_ERROR) SWIG_fail;
9593  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9594  if (!SWIG_IsOK(res1)) {
9595  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_normal" "', argument " "1"" of type '" "a_block_2d5 const *""'");
9596  }
9597  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9598  result = ((a_block_2d5 const *)arg1)->normal();
9599  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9600  return TCL_OK;
9601 fail:
9602  return TCL_ERROR;
9603 }
9604 
9605 
9606 SWIGINTERN int
9607 _wrap_a_block_2d5_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9608  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9609  int arg2 ;
9610  void *argp1 = 0 ;
9611  int res1 = 0 ;
9612  int val2 ;
9613  int ecode2 = 0 ;
9614  a_point result;
9615 
9616  if (SWIG_GetArgs(interp, objc, objv,"oo:a_block_2d5_v3d self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9617  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, 0 | 0 );
9618  if (!SWIG_IsOK(res1)) {
9619  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_block_2d5_v3d" "', argument " "1"" of type '" "a_block_2d5 const *""'");
9620  }
9621  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9622  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9623  if (!SWIG_IsOK(ecode2)) {
9624  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_block_2d5_v3d" "', argument " "2"" of type '" "int""'");
9625  }
9626  arg2 = static_cast< int >(val2);
9627  result = ((a_block_2d5 const *)arg1)->v3d(arg2);
9628  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9629  return TCL_OK;
9630 fail:
9631  return TCL_ERROR;
9632 }
9633 
9634 
9635 SWIGINTERN int
9636 _wrap_delete_a_block_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9637  a_block_2d5 *arg1 = (a_block_2d5 *) 0 ;
9638  void *argp1 = 0 ;
9639  int res1 = 0 ;
9640 
9641  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_block_2d5 self ",(void *)0) == TCL_ERROR) SWIG_fail;
9642  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block_2d5, SWIG_POINTER_DISOWN | 0 );
9643  if (!SWIG_IsOK(res1)) {
9644  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_block_2d5" "', argument " "1"" of type '" "a_block_2d5 *""'");
9645  }
9646  arg1 = reinterpret_cast< a_block_2d5 * >(argp1);
9647  delete arg1;
9648 
9649  return TCL_OK;
9650 fail:
9651  return TCL_ERROR;
9652 }
9653 
9654 
9656 a_block_2d5 *arg1 = (a_block_2d5 *) obj;
9657 delete arg1;
9658 }
9660  {"copy", _wrap_a_block_2d5_copy},
9661  {"deepcopy", _wrap_a_block_2d5_deepcopy},
9662  {"thickness", _wrap_a_block_2d5_thickness},
9663  {"normal", _wrap_a_block_2d5_normal},
9664  {"v3d", _wrap_a_block_2d5_v3d},
9665  {0,0}
9666 };
9668  {0,0,0}
9669 };
9671 static const char * swig_a_block_2d5_base_names[] = {"a_block *",0};
9673 SWIGINTERN int
9674 _wrap_cb_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9675  a_block *arg1 = (a_block *) 0 ;
9676  void *argp1 = 0 ;
9677  int res1 = 0 ;
9678  a_block_2d5 *result = 0 ;
9679 
9680  if (SWIG_GetArgs(interp, objc, objv,"o:cb_2d5 b ",(void *)0) == TCL_ERROR) SWIG_fail;
9681  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_block, 0 | 0 );
9682  if (!SWIG_IsOK(res1)) {
9683  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cb_2d5" "', argument " "1"" of type '" "a_block *""'");
9684  }
9685  arg1 = reinterpret_cast< a_block * >(argp1);
9686  result = (a_block_2d5 *)cb_2d5(arg1);
9687  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block_2d5,0));
9688  return TCL_OK;
9689 fail:
9690  return TCL_ERROR;
9691 }
9692 
9693 
9694 SWIGINTERN int
9695 _wrap_a_face_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9696  std::string result;
9697 
9698  if (SWIG_GetArgs(interp, objc, objv,":a_face_help ") == TCL_ERROR) SWIG_fail;
9699  result = a_face::help();
9700  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
9701  return TCL_OK;
9702 fail:
9703  return TCL_ERROR;
9704 }
9705 
9706 
9707 SWIGINTERN int
9708 _wrap_a_face_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9709  a_face *arg1 = (a_face *) 0 ;
9710  void *argp1 = 0 ;
9711  int res1 = 0 ;
9712  int result;
9713 
9714  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_nv self ",(void *)0) == TCL_ERROR) SWIG_fail;
9715  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9716  if (!SWIG_IsOK(res1)) {
9717  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_nv" "', argument " "1"" of type '" "a_face const *""'");
9718  }
9719  arg1 = reinterpret_cast< a_face * >(argp1);
9720  result = (int)((a_face const *)arg1)->nv();
9721  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
9722  return TCL_OK;
9723 fail:
9724  return TCL_ERROR;
9725 }
9726 
9727 
9728 SWIGINTERN int
9729 _wrap_a_face_av(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9730  a_face *arg1 = (a_face *) 0 ;
9731  int arg2 ;
9732  void *argp1 = 0 ;
9733  int res1 = 0 ;
9734  int val2 ;
9735  int ecode2 = 0 ;
9736 
9737  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_av self ref ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9738  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9739  if (!SWIG_IsOK(res1)) {
9740  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_av" "', argument " "1"" of type '" "a_face *""'");
9741  }
9742  arg1 = reinterpret_cast< a_face * >(argp1);
9743  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9744  if (!SWIG_IsOK(ecode2)) {
9745  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_av" "', argument " "2"" of type '" "int""'");
9746  }
9747  arg2 = static_cast< int >(val2);
9748  (arg1)->av(arg2);
9749 
9750  return TCL_OK;
9751 fail:
9752  return TCL_ERROR;
9753 }
9754 
9755 
9756 SWIGINTERN int
9757 _wrap_a_face_rv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9758  a_face *arg1 = (a_face *) 0 ;
9759  int arg2 ;
9760  void *argp1 = 0 ;
9761  int res1 = 0 ;
9762  int val2 ;
9763  int ecode2 = 0 ;
9764  int result;
9765 
9766  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_rv self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9767  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9768  if (!SWIG_IsOK(res1)) {
9769  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_rv" "', argument " "1"" of type '" "a_face const *""'");
9770  }
9771  arg1 = reinterpret_cast< a_face * >(argp1);
9772  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9773  if (!SWIG_IsOK(ecode2)) {
9774  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_rv" "', argument " "2"" of type '" "int""'");
9775  }
9776  arg2 = static_cast< int >(val2);
9777  result = (int)((a_face const *)arg1)->rv(arg2);
9778  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
9779  return TCL_OK;
9780 fail:
9781  return TCL_ERROR;
9782 }
9783 
9784 
9785 SWIGINTERN int
9786 _wrap_a_face_rf(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9787  a_face *arg1 = (a_face *) 0 ;
9788  void *argp1 = 0 ;
9789  int res1 = 0 ;
9790  int result;
9791 
9792  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_rf self ",(void *)0) == TCL_ERROR) SWIG_fail;
9793  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9794  if (!SWIG_IsOK(res1)) {
9795  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_rf" "', argument " "1"" of type '" "a_face const *""'");
9796  }
9797  arg1 = reinterpret_cast< a_face * >(argp1);
9798  result = (int)((a_face const *)arg1)->rf();
9799  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
9800  return TCL_OK;
9801 fail:
9802  return TCL_ERROR;
9803 }
9804 
9805 
9806 SWIGINTERN int
9807 _wrap_a_face_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9808  a_face *arg1 = (a_face *) 0 ;
9809  void *argp1 = 0 ;
9810  int res1 = 0 ;
9811  a_block *result = 0 ;
9812 
9813  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_block self ",(void *)0) == TCL_ERROR) SWIG_fail;
9814  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9815  if (!SWIG_IsOK(res1)) {
9816  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_block" "', argument " "1"" of type '" "a_face *""'");
9817  }
9818  arg1 = reinterpret_cast< a_face * >(argp1);
9819  result = (a_block *)(arg1)->block();
9820  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block,0));
9821  return TCL_OK;
9822 fail:
9823  return TCL_ERROR;
9824 }
9825 
9826 
9827 SWIGINTERN int
9828 _wrap_a_face_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9829  a_face *arg1 = (a_face *) 0 ;
9830  int arg2 ;
9831  void *argp1 = 0 ;
9832  int res1 = 0 ;
9833  int val2 ;
9834  int ecode2 = 0 ;
9835  a_point result;
9836 
9837  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_v self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9838  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9839  if (!SWIG_IsOK(res1)) {
9840  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_v" "', argument " "1"" of type '" "a_face *""'");
9841  }
9842  arg1 = reinterpret_cast< a_face * >(argp1);
9843  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9844  if (!SWIG_IsOK(ecode2)) {
9845  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_v" "', argument " "2"" of type '" "int""'");
9846  }
9847  arg2 = static_cast< int >(val2);
9848  result = (arg1)->v(arg2);
9849  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9850  return TCL_OK;
9851 fail:
9852  return TCL_ERROR;
9853 }
9854 
9855 
9856 SWIGINTERN int
9857 _wrap_a_face_vl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9858  a_face *arg1 = (a_face *) 0 ;
9859  int arg2 ;
9860  void *argp1 = 0 ;
9861  int res1 = 0 ;
9862  int val2 ;
9863  int ecode2 = 0 ;
9864  a_point *result = 0 ;
9865 
9866  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_vl self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9867  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9868  if (!SWIG_IsOK(res1)) {
9869  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_vl" "', argument " "1"" of type '" "a_face *""'");
9870  }
9871  arg1 = reinterpret_cast< a_face * >(argp1);
9872  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9873  if (!SWIG_IsOK(ecode2)) {
9874  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_vl" "', argument " "2"" of type '" "int""'");
9875  }
9876  arg2 = static_cast< int >(val2);
9877  result = (a_point *)(arg1)->vl(arg2);
9878  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_point,0));
9879  return TCL_OK;
9880 fail:
9881  return TCL_ERROR;
9882 }
9883 
9884 
9885 SWIGINTERN int
9886 _wrap_a_face_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9887  a_face *arg1 = (a_face *) 0 ;
9888  void *argp1 = 0 ;
9889  int res1 = 0 ;
9890  a_point result;
9891 
9892  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_c self ",(void *)0) == TCL_ERROR) SWIG_fail;
9893  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9894  if (!SWIG_IsOK(res1)) {
9895  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_c" "', argument " "1"" of type '" "a_face const *""'");
9896  }
9897  arg1 = reinterpret_cast< a_face * >(argp1);
9898  result = ((a_face const *)arg1)->c();
9899  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9900  return TCL_OK;
9901 fail:
9902  return TCL_ERROR;
9903 }
9904 
9905 
9906 SWIGINTERN int
9907 _wrap_a_face_cl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9908  a_face *arg1 = (a_face *) 0 ;
9909  void *argp1 = 0 ;
9910  int res1 = 0 ;
9911  a_point result;
9912 
9913  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_cl self ",(void *)0) == TCL_ERROR) SWIG_fail;
9914  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9915  if (!SWIG_IsOK(res1)) {
9916  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_cl" "', argument " "1"" of type '" "a_face const *""'");
9917  }
9918  arg1 = reinterpret_cast< a_face * >(argp1);
9919  result = ((a_face const *)arg1)->cl();
9920  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9921  return TCL_OK;
9922 fail:
9923  return TCL_ERROR;
9924 }
9925 
9926 
9927 SWIGINTERN int
9928 _wrap_a_face_grow(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9929  a_face *arg1 = (a_face *) 0 ;
9930  double *arg2 = 0 ;
9931  void *argp1 = 0 ;
9932  int res1 = 0 ;
9933  double temp2 ;
9934  double val2 ;
9935  int ecode2 = 0 ;
9936 
9937  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_grow self val ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9938  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9939  if (!SWIG_IsOK(res1)) {
9940  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_grow" "', argument " "1"" of type '" "a_face *""'");
9941  }
9942  arg1 = reinterpret_cast< a_face * >(argp1);
9943  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9944  if (!SWIG_IsOK(ecode2)) {
9945  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_grow" "', argument " "2"" of type '" "double""'");
9946  }
9947  temp2 = static_cast< double >(val2);
9948  arg2 = &temp2;
9949  (arg1)->grow((double const &)*arg2);
9950 
9951  return TCL_OK;
9952 fail:
9953  return TCL_ERROR;
9954 }
9955 
9956 
9957 SWIGINTERN int
9958 _wrap_a_face_normale(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9959  a_face *arg1 = (a_face *) 0 ;
9960  unsigned short arg2 ;
9961  void *argp1 = 0 ;
9962  int res1 = 0 ;
9963  unsigned short val2 ;
9964  int ecode2 = 0 ;
9965  a_point result;
9966 
9967  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_normale self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
9968  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
9969  if (!SWIG_IsOK(res1)) {
9970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_normale" "', argument " "1"" of type '" "a_face *""'");
9971  }
9972  arg1 = reinterpret_cast< a_face * >(argp1);
9973  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
9974  if (!SWIG_IsOK(ecode2)) {
9975  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_normale" "', argument " "2"" of type '" "unsigned short""'");
9976  }
9977  arg2 = static_cast< unsigned short >(val2);
9978  result = (arg1)->normale(arg2);
9979  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
9980  return TCL_OK;
9981 fail:
9982  return TCL_ERROR;
9983 }
9984 
9985 
9986 SWIGINTERN int
9987 _wrap_a_face_point__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
9988  a_face *arg1 = (a_face *) 0 ;
9989  double *arg2 = 0 ;
9990  double *arg3 = 0 ;
9991  void *argp1 = 0 ;
9992  int res1 = 0 ;
9993  double temp2 ;
9994  double val2 ;
9995  int ecode2 = 0 ;
9996  double temp3 ;
9997  double val3 ;
9998  int ecode3 = 0 ;
9999  a_point result;
10000 
10001  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_face_point self u v ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10002  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10003  if (!SWIG_IsOK(res1)) {
10004  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_point" "', argument " "1"" of type '" "a_face const *""'");
10005  }
10006  arg1 = reinterpret_cast< a_face * >(argp1);
10007  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
10008  if (!SWIG_IsOK(ecode2)) {
10009  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_point" "', argument " "2"" of type '" "double""'");
10010  }
10011  temp2 = static_cast< double >(val2);
10012  arg2 = &temp2;
10013  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
10014  if (!SWIG_IsOK(ecode3)) {
10015  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_face_point" "', argument " "3"" of type '" "double""'");
10016  }
10017  temp3 = static_cast< double >(val3);
10018  arg3 = &temp3;
10019  result = ((a_face const *)arg1)->point((double const &)*arg2,(double const &)*arg3);
10020  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10021  return TCL_OK;
10022 fail:
10023  return TCL_ERROR;
10024 }
10025 
10026 
10027 SWIGINTERN int
10028 _wrap_a_face_point__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10029  a_face *arg1 = (a_face *) 0 ;
10030  double *arg2 = 0 ;
10031  void *argp1 = 0 ;
10032  int res1 = 0 ;
10033  double temp2 ;
10034  double val2 ;
10035  int ecode2 = 0 ;
10036  a_point result;
10037 
10038  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_point self u ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10039  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10040  if (!SWIG_IsOK(res1)) {
10041  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_point" "', argument " "1"" of type '" "a_face const *""'");
10042  }
10043  arg1 = reinterpret_cast< a_face * >(argp1);
10044  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
10045  if (!SWIG_IsOK(ecode2)) {
10046  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_point" "', argument " "2"" of type '" "double""'");
10047  }
10048  temp2 = static_cast< double >(val2);
10049  arg2 = &temp2;
10050  result = ((a_face const *)arg1)->point((double const &)*arg2);
10051  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10052  return TCL_OK;
10053 fail:
10054  return TCL_ERROR;
10055 }
10056 
10057 
10058 SWIGINTERN int
10059 _wrap_a_face_point(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10060  Tcl_Obj *CONST *argv = objv+1;
10061  int argc = objc-1;
10062  if (argc == 2) {
10063  int _v;
10064  void *vptr = 0;
10065  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10066  _v = SWIG_CheckState(res);
10067  if (_v) {
10068  {
10069  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
10070  _v = SWIG_CheckState(res);
10071  }
10072  if (_v) {
10073  return _wrap_a_face_point__SWIG_1(clientData, interp, objc, argv - 1);
10074  }
10075  }
10076  }
10077  if (argc == 3) {
10078  int _v;
10079  void *vptr = 0;
10080  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10081  _v = SWIG_CheckState(res);
10082  if (_v) {
10083  {
10084  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
10085  _v = SWIG_CheckState(res);
10086  }
10087  if (_v) {
10088  {
10089  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
10090  _v = SWIG_CheckState(res);
10091  }
10092  if (_v) {
10093  return _wrap_a_face_point__SWIG_0(clientData, interp, objc, argv - 1);
10094  }
10095  }
10096  }
10097  }
10098 
10099  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_point'.\n"
10100  " Possible C/C++ prototypes are:\n"
10101  " a_face::point(double const &,double const &) const\n"
10102  " a_face::point(double const &) const\n", TCL_STATIC);
10103  return TCL_ERROR;
10104 }
10105 
10106 
10107 SWIGINTERN int
10108 _wrap_a_face_slide(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10109  a_face *arg1 = (a_face *) 0 ;
10110  double *arg2 = 0 ;
10111  double *arg3 = 0 ;
10112  void *argp1 = 0 ;
10113  int res1 = 0 ;
10114  double temp2 ;
10115  double val2 ;
10116  int ecode2 = 0 ;
10117  double temp3 ;
10118  double val3 ;
10119  int ecode3 = 0 ;
10120 
10121  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_face_slide self u v ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10122  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10123  if (!SWIG_IsOK(res1)) {
10124  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_slide" "', argument " "1"" of type '" "a_face *""'");
10125  }
10126  arg1 = reinterpret_cast< a_face * >(argp1);
10127  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
10128  if (!SWIG_IsOK(ecode2)) {
10129  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_slide" "', argument " "2"" of type '" "double""'");
10130  }
10131  temp2 = static_cast< double >(val2);
10132  arg2 = &temp2;
10133  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
10134  if (!SWIG_IsOK(ecode3)) {
10135  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_face_slide" "', argument " "3"" of type '" "double""'");
10136  }
10137  temp3 = static_cast< double >(val3);
10138  arg3 = &temp3;
10139  (arg1)->slide((double const &)*arg2,(double const &)*arg3);
10140 
10141  return TCL_OK;
10142 fail:
10143  return TCL_ERROR;
10144 }
10145 
10146 
10147 SWIGINTERN int
10148 _wrap_a_face_deform(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10149  a_face *arg1 = (a_face *) 0 ;
10150  unsigned short *arg2 = 0 ;
10151  double *arg3 = 0 ;
10152  void *argp1 = 0 ;
10153  int res1 = 0 ;
10154  unsigned short temp2 ;
10155  unsigned short val2 ;
10156  int ecode2 = 0 ;
10157  double temp3 ;
10158  double val3 ;
10159  int ecode3 = 0 ;
10160 
10161  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_face_deform self i val ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10162  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10163  if (!SWIG_IsOK(res1)) {
10164  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_deform" "', argument " "1"" of type '" "a_face *""'");
10165  }
10166  arg1 = reinterpret_cast< a_face * >(argp1);
10167  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
10168  if (!SWIG_IsOK(ecode2)) {
10169  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_deform" "', argument " "2"" of type '" "unsigned short""'");
10170  }
10171  temp2 = static_cast< unsigned short >(val2);
10172  arg2 = &temp2;
10173  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
10174  if (!SWIG_IsOK(ecode3)) {
10175  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_face_deform" "', argument " "3"" of type '" "double""'");
10176  }
10177  temp3 = static_cast< double >(val3);
10178  arg3 = &temp3;
10179  (arg1)->deform((unsigned short const &)*arg2,(double const &)*arg3);
10180 
10181  return TCL_OK;
10182 fail:
10183  return TCL_ERROR;
10184 }
10185 
10186 
10187 SWIGINTERN int
10188 _wrap_a_face_nx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10189  a_face *arg1 = (a_face *) 0 ;
10190  void *argp1 = 0 ;
10191  int res1 = 0 ;
10192  a_point result;
10193 
10194  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_nx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10195  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10196  if (!SWIG_IsOK(res1)) {
10197  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_nx" "', argument " "1"" of type '" "a_face const *""'");
10198  }
10199  arg1 = reinterpret_cast< a_face * >(argp1);
10200  result = ((a_face const *)arg1)->nx();
10201  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10202  return TCL_OK;
10203 fail:
10204  return TCL_ERROR;
10205 }
10206 
10207 
10208 SWIGINTERN int
10209 _wrap_a_face_ny(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10210  a_face *arg1 = (a_face *) 0 ;
10211  void *argp1 = 0 ;
10212  int res1 = 0 ;
10213  a_point result;
10214 
10215  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_ny self ",(void *)0) == TCL_ERROR) SWIG_fail;
10216  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10217  if (!SWIG_IsOK(res1)) {
10218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_ny" "', argument " "1"" of type '" "a_face const *""'");
10219  }
10220  arg1 = reinterpret_cast< a_face * >(argp1);
10221  result = ((a_face const *)arg1)->ny();
10222  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10223  return TCL_OK;
10224 fail:
10225  return TCL_ERROR;
10226 }
10227 
10228 
10229 SWIGINTERN int
10230 _wrap_a_face_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10231  a_face *arg1 = (a_face *) 0 ;
10232  void *argp1 = 0 ;
10233  int res1 = 0 ;
10234  a_point result;
10235 
10236  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_normal self ",(void *)0) == TCL_ERROR) SWIG_fail;
10237  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10238  if (!SWIG_IsOK(res1)) {
10239  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_normal" "', argument " "1"" of type '" "a_face const *""'");
10240  }
10241  arg1 = reinterpret_cast< a_face * >(argp1);
10242  result = ((a_face const *)arg1)->normal();
10243  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10244  return TCL_OK;
10245 fail:
10246  return TCL_ERROR;
10247 }
10248 
10249 
10250 SWIGINTERN int
10251 _wrap_a_face_dxM(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10252  a_face *arg1 = (a_face *) 0 ;
10253  void *argp1 = 0 ;
10254  int res1 = 0 ;
10255  double result;
10256 
10257  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dxM self ",(void *)0) == TCL_ERROR) SWIG_fail;
10258  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10259  if (!SWIG_IsOK(res1)) {
10260  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dxM" "', argument " "1"" of type '" "a_face const *""'");
10261  }
10262  arg1 = reinterpret_cast< a_face * >(argp1);
10263  result = (double)((a_face const *)arg1)->dxM();
10264  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10265  return TCL_OK;
10266 fail:
10267  return TCL_ERROR;
10268 }
10269 
10270 
10271 SWIGINTERN int
10272 _wrap_a_face_dxm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10273  a_face *arg1 = (a_face *) 0 ;
10274  void *argp1 = 0 ;
10275  int res1 = 0 ;
10276  double result;
10277 
10278  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dxm self ",(void *)0) == TCL_ERROR) SWIG_fail;
10279  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10280  if (!SWIG_IsOK(res1)) {
10281  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dxm" "', argument " "1"" of type '" "a_face const *""'");
10282  }
10283  arg1 = reinterpret_cast< a_face * >(argp1);
10284  result = (double)((a_face const *)arg1)->dxm();
10285  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10286  return TCL_OK;
10287 fail:
10288  return TCL_ERROR;
10289 }
10290 
10291 
10292 SWIGINTERN int
10293 _wrap_a_face_dyM(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10294  a_face *arg1 = (a_face *) 0 ;
10295  void *argp1 = 0 ;
10296  int res1 = 0 ;
10297  double result;
10298 
10299  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dyM self ",(void *)0) == TCL_ERROR) SWIG_fail;
10300  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10301  if (!SWIG_IsOK(res1)) {
10302  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dyM" "', argument " "1"" of type '" "a_face const *""'");
10303  }
10304  arg1 = reinterpret_cast< a_face * >(argp1);
10305  result = (double)((a_face const *)arg1)->dyM();
10306  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10307  return TCL_OK;
10308 fail:
10309  return TCL_ERROR;
10310 }
10311 
10312 
10313 SWIGINTERN int
10314 _wrap_a_face_dym(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10315  a_face *arg1 = (a_face *) 0 ;
10316  void *argp1 = 0 ;
10317  int res1 = 0 ;
10318  double result;
10319 
10320  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dym self ",(void *)0) == TCL_ERROR) SWIG_fail;
10321  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10322  if (!SWIG_IsOK(res1)) {
10323  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dym" "', argument " "1"" of type '" "a_face const *""'");
10324  }
10325  arg1 = reinterpret_cast< a_face * >(argp1);
10326  result = (double)((a_face const *)arg1)->dym();
10327  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10328  return TCL_OK;
10329 fail:
10330  return TCL_ERROR;
10331 }
10332 
10333 
10334 SWIGINTERN int
10335 _wrap_a_face_dx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10336  a_face *arg1 = (a_face *) 0 ;
10337  void *argp1 = 0 ;
10338  int res1 = 0 ;
10339  double result;
10340 
10341  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10342  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10343  if (!SWIG_IsOK(res1)) {
10344  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dx" "', argument " "1"" of type '" "a_face const *""'");
10345  }
10346  arg1 = reinterpret_cast< a_face * >(argp1);
10347  result = (double)((a_face const *)arg1)->dx();
10348  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10349  return TCL_OK;
10350 fail:
10351  return TCL_ERROR;
10352 }
10353 
10354 
10355 SWIGINTERN int
10356 _wrap_a_face_dy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10357  a_face *arg1 = (a_face *) 0 ;
10358  void *argp1 = 0 ;
10359  int res1 = 0 ;
10360  double result;
10361 
10362  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_dy self ",(void *)0) == TCL_ERROR) SWIG_fail;
10363  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10364  if (!SWIG_IsOK(res1)) {
10365  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_dy" "', argument " "1"" of type '" "a_face const *""'");
10366  }
10367  arg1 = reinterpret_cast< a_face * >(argp1);
10368  result = (double)((a_face const *)arg1)->dy();
10369  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10370  return TCL_OK;
10371 fail:
10372  return TCL_ERROR;
10373 }
10374 
10375 
10376 SWIGINTERN int
10377 _wrap_a_face_S(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10378  a_face *arg1 = (a_face *) 0 ;
10379  void *argp1 = 0 ;
10380  int res1 = 0 ;
10381  double result;
10382 
10383  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_S self ",(void *)0) == TCL_ERROR) SWIG_fail;
10384  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10385  if (!SWIG_IsOK(res1)) {
10386  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_S" "', argument " "1"" of type '" "a_face const *""'");
10387  }
10388  arg1 = reinterpret_cast< a_face * >(argp1);
10389  result = (double)((a_face const *)arg1)->S();
10390  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10391  return TCL_OK;
10392 fail:
10393  return TCL_ERROR;
10394 }
10395 
10396 
10397 SWIGINTERN int
10398 _wrap_a_face_Sx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10399  a_face *arg1 = (a_face *) 0 ;
10400  void *argp1 = 0 ;
10401  int res1 = 0 ;
10402  double result;
10403 
10404  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Sx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10405  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10406  if (!SWIG_IsOK(res1)) {
10407  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Sx" "', argument " "1"" of type '" "a_face const *""'");
10408  }
10409  arg1 = reinterpret_cast< a_face * >(argp1);
10410  result = (double)((a_face const *)arg1)->Sx();
10411  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10412  return TCL_OK;
10413 fail:
10414  return TCL_ERROR;
10415 }
10416 
10417 
10418 SWIGINTERN int
10419 _wrap_a_face_Sy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10420  a_face *arg1 = (a_face *) 0 ;
10421  void *argp1 = 0 ;
10422  int res1 = 0 ;
10423  double result;
10424 
10425  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Sy self ",(void *)0) == TCL_ERROR) SWIG_fail;
10426  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10427  if (!SWIG_IsOK(res1)) {
10428  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Sy" "', argument " "1"" of type '" "a_face const *""'");
10429  }
10430  arg1 = reinterpret_cast< a_face * >(argp1);
10431  result = (double)((a_face const *)arg1)->Sy();
10432  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10433  return TCL_OK;
10434 fail:
10435  return TCL_ERROR;
10436 }
10437 
10438 
10439 SWIGINTERN int
10440 _wrap_a_face_Sz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10441  a_face *arg1 = (a_face *) 0 ;
10442  void *argp1 = 0 ;
10443  int res1 = 0 ;
10444  double result;
10445 
10446  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Sz self ",(void *)0) == TCL_ERROR) SWIG_fail;
10447  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10448  if (!SWIG_IsOK(res1)) {
10449  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Sz" "', argument " "1"" of type '" "a_face const *""'");
10450  }
10451  arg1 = reinterpret_cast< a_face * >(argp1);
10452  result = (double)((a_face const *)arg1)->Sz();
10453  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10454  return TCL_OK;
10455 fail:
10456  return TCL_ERROR;
10457 }
10458 
10459 
10460 SWIGINTERN int
10461 _wrap_a_face_N__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10462  a_face *arg1 = (a_face *) 0 ;
10463  void *argp1 = 0 ;
10464  int res1 = 0 ;
10465  double result;
10466 
10467  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_N self ",(void *)0) == TCL_ERROR) SWIG_fail;
10468  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10469  if (!SWIG_IsOK(res1)) {
10470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_N" "', argument " "1"" of type '" "a_face const *""'");
10471  }
10472  arg1 = reinterpret_cast< a_face * >(argp1);
10473  result = (double)((a_face const *)arg1)->N();
10474  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10475  return TCL_OK;
10476 fail:
10477  return TCL_ERROR;
10478 }
10479 
10480 
10481 SWIGINTERN int
10482 _wrap_a_face_N__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10483  a_face *arg1 = (a_face *) 0 ;
10484  a_wrench *arg2 = 0 ;
10485  void *argp1 = 0 ;
10486  int res1 = 0 ;
10487  void *argp2 ;
10488  int res2 = 0 ;
10489  double result;
10490 
10491  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_N self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10492  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10493  if (!SWIG_IsOK(res1)) {
10494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_N" "', argument " "1"" of type '" "a_face const *""'");
10495  }
10496  arg1 = reinterpret_cast< a_face * >(argp1);
10497  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
10498  if (!SWIG_IsOK(res2)) {
10499  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_N" "', argument " "2"" of type '" "a_wrench const &""'");
10500  }
10501  if (!argp2) {
10502  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_N" "', argument " "2"" of type '" "a_wrench const &""'");
10503  }
10504  arg2 = reinterpret_cast< a_wrench * >(argp2);
10505  result = (double)((a_face const *)arg1)->N((a_wrench const &)*arg2);
10506  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10507  return TCL_OK;
10508 fail:
10509  return TCL_ERROR;
10510 }
10511 
10512 
10513 SWIGINTERN int
10514 _wrap_a_face_N(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10515  Tcl_Obj *CONST *argv = objv+1;
10516  int argc = objc-1;
10517  if (argc == 1) {
10518  int _v;
10519  void *vptr = 0;
10520  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10521  _v = SWIG_CheckState(res);
10522  if (_v) {
10523  return _wrap_a_face_N__SWIG_0(clientData, interp, objc, argv - 1);
10524  }
10525  }
10526  if (argc == 2) {
10527  int _v;
10528  void *vptr = 0;
10529  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10530  _v = SWIG_CheckState(res);
10531  if (_v) {
10532  void *vptr = 0;
10533  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
10534  _v = SWIG_CheckState(res);
10535  if (_v) {
10536  return _wrap_a_face_N__SWIG_1(clientData, interp, objc, argv - 1);
10537  }
10538  }
10539  }
10540 
10541  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_N'.\n"
10542  " Possible C/C++ prototypes are:\n"
10543  " a_face::N() const\n"
10544  " a_face::N(a_wrench const &) const\n", TCL_STATIC);
10545  return TCL_ERROR;
10546 }
10547 
10548 
10549 SWIGINTERN int
10550 _wrap_a_face_Qx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10551  a_face *arg1 = (a_face *) 0 ;
10552  void *argp1 = 0 ;
10553  int res1 = 0 ;
10554  double result;
10555 
10556  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Qx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10557  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10558  if (!SWIG_IsOK(res1)) {
10559  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Qx" "', argument " "1"" of type '" "a_face const *""'");
10560  }
10561  arg1 = reinterpret_cast< a_face * >(argp1);
10562  result = (double)((a_face const *)arg1)->Qx();
10563  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10564  return TCL_OK;
10565 fail:
10566  return TCL_ERROR;
10567 }
10568 
10569 
10570 SWIGINTERN int
10571 _wrap_a_face_Qy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10572  a_face *arg1 = (a_face *) 0 ;
10573  void *argp1 = 0 ;
10574  int res1 = 0 ;
10575  double result;
10576 
10577  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Qy self ",(void *)0) == TCL_ERROR) SWIG_fail;
10578  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10579  if (!SWIG_IsOK(res1)) {
10580  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Qy" "', argument " "1"" of type '" "a_face const *""'");
10581  }
10582  arg1 = reinterpret_cast< a_face * >(argp1);
10583  result = (double)((a_face const *)arg1)->Qy();
10584  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10585  return TCL_OK;
10586 fail:
10587  return TCL_ERROR;
10588 }
10589 
10590 
10591 SWIGINTERN int
10592 _wrap_a_face_Mt(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10593  a_face *arg1 = (a_face *) 0 ;
10594  void *argp1 = 0 ;
10595  int res1 = 0 ;
10596  double result;
10597 
10598  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Mt self ",(void *)0) == TCL_ERROR) SWIG_fail;
10599  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10600  if (!SWIG_IsOK(res1)) {
10601  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Mt" "', argument " "1"" of type '" "a_face const *""'");
10602  }
10603  arg1 = reinterpret_cast< a_face * >(argp1);
10604  result = (double)((a_face const *)arg1)->Mt();
10605  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10606  return TCL_OK;
10607 fail:
10608  return TCL_ERROR;
10609 }
10610 
10611 
10612 SWIGINTERN int
10613 _wrap_a_face_Mx__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10614  a_face *arg1 = (a_face *) 0 ;
10615  void *argp1 = 0 ;
10616  int res1 = 0 ;
10617  double result;
10618 
10619  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_Mx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10620  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10621  if (!SWIG_IsOK(res1)) {
10622  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Mx" "', argument " "1"" of type '" "a_face const *""'");
10623  }
10624  arg1 = reinterpret_cast< a_face * >(argp1);
10625  result = (double)((a_face const *)arg1)->Mx();
10626  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10627  return TCL_OK;
10628 fail:
10629  return TCL_ERROR;
10630 }
10631 
10632 
10633 SWIGINTERN int
10634 _wrap_a_face_Mx__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10635  a_face *arg1 = (a_face *) 0 ;
10636  a_wrench *arg2 = 0 ;
10637  void *argp1 = 0 ;
10638  int res1 = 0 ;
10639  void *argp2 ;
10640  int res2 = 0 ;
10641  double result;
10642 
10643  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_Mx self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10644  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10645  if (!SWIG_IsOK(res1)) {
10646  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_Mx" "', argument " "1"" of type '" "a_face const *""'");
10647  }
10648  arg1 = reinterpret_cast< a_face * >(argp1);
10649  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
10650  if (!SWIG_IsOK(res2)) {
10651  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_Mx" "', argument " "2"" of type '" "a_wrench const &""'");
10652  }
10653  if (!argp2) {
10654  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_Mx" "', argument " "2"" of type '" "a_wrench const &""'");
10655  }
10656  arg2 = reinterpret_cast< a_wrench * >(argp2);
10657  result = (double)((a_face const *)arg1)->Mx((a_wrench const &)*arg2);
10658  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10659  return TCL_OK;
10660 fail:
10661  return TCL_ERROR;
10662 }
10663 
10664 
10665 SWIGINTERN int
10666 _wrap_a_face_Mx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10667  Tcl_Obj *CONST *argv = objv+1;
10668  int argc = objc-1;
10669  if (argc == 1) {
10670  int _v;
10671  void *vptr = 0;
10672  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10673  _v = SWIG_CheckState(res);
10674  if (_v) {
10675  return _wrap_a_face_Mx__SWIG_0(clientData, interp, objc, argv - 1);
10676  }
10677  }
10678  if (argc == 2) {
10679  int _v;
10680  void *vptr = 0;
10681  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10682  _v = SWIG_CheckState(res);
10683  if (_v) {
10684  void *vptr = 0;
10685  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
10686  _v = SWIG_CheckState(res);
10687  if (_v) {
10688  return _wrap_a_face_Mx__SWIG_1(clientData, interp, objc, argv - 1);
10689  }
10690  }
10691  }
10692 
10693  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_Mx'.\n"
10694  " Possible C/C++ prototypes are:\n"
10695  " a_face::Mx() const\n"
10696  " a_face::Mx(a_wrench const &) const\n", TCL_STATIC);
10697  return TCL_ERROR;
10698 }
10699 
10700 
10701 SWIGINTERN int
10702 _wrap_a_face_My__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10703  a_face *arg1 = (a_face *) 0 ;
10704  void *argp1 = 0 ;
10705  int res1 = 0 ;
10706  double result;
10707 
10708  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_My self ",(void *)0) == TCL_ERROR) SWIG_fail;
10709  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10710  if (!SWIG_IsOK(res1)) {
10711  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_My" "', argument " "1"" of type '" "a_face const *""'");
10712  }
10713  arg1 = reinterpret_cast< a_face * >(argp1);
10714  result = (double)((a_face const *)arg1)->My();
10715  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10716  return TCL_OK;
10717 fail:
10718  return TCL_ERROR;
10719 }
10720 
10721 
10722 SWIGINTERN int
10723 _wrap_a_face_My__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10724  a_face *arg1 = (a_face *) 0 ;
10725  a_wrench *arg2 = 0 ;
10726  void *argp1 = 0 ;
10727  int res1 = 0 ;
10728  void *argp2 ;
10729  int res2 = 0 ;
10730  double result;
10731 
10732  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_My self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10733  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10734  if (!SWIG_IsOK(res1)) {
10735  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_My" "', argument " "1"" of type '" "a_face const *""'");
10736  }
10737  arg1 = reinterpret_cast< a_face * >(argp1);
10738  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
10739  if (!SWIG_IsOK(res2)) {
10740  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_My" "', argument " "2"" of type '" "a_wrench const &""'");
10741  }
10742  if (!argp2) {
10743  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_My" "', argument " "2"" of type '" "a_wrench const &""'");
10744  }
10745  arg2 = reinterpret_cast< a_wrench * >(argp2);
10746  result = (double)((a_face const *)arg1)->My((a_wrench const &)*arg2);
10747  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10748  return TCL_OK;
10749 fail:
10750  return TCL_ERROR;
10751 }
10752 
10753 
10754 SWIGINTERN int
10755 _wrap_a_face_My(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10756  Tcl_Obj *CONST *argv = objv+1;
10757  int argc = objc-1;
10758  if (argc == 1) {
10759  int _v;
10760  void *vptr = 0;
10761  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10762  _v = SWIG_CheckState(res);
10763  if (_v) {
10764  return _wrap_a_face_My__SWIG_0(clientData, interp, objc, argv - 1);
10765  }
10766  }
10767  if (argc == 2) {
10768  int _v;
10769  void *vptr = 0;
10770  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10771  _v = SWIG_CheckState(res);
10772  if (_v) {
10773  void *vptr = 0;
10774  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
10775  _v = SWIG_CheckState(res);
10776  if (_v) {
10777  return _wrap_a_face_My__SWIG_1(clientData, interp, objc, argv - 1);
10778  }
10779  }
10780  }
10781 
10782  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_My'.\n"
10783  " Possible C/C++ prototypes are:\n"
10784  " a_face::My() const\n"
10785  " a_face::My(a_wrench const &) const\n", TCL_STATIC);
10786  return TCL_ERROR;
10787 }
10788 
10789 
10790 SWIGINTERN int
10791 _wrap_a_face_ax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10792  a_face *arg1 = (a_face *) 0 ;
10793  void *argp1 = 0 ;
10794  int res1 = 0 ;
10795  double result;
10796 
10797  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_ax self ",(void *)0) == TCL_ERROR) SWIG_fail;
10798  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10799  if (!SWIG_IsOK(res1)) {
10800  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_ax" "', argument " "1"" of type '" "a_face const *""'");
10801  }
10802  arg1 = reinterpret_cast< a_face * >(argp1);
10803  result = (double)((a_face const *)arg1)->ax();
10804  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10805  return TCL_OK;
10806 fail:
10807  return TCL_ERROR;
10808 }
10809 
10810 
10811 SWIGINTERN int
10812 _wrap_a_face_ay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10813  a_face *arg1 = (a_face *) 0 ;
10814  void *argp1 = 0 ;
10815  int res1 = 0 ;
10816  double result;
10817 
10818  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_ay self ",(void *)0) == TCL_ERROR) SWIG_fail;
10819  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10820  if (!SWIG_IsOK(res1)) {
10821  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_ay" "', argument " "1"" of type '" "a_face const *""'");
10822  }
10823  arg1 = reinterpret_cast< a_face * >(argp1);
10824  result = (double)((a_face const *)arg1)->ay();
10825  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10826  return TCL_OK;
10827 fail:
10828  return TCL_ERROR;
10829 }
10830 
10831 
10832 SWIGINTERN int
10833 _wrap_a_face_x__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10834  a_face *arg1 = (a_face *) 0 ;
10835  void *argp1 = 0 ;
10836  int res1 = 0 ;
10837  a_point result;
10838 
10839  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_x self ",(void *)0) == TCL_ERROR) SWIG_fail;
10840  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10841  if (!SWIG_IsOK(res1)) {
10842  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_x" "', argument " "1"" of type '" "a_face const *""'");
10843  }
10844  arg1 = reinterpret_cast< a_face * >(argp1);
10845  result = ((a_face const *)arg1)->x();
10846  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10847  return TCL_OK;
10848 fail:
10849  return TCL_ERROR;
10850 }
10851 
10852 
10853 SWIGINTERN int
10854 _wrap_a_face_x__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10855  a_face *arg1 = (a_face *) 0 ;
10856  a_wrench *arg2 = 0 ;
10857  void *argp1 = 0 ;
10858  int res1 = 0 ;
10859  void *argp2 ;
10860  int res2 = 0 ;
10861  a_point result;
10862 
10863  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_x self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10864  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10865  if (!SWIG_IsOK(res1)) {
10866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_x" "', argument " "1"" of type '" "a_face const *""'");
10867  }
10868  arg1 = reinterpret_cast< a_face * >(argp1);
10869  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
10870  if (!SWIG_IsOK(res2)) {
10871  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_x" "', argument " "2"" of type '" "a_wrench const &""'");
10872  }
10873  if (!argp2) {
10874  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_x" "', argument " "2"" of type '" "a_wrench const &""'");
10875  }
10876  arg2 = reinterpret_cast< a_wrench * >(argp2);
10877  result = ((a_face const *)arg1)->x((a_wrench const &)*arg2);
10878  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
10879  return TCL_OK;
10880 fail:
10881  return TCL_ERROR;
10882 }
10883 
10884 
10885 SWIGINTERN int
10886 _wrap_a_face_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10887  Tcl_Obj *CONST *argv = objv+1;
10888  int argc = objc-1;
10889  if (argc == 1) {
10890  int _v;
10891  void *vptr = 0;
10892  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10893  _v = SWIG_CheckState(res);
10894  if (_v) {
10895  return _wrap_a_face_x__SWIG_0(clientData, interp, objc, argv - 1);
10896  }
10897  }
10898  if (argc == 2) {
10899  int _v;
10900  void *vptr = 0;
10901  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10902  _v = SWIG_CheckState(res);
10903  if (_v) {
10904  void *vptr = 0;
10905  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
10906  _v = SWIG_CheckState(res);
10907  if (_v) {
10908  return _wrap_a_face_x__SWIG_1(clientData, interp, objc, argv - 1);
10909  }
10910  }
10911  }
10912 
10913  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_x'.\n"
10914  " Possible C/C++ prototypes are:\n"
10915  " a_face::x() const\n"
10916  " a_face::x(a_wrench const &) const\n", TCL_STATIC);
10917  return TCL_ERROR;
10918 }
10919 
10920 
10921 SWIGINTERN int
10922 _wrap_a_face_exx__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10923  a_face *arg1 = (a_face *) 0 ;
10924  void *argp1 = 0 ;
10925  int res1 = 0 ;
10926  double result;
10927 
10928  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_exx self ",(void *)0) == TCL_ERROR) SWIG_fail;
10929  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10930  if (!SWIG_IsOK(res1)) {
10931  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exx" "', argument " "1"" of type '" "a_face const *""'");
10932  }
10933  arg1 = reinterpret_cast< a_face * >(argp1);
10934  result = (double)((a_face const *)arg1)->exx();
10935  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10936  return TCL_OK;
10937 fail:
10938  return TCL_ERROR;
10939 }
10940 
10941 
10942 SWIGINTERN int
10943 _wrap_a_face_exx__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10944  a_face *arg1 = (a_face *) 0 ;
10945  a_wrench *arg2 = 0 ;
10946  void *argp1 = 0 ;
10947  int res1 = 0 ;
10948  void *argp2 ;
10949  int res2 = 0 ;
10950  double result;
10951 
10952  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_exx self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
10953  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
10954  if (!SWIG_IsOK(res1)) {
10955  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exx" "', argument " "1"" of type '" "a_face const *""'");
10956  }
10957  arg1 = reinterpret_cast< a_face * >(argp1);
10958  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
10959  if (!SWIG_IsOK(res2)) {
10960  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_exx" "', argument " "2"" of type '" "a_wrench const &""'");
10961  }
10962  if (!argp2) {
10963  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_exx" "', argument " "2"" of type '" "a_wrench const &""'");
10964  }
10965  arg2 = reinterpret_cast< a_wrench * >(argp2);
10966  result = (double)((a_face const *)arg1)->exx((a_wrench const &)*arg2);
10967  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
10968  return TCL_OK;
10969 fail:
10970  return TCL_ERROR;
10971 }
10972 
10973 
10974 SWIGINTERN int
10975 _wrap_a_face_exx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
10976  Tcl_Obj *CONST *argv = objv+1;
10977  int argc = objc-1;
10978  if (argc == 1) {
10979  int _v;
10980  void *vptr = 0;
10981  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10982  _v = SWIG_CheckState(res);
10983  if (_v) {
10984  return _wrap_a_face_exx__SWIG_0(clientData, interp, objc, argv - 1);
10985  }
10986  }
10987  if (argc == 2) {
10988  int _v;
10989  void *vptr = 0;
10990  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
10991  _v = SWIG_CheckState(res);
10992  if (_v) {
10993  void *vptr = 0;
10994  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
10995  _v = SWIG_CheckState(res);
10996  if (_v) {
10997  return _wrap_a_face_exx__SWIG_1(clientData, interp, objc, argv - 1);
10998  }
10999  }
11000  }
11001 
11002  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_exx'.\n"
11003  " Possible C/C++ prototypes are:\n"
11004  " a_face::exx() const\n"
11005  " a_face::exx(a_wrench const &) const\n", TCL_STATIC);
11006  return TCL_ERROR;
11007 }
11008 
11009 
11010 SWIGINTERN int
11011 _wrap_a_face_exy__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11012  a_face *arg1 = (a_face *) 0 ;
11013  void *argp1 = 0 ;
11014  int res1 = 0 ;
11015  double result;
11016 
11017  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_exy self ",(void *)0) == TCL_ERROR) SWIG_fail;
11018  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11019  if (!SWIG_IsOK(res1)) {
11020  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exy" "', argument " "1"" of type '" "a_face const *""'");
11021  }
11022  arg1 = reinterpret_cast< a_face * >(argp1);
11023  result = (double)((a_face const *)arg1)->exy();
11024  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11025  return TCL_OK;
11026 fail:
11027  return TCL_ERROR;
11028 }
11029 
11030 
11031 SWIGINTERN int
11032 _wrap_a_face_exy__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11033  a_face *arg1 = (a_face *) 0 ;
11034  a_wrench *arg2 = 0 ;
11035  void *argp1 = 0 ;
11036  int res1 = 0 ;
11037  void *argp2 ;
11038  int res2 = 0 ;
11039  double result;
11040 
11041  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_exy self a_wrench const & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11042  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11043  if (!SWIG_IsOK(res1)) {
11044  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exy" "', argument " "1"" of type '" "a_face const *""'");
11045  }
11046  arg1 = reinterpret_cast< a_face * >(argp1);
11047  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
11048  if (!SWIG_IsOK(res2)) {
11049  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_exy" "', argument " "2"" of type '" "a_wrench const &""'");
11050  }
11051  if (!argp2) {
11052  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_exy" "', argument " "2"" of type '" "a_wrench const &""'");
11053  }
11054  arg2 = reinterpret_cast< a_wrench * >(argp2);
11055  result = (double)((a_face const *)arg1)->exy((a_wrench const &)*arg2);
11056  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11057  return TCL_OK;
11058 fail:
11059  return TCL_ERROR;
11060 }
11061 
11062 
11063 SWIGINTERN int
11064 _wrap_a_face_exy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11065  Tcl_Obj *CONST *argv = objv+1;
11066  int argc = objc-1;
11067  if (argc == 1) {
11068  int _v;
11069  void *vptr = 0;
11070  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11071  _v = SWIG_CheckState(res);
11072  if (_v) {
11073  return _wrap_a_face_exy__SWIG_0(clientData, interp, objc, argv - 1);
11074  }
11075  }
11076  if (argc == 2) {
11077  int _v;
11078  void *vptr = 0;
11079  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11080  _v = SWIG_CheckState(res);
11081  if (_v) {
11082  void *vptr = 0;
11083  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
11084  _v = SWIG_CheckState(res);
11085  if (_v) {
11086  return _wrap_a_face_exy__SWIG_1(clientData, interp, objc, argv - 1);
11087  }
11088  }
11089  }
11090 
11091  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_exy'.\n"
11092  " Possible C/C++ prototypes are:\n"
11093  " a_face::exy() const\n"
11094  " a_face::exy(a_wrench const &) const\n", TCL_STATIC);
11095  return TCL_ERROR;
11096 }
11097 
11098 
11099 SWIGINTERN int
11100 _wrap_a_face_exn(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11101  a_face *arg1 = (a_face *) 0 ;
11102  void *argp1 = 0 ;
11103  int res1 = 0 ;
11104  double result;
11105 
11106  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_exn self ",(void *)0) == TCL_ERROR) SWIG_fail;
11107  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11108  if (!SWIG_IsOK(res1)) {
11109  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exn" "', argument " "1"" of type '" "a_face const *""'");
11110  }
11111  arg1 = reinterpret_cast< a_face * >(argp1);
11112  result = (double)((a_face const *)arg1)->exn();
11113  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11114  return TCL_OK;
11115 fail:
11116  return TCL_ERROR;
11117 }
11118 
11119 
11120 SWIGINTERN int
11121 _wrap_a_face_exit__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11122  a_face *arg1 = (a_face *) 0 ;
11123  bool arg2 ;
11124  void *argp1 = 0 ;
11125  int res1 = 0 ;
11126  bool val2 ;
11127  int ecode2 = 0 ;
11128 
11129  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_exit self exit ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11130  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11131  if (!SWIG_IsOK(res1)) {
11132  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exit" "', argument " "1"" of type '" "a_face *""'");
11133  }
11134  arg1 = reinterpret_cast< a_face * >(argp1);
11135  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
11136  if (!SWIG_IsOK(ecode2)) {
11137  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_exit" "', argument " "2"" of type '" "bool""'");
11138  }
11139  arg2 = static_cast< bool >(val2);
11140  (arg1)->exit(arg2);
11141 
11142  return TCL_OK;
11143 fail:
11144  return TCL_ERROR;
11145 }
11146 
11147 
11148 SWIGINTERN int
11149 _wrap_a_face_exit__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11150  a_face *arg1 = (a_face *) 0 ;
11151  void *argp1 = 0 ;
11152  int res1 = 0 ;
11153  bool result;
11154 
11155  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_exit self ",(void *)0) == TCL_ERROR) SWIG_fail;
11156  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11157  if (!SWIG_IsOK(res1)) {
11158  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_exit" "', argument " "1"" of type '" "a_face const *""'");
11159  }
11160  arg1 = reinterpret_cast< a_face * >(argp1);
11161  result = (bool)((a_face const *)arg1)->exit();
11162  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
11163  return TCL_OK;
11164 fail:
11165  return TCL_ERROR;
11166 }
11167 
11168 
11169 SWIGINTERN int
11170 _wrap_a_face_exit(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11171  Tcl_Obj *CONST *argv = objv+1;
11172  int argc = objc-1;
11173  if (argc == 1) {
11174  int _v;
11175  void *vptr = 0;
11176  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11177  _v = SWIG_CheckState(res);
11178  if (_v) {
11179  return _wrap_a_face_exit__SWIG_1(clientData, interp, objc, argv - 1);
11180  }
11181  }
11182  if (argc == 2) {
11183  int _v;
11184  void *vptr = 0;
11185  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11186  _v = SWIG_CheckState(res);
11187  if (_v) {
11188  {
11189  int res = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
11190  _v = SWIG_CheckState(res);
11191  }
11192  if (_v) {
11193  return _wrap_a_face_exit__SWIG_0(clientData, interp, objc, argv - 1);
11194  }
11195  }
11196  }
11197 
11198  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_exit'.\n"
11199  " Possible C/C++ prototypes are:\n"
11200  " a_face::exit(bool)\n"
11201  " a_face::exit() const\n", TCL_STATIC);
11202  return TCL_ERROR;
11203 }
11204 
11205 
11206 SWIGINTERN int
11207 _wrap_a_face_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11208  a_face *arg1 = (a_face *) 0 ;
11209  a_wrench *arg2 = (a_wrench *) 0 ;
11210  void *argp1 = 0 ;
11211  int res1 = 0 ;
11212  void *argp2 = 0 ;
11213  int res2 = 0 ;
11214 
11215  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_f self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11216  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11217  if (!SWIG_IsOK(res1)) {
11218  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_f" "', argument " "1"" of type '" "a_face *""'");
11219  }
11220  arg1 = reinterpret_cast< a_face * >(argp1);
11221  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_wrench, 0 | 0 );
11222  if (!SWIG_IsOK(res2)) {
11223  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_f" "', argument " "2"" of type '" "a_wrench *""'");
11224  }
11225  arg2 = reinterpret_cast< a_wrench * >(argp2);
11226  (arg1)->f(arg2);
11227 
11228  return TCL_OK;
11229 fail:
11230  return TCL_ERROR;
11231 }
11232 
11233 
11234 SWIGINTERN int
11235 _wrap_a_face_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11236  a_face *arg1 = (a_face *) 0 ;
11237  a_point *arg2 = 0 ;
11238  void *argp1 = 0 ;
11239  int res1 = 0 ;
11240  void *argp2 ;
11241  int res2 = 0 ;
11242 
11243  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_f self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11244  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11245  if (!SWIG_IsOK(res1)) {
11246  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_f" "', argument " "1"" of type '" "a_face *""'");
11247  }
11248  arg1 = reinterpret_cast< a_face * >(argp1);
11249  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
11250  if (!SWIG_IsOK(res2)) {
11251  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_f" "', argument " "2"" of type '" "a_point const &""'");
11252  }
11253  if (!argp2) {
11254  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_f" "', argument " "2"" of type '" "a_point const &""'");
11255  }
11256  arg2 = reinterpret_cast< a_point * >(argp2);
11257  (arg1)->f((a_point const &)*arg2);
11258 
11259  return TCL_OK;
11260 fail:
11261  return TCL_ERROR;
11262 }
11263 
11264 
11265 SWIGINTERN int
11266 _wrap_a_face_f__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11267  a_face *arg1 = (a_face *) 0 ;
11268  double arg2 ;
11269  double arg3 ;
11270  double arg4 ;
11271  void *argp1 = 0 ;
11272  int res1 = 0 ;
11273  double val2 ;
11274  int ecode2 = 0 ;
11275  double val3 ;
11276  int ecode3 = 0 ;
11277  double val4 ;
11278  int ecode4 = 0 ;
11279 
11280  if (SWIG_GetArgs(interp, objc, objv,"oooo:a_face_f self fx fy fz ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11281  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11282  if (!SWIG_IsOK(res1)) {
11283  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_f" "', argument " "1"" of type '" "a_face *""'");
11284  }
11285  arg1 = reinterpret_cast< a_face * >(argp1);
11286  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
11287  if (!SWIG_IsOK(ecode2)) {
11288  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_f" "', argument " "2"" of type '" "double""'");
11289  }
11290  arg2 = static_cast< double >(val2);
11291  ecode3 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
11292  if (!SWIG_IsOK(ecode3)) {
11293  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_face_f" "', argument " "3"" of type '" "double""'");
11294  }
11295  arg3 = static_cast< double >(val3);
11296  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
11297  if (!SWIG_IsOK(ecode4)) {
11298  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_face_f" "', argument " "4"" of type '" "double""'");
11299  }
11300  arg4 = static_cast< double >(val4);
11301  (arg1)->f(arg2,arg3,arg4);
11302 
11303  return TCL_OK;
11304 fail:
11305  return TCL_ERROR;
11306 }
11307 
11308 
11309 SWIGINTERN int
11310 _wrap_a_face_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11311  a_face *arg1 = (a_face *) 0 ;
11312  void *argp1 = 0 ;
11313  int res1 = 0 ;
11314 
11315  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_clear self ",(void *)0) == TCL_ERROR) SWIG_fail;
11316  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11317  if (!SWIG_IsOK(res1)) {
11318  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_clear" "', argument " "1"" of type '" "a_face *""'");
11319  }
11320  arg1 = reinterpret_cast< a_face * >(argp1);
11321  (arg1)->clear();
11322 
11323  return TCL_OK;
11324 fail:
11325  return TCL_ERROR;
11326 }
11327 
11328 
11329 SWIGINTERN int
11330 _wrap_a_face_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11331  a_face *arg1 = (a_face *) 0 ;
11332  a_fcriteria *arg2 = (a_fcriteria *) 0 ;
11333  void *argp1 = 0 ;
11334  int res1 = 0 ;
11335  void *argp2 = 0 ;
11336  int res2 = 0 ;
11337 
11338  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_criteria self criteria ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11339  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11340  if (!SWIG_IsOK(res1)) {
11341  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_criteria" "', argument " "1"" of type '" "a_face *""'");
11342  }
11343  arg1 = reinterpret_cast< a_face * >(argp1);
11344  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_fcriteria, 0 | 0 );
11345  if (!SWIG_IsOK(res2)) {
11346  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_criteria" "', argument " "2"" of type '" "a_fcriteria *""'");
11347  }
11348  arg2 = reinterpret_cast< a_fcriteria * >(argp2);
11349  (arg1)->criteria(arg2);
11350 
11351  return TCL_OK;
11352 fail:
11353  return TCL_ERROR;
11354 }
11355 
11356 
11357 SWIGINTERN int
11358 _wrap_a_face_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11359  a_face *arg1 = (a_face *) 0 ;
11360  void *argp1 = 0 ;
11361  int res1 = 0 ;
11362  bool result;
11363 
11364  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_ok self ",(void *)0) == TCL_ERROR) SWIG_fail;
11365  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11366  if (!SWIG_IsOK(res1)) {
11367  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_ok" "', argument " "1"" of type '" "a_face const *""'");
11368  }
11369  arg1 = reinterpret_cast< a_face * >(argp1);
11370  result = (bool)((a_face const *)arg1)->ok();
11371  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
11372  return TCL_OK;
11373 fail:
11374  return TCL_ERROR;
11375 }
11376 
11377 
11378 SWIGINTERN int
11379 _wrap_a_face_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11380  a_face *arg1 = (a_face *) 0 ;
11381  void *argp1 = 0 ;
11382  int res1 = 0 ;
11383  double result;
11384 
11385  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_penalty self ",(void *)0) == TCL_ERROR) SWIG_fail;
11386  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11387  if (!SWIG_IsOK(res1)) {
11388  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_penalty" "', argument " "1"" of type '" "a_face const *""'");
11389  }
11390  arg1 = reinterpret_cast< a_face * >(argp1);
11391  result = (double)((a_face const *)arg1)->penalty();
11392  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11393  return TCL_OK;
11394 fail:
11395  return TCL_ERROR;
11396 }
11397 
11398 
11399 SWIGINTERN int
11400 _wrap_a_face_lface__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11401  a_face *arg1 = (a_face *) 0 ;
11402  a_face *arg2 = (a_face *) 0 ;
11403  void *argp1 = 0 ;
11404  int res1 = 0 ;
11405  void *argp2 = 0 ;
11406  int res2 = 0 ;
11407 
11408  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_lface self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11409  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11410  if (!SWIG_IsOK(res1)) {
11411  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_lface" "', argument " "1"" of type '" "a_face *""'");
11412  }
11413  arg1 = reinterpret_cast< a_face * >(argp1);
11414  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_face, 0 | 0 );
11415  if (!SWIG_IsOK(res2)) {
11416  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_lface" "', argument " "2"" of type '" "a_face *""'");
11417  }
11418  arg2 = reinterpret_cast< a_face * >(argp2);
11419  (arg1)->lface(arg2);
11420 
11421  return TCL_OK;
11422 fail:
11423  return TCL_ERROR;
11424 }
11425 
11426 
11427 SWIGINTERN int
11428 _wrap_a_face_lface__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11429  a_face *arg1 = (a_face *) 0 ;
11430  void *argp1 = 0 ;
11431  int res1 = 0 ;
11432  a_face *result = 0 ;
11433 
11434  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_lface self ",(void *)0) == TCL_ERROR) SWIG_fail;
11435  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11436  if (!SWIG_IsOK(res1)) {
11437  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_lface" "', argument " "1"" of type '" "a_face *""'");
11438  }
11439  arg1 = reinterpret_cast< a_face * >(argp1);
11440  result = (a_face *)(arg1)->lface();
11441  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_face,0));
11442  return TCL_OK;
11443 fail:
11444  return TCL_ERROR;
11445 }
11446 
11447 
11448 SWIGINTERN int
11449 _wrap_a_face_lface(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11450  Tcl_Obj *CONST *argv = objv+1;
11451  int argc = objc-1;
11452  if (argc == 1) {
11453  int _v;
11454  void *vptr = 0;
11455  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11456  _v = SWIG_CheckState(res);
11457  if (_v) {
11458  return _wrap_a_face_lface__SWIG_1(clientData, interp, objc, argv - 1);
11459  }
11460  }
11461  if (argc == 2) {
11462  int _v;
11463  void *vptr = 0;
11464  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11465  _v = SWIG_CheckState(res);
11466  if (_v) {
11467  void *vptr = 0;
11468  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_face, 0);
11469  _v = SWIG_CheckState(res);
11470  if (_v) {
11471  return _wrap_a_face_lface__SWIG_0(clientData, interp, objc, argv - 1);
11472  }
11473  }
11474  }
11475 
11476  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_lface'.\n"
11477  " Possible C/C++ prototypes are:\n"
11478  " a_face::lface(a_face *)\n"
11479  " a_face::lface()\n", TCL_STATIC);
11480  return TCL_ERROR;
11481 }
11482 
11483 
11484 SWIGINTERN int
11485 _wrap_a_face_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11486  a_face *arg1 = (a_face *) 0 ;
11487  void *argp1 = 0 ;
11488  int res1 = 0 ;
11489  bool result;
11490 
11491  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_in self ",(void *)0) == TCL_ERROR) SWIG_fail;
11492  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11493  if (!SWIG_IsOK(res1)) {
11494  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_in" "', argument " "1"" of type '" "a_face const *""'");
11495  }
11496  arg1 = reinterpret_cast< a_face * >(argp1);
11497  result = (bool)((a_face const *)arg1)->in();
11498  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
11499  return TCL_OK;
11500 fail:
11501  return TCL_ERROR;
11502 }
11503 
11504 
11505 SWIGINTERN int
11506 _wrap_a_face_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11507  a_face *arg1 = (a_face *) 0 ;
11508  void *argp1 = 0 ;
11509  int res1 = 0 ;
11510  bool result;
11511 
11512  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_out self ",(void *)0) == TCL_ERROR) SWIG_fail;
11513  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11514  if (!SWIG_IsOK(res1)) {
11515  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_out" "', argument " "1"" of type '" "a_face const *""'");
11516  }
11517  arg1 = reinterpret_cast< a_face * >(argp1);
11518  result = (bool)((a_face const *)arg1)->out();
11519  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
11520  return TCL_OK;
11521 fail:
11522  return TCL_ERROR;
11523 }
11524 
11525 
11526 SWIGINTERN int
11527 _wrap_a_face_hinge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11528  a_face *arg1 = (a_face *) 0 ;
11529  void *argp1 = 0 ;
11530  int res1 = 0 ;
11531  a_point result;
11532 
11533  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_hinge self ",(void *)0) == TCL_ERROR) SWIG_fail;
11534  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11535  if (!SWIG_IsOK(res1)) {
11536  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_hinge" "', argument " "1"" of type '" "a_face const *""'");
11537  }
11538  arg1 = reinterpret_cast< a_face * >(argp1);
11539  result = ((a_face const *)arg1)->hinge();
11540  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
11541  return TCL_OK;
11542 fail:
11543  return TCL_ERROR;
11544 }
11545 
11546 
11547 SWIGINTERN int
11548 _wrap_a_face_contacttype(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11549  a_face *arg1 = (a_face *) 0 ;
11550  void *argp1 = 0 ;
11551  int res1 = 0 ;
11552  int result;
11553 
11554  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_contacttype self ",(void *)0) == TCL_ERROR) SWIG_fail;
11555  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11556  if (!SWIG_IsOK(res1)) {
11557  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_contacttype" "', argument " "1"" of type '" "a_face const *""'");
11558  }
11559  arg1 = reinterpret_cast< a_face * >(argp1);
11560  result = (int)((a_face const *)arg1)->contacttype();
11561  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
11562  return TCL_OK;
11563 fail:
11564  return TCL_ERROR;
11565 }
11566 
11567 
11568 SWIGINTERN int
11569 _wrap_a_face_contactpoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11570  a_face *arg1 = (a_face *) 0 ;
11571  void *argp1 = 0 ;
11572  int res1 = 0 ;
11573  a_point result;
11574 
11575  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_contactpoint self ",(void *)0) == TCL_ERROR) SWIG_fail;
11576  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11577  if (!SWIG_IsOK(res1)) {
11578  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_contactpoint" "', argument " "1"" of type '" "a_face const *""'");
11579  }
11580  arg1 = reinterpret_cast< a_face * >(argp1);
11581  result = ((a_face const *)arg1)->contactpoint();
11582  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
11583  return TCL_OK;
11584 fail:
11585  return TCL_ERROR;
11586 }
11587 
11588 
11589 SWIGINTERN int
11590 _wrap_a_face_contactsegment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11591  a_face *arg1 = (a_face *) 0 ;
11592  void *argp1 = 0 ;
11593  int res1 = 0 ;
11594  a_segment result;
11595 
11596  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_contactsegment self ",(void *)0) == TCL_ERROR) SWIG_fail;
11597  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11598  if (!SWIG_IsOK(res1)) {
11599  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_contactsegment" "', argument " "1"" of type '" "a_face const *""'");
11600  }
11601  arg1 = reinterpret_cast< a_face * >(argp1);
11602  result = ((a_face const *)arg1)->contactsegment();
11603  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_segment(static_cast< const a_segment& >(result))), SWIGTYPE_p_a_segment, SWIG_POINTER_OWN | 0 ));
11604  return TCL_OK;
11605 fail:
11606  return TCL_ERROR;
11607 }
11608 
11609 
11610 SWIGINTERN int
11611 _wrap_a_face_contactface(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11612  a_face *arg1 = (a_face *) 0 ;
11613  void *argp1 = 0 ;
11614  int res1 = 0 ;
11615  a_contact result;
11616 
11617  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_contactface self ",(void *)0) == TCL_ERROR) SWIG_fail;
11618  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11619  if (!SWIG_IsOK(res1)) {
11620  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_contactface" "', argument " "1"" of type '" "a_face const *""'");
11621  }
11622  arg1 = reinterpret_cast< a_face * >(argp1);
11623  result = ((a_face const *)arg1)->contactface();
11624  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_contact(static_cast< const a_contact& >(result))), SWIGTYPE_p_a_contact, SWIG_POINTER_OWN | 0 ));
11625  return TCL_OK;
11626 fail:
11627  return TCL_ERROR;
11628 }
11629 
11630 
11631 SWIGINTERN int
11632 _wrap_a_face_f__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11633  a_face *arg1 = (a_face *) 0 ;
11634  void *argp1 = 0 ;
11635  int res1 = 0 ;
11636  a_wrench *result = 0 ;
11637 
11638  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_f self ",(void *)0) == TCL_ERROR) SWIG_fail;
11639  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11640  if (!SWIG_IsOK(res1)) {
11641  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_f" "', argument " "1"" of type '" "a_face *""'");
11642  }
11643  arg1 = reinterpret_cast< a_face * >(argp1);
11644  result = (a_wrench *)a_face_f__SWIG_3(arg1);
11645  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_wrench,0));
11646  return TCL_OK;
11647 fail:
11648  return TCL_ERROR;
11649 }
11650 
11651 
11652 SWIGINTERN int
11653 _wrap_a_face_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11654  Tcl_Obj *CONST *argv = objv+1;
11655  int argc = objc-1;
11656  if (argc == 1) {
11657  int _v;
11658  void *vptr = 0;
11659  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11660  _v = SWIG_CheckState(res);
11661  if (_v) {
11662  return _wrap_a_face_f__SWIG_3(clientData, interp, objc, argv - 1);
11663  }
11664  }
11665  if (argc == 2) {
11666  int _v;
11667  void *vptr = 0;
11668  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11669  _v = SWIG_CheckState(res);
11670  if (_v) {
11671  void *vptr = 0;
11672  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
11673  _v = SWIG_CheckState(res);
11674  if (_v) {
11675  return _wrap_a_face_f__SWIG_1(clientData, interp, objc, argv - 1);
11676  }
11677  }
11678  }
11679  if (argc == 2) {
11680  int _v;
11681  void *vptr = 0;
11682  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11683  _v = SWIG_CheckState(res);
11684  if (_v) {
11685  void *vptr = 0;
11686  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, 0);
11687  _v = SWIG_CheckState(res);
11688  if (_v) {
11689  return _wrap_a_face_f__SWIG_0(clientData, interp, objc, argv - 1);
11690  }
11691  }
11692  }
11693  if (argc == 4) {
11694  int _v;
11695  void *vptr = 0;
11696  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_face, 0);
11697  _v = SWIG_CheckState(res);
11698  if (_v) {
11699  {
11700  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
11701  _v = SWIG_CheckState(res);
11702  }
11703  if (_v) {
11704  {
11705  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
11706  _v = SWIG_CheckState(res);
11707  }
11708  if (_v) {
11709  {
11710  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
11711  _v = SWIG_CheckState(res);
11712  }
11713  if (_v) {
11714  return _wrap_a_face_f__SWIG_2(clientData, interp, objc, argv - 1);
11715  }
11716  }
11717  }
11718  }
11719  }
11720 
11721  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_face_f'.\n"
11722  " Possible C/C++ prototypes are:\n"
11723  " a_face::f(a_wrench *)\n"
11724  " a_face::f(a_point const &)\n"
11725  " a_face::f(double const,double const,double const)\n"
11726  " a_face::f()\n", TCL_STATIC);
11727  return TCL_ERROR;
11728 }
11729 
11730 
11731 SWIGINTERN int
11732 _wrap_a_face_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11733  a_face *arg1 = (a_face *) 0 ;
11734  void *argp1 = 0 ;
11735  int res1 = 0 ;
11736  std::string result;
11737 
11738  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_print self ",(void *)0) == TCL_ERROR) SWIG_fail;
11739  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
11740  if (!SWIG_IsOK(res1)) {
11741  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_print" "', argument " "1"" of type '" "a_face *""'");
11742  }
11743  arg1 = reinterpret_cast< a_face * >(argp1);
11744  result = a_face_print(arg1);
11745  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
11746  return TCL_OK;
11747 fail:
11748  return TCL_ERROR;
11749 }
11750 
11751 
11752 SWIGINTERN int
11753 _wrap_delete_a_face(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11754  a_face *arg1 = (a_face *) 0 ;
11755  void *argp1 = 0 ;
11756  int res1 = 0 ;
11757 
11758  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_face self ",(void *)0) == TCL_ERROR) SWIG_fail;
11759  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, SWIG_POINTER_DISOWN | 0 );
11760  if (!SWIG_IsOK(res1)) {
11761  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_face" "', argument " "1"" of type '" "a_face *""'");
11762  }
11763  arg1 = reinterpret_cast< a_face * >(argp1);
11764  delete arg1;
11765 
11766  return TCL_OK;
11767 fail:
11768  return TCL_ERROR;
11769 }
11770 
11771 
11773 a_face *arg1 = (a_face *) obj;
11774 delete arg1;
11775 }
11777  {"nv", _wrap_a_face_nv},
11778  {"av", _wrap_a_face_av},
11779  {"rv", _wrap_a_face_rv},
11780  {"rf", _wrap_a_face_rf},
11781  {"block", _wrap_a_face_block},
11782  {"v", _wrap_a_face_v},
11783  {"vl", _wrap_a_face_vl},
11784  {"c", _wrap_a_face_c},
11785  {"cl", _wrap_a_face_cl},
11786  {"grow", _wrap_a_face_grow},
11787  {"normale", _wrap_a_face_normale},
11788  {"point", _wrap_a_face_point},
11789  {"slide", _wrap_a_face_slide},
11790  {"deform", _wrap_a_face_deform},
11791  {"nx", _wrap_a_face_nx},
11792  {"ny", _wrap_a_face_ny},
11793  {"normal", _wrap_a_face_normal},
11794  {"dxM", _wrap_a_face_dxM},
11795  {"dxm", _wrap_a_face_dxm},
11796  {"dyM", _wrap_a_face_dyM},
11797  {"dym", _wrap_a_face_dym},
11798  {"dx", _wrap_a_face_dx},
11799  {"dy", _wrap_a_face_dy},
11800  {"S", _wrap_a_face_S},
11801  {"Sx", _wrap_a_face_Sx},
11802  {"Sy", _wrap_a_face_Sy},
11803  {"Sz", _wrap_a_face_Sz},
11804  {"N", _wrap_a_face_N},
11805  {"Qx", _wrap_a_face_Qx},
11806  {"Qy", _wrap_a_face_Qy},
11807  {"Mt", _wrap_a_face_Mt},
11808  {"Mx", _wrap_a_face_Mx},
11809  {"My", _wrap_a_face_My},
11810  {"ax", _wrap_a_face_ax},
11811  {"ay", _wrap_a_face_ay},
11812  {"x", _wrap_a_face_x},
11813  {"exx", _wrap_a_face_exx},
11814  {"exy", _wrap_a_face_exy},
11815  {"exn", _wrap_a_face_exn},
11816  {"exit", _wrap_a_face_exit},
11817  {"clear", _wrap_a_face_clear},
11818  {"criteria", _wrap_a_face_criteria},
11819  {"ok", _wrap_a_face_ok},
11820  {"penalty", _wrap_a_face_penalty},
11821  {"lface", _wrap_a_face_lface},
11822  {"in", _wrap_a_face_in},
11823  {"out", _wrap_a_face_out},
11824  {"hinge", _wrap_a_face_hinge},
11825  {"contacttype", _wrap_a_face_contacttype},
11826  {"contactpoint", _wrap_a_face_contactpoint},
11827  {"contactsegment", _wrap_a_face_contactsegment},
11828  {"contactface", _wrap_a_face_contactface},
11829  {"f", _wrap_a_face_f},
11830  {"print", _wrap_a_face_print},
11831  {0,0}
11832 };
11834  {0,0,0}
11835 };
11837 static const char * swig_a_face_base_names[] = {0};
11839 SWIGINTERN int
11840 _wrap_a_face_2d4_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11841  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11842  void *argp1 = 0 ;
11843  int res1 = 0 ;
11844  double result;
11845 
11846  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_2d4_thickness self ",(void *)0) == TCL_ERROR) SWIG_fail;
11847  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11848  if (!SWIG_IsOK(res1)) {
11849  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_thickness" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11850  }
11851  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11852  result = (double)((a_face_2d4 const *)arg1)->thickness();
11853  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11854  return TCL_OK;
11855 fail:
11856  return TCL_ERROR;
11857 }
11858 
11859 
11860 SWIGINTERN int
11861 _wrap_a_face_2d4_length(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11862  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11863  void *argp1 = 0 ;
11864  int res1 = 0 ;
11865  double result;
11866 
11867  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_2d4_length self ",(void *)0) == TCL_ERROR) SWIG_fail;
11868  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11869  if (!SWIG_IsOK(res1)) {
11870  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_length" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11871  }
11872  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11873  result = (double)((a_face_2d4 const *)arg1)->length();
11874  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11875  return TCL_OK;
11876 fail:
11877  return TCL_ERROR;
11878 }
11879 
11880 
11881 SWIGINTERN int
11882 _wrap_a_face_2d4_exrx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11883  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11884  void *argp1 = 0 ;
11885  int res1 = 0 ;
11886  double result;
11887 
11888  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_2d4_exrx self ",(void *)0) == TCL_ERROR) SWIG_fail;
11889  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11890  if (!SWIG_IsOK(res1)) {
11891  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_exrx" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11892  }
11893  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11894  result = (double)((a_face_2d4 const *)arg1)->exrx();
11895  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11896  return TCL_OK;
11897 fail:
11898  return TCL_ERROR;
11899 }
11900 
11901 
11902 SWIGINTERN int
11903 _wrap_a_face_2d4_exry(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11904  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11905  void *argp1 = 0 ;
11906  int res1 = 0 ;
11907  double result;
11908 
11909  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_2d4_exry self ",(void *)0) == TCL_ERROR) SWIG_fail;
11910  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11911  if (!SWIG_IsOK(res1)) {
11912  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_exry" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11913  }
11914  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11915  result = (double)((a_face_2d4 const *)arg1)->exry();
11916  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
11917  return TCL_OK;
11918 fail:
11919  return TCL_ERROR;
11920 }
11921 
11922 
11923 SWIGINTERN int
11924 _wrap_a_face_2d4_ptsinplane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11925  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11926  a_plane *arg2 = 0 ;
11927  void *argp1 = 0 ;
11928  int res1 = 0 ;
11929  void *argp2 ;
11930  int res2 = 0 ;
11931  int result;
11932 
11933  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_2d4_ptsinplane self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11934  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11935  if (!SWIG_IsOK(res1)) {
11936  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_ptsinplane" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11937  }
11938  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11939  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_plane, 0 );
11940  if (!SWIG_IsOK(res2)) {
11941  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_2d4_ptsinplane" "', argument " "2"" of type '" "a_plane const &""'");
11942  }
11943  if (!argp2) {
11944  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_2d4_ptsinplane" "', argument " "2"" of type '" "a_plane const &""'");
11945  }
11946  arg2 = reinterpret_cast< a_plane * >(argp2);
11947  result = (int)((a_face_2d4 const *)arg1)->ptsinplane((a_plane const &)*arg2);
11948  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
11949  return TCL_OK;
11950 fail:
11951  return TCL_ERROR;
11952 }
11953 
11954 
11955 SWIGINTERN int
11956 _wrap_a_face_2d4_plane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11957  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11958  void *argp1 = 0 ;
11959  int res1 = 0 ;
11960  a_plane result;
11961 
11962  if (SWIG_GetArgs(interp, objc, objv,"o:a_face_2d4_plane self ",(void *)0) == TCL_ERROR) SWIG_fail;
11963  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11964  if (!SWIG_IsOK(res1)) {
11965  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_plane" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11966  }
11967  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11968  result = ((a_face_2d4 const *)arg1)->plane();
11969  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_plane(static_cast< const a_plane& >(result))), SWIGTYPE_p_a_plane, SWIG_POINTER_OWN | 0 ));
11970  return TCL_OK;
11971 fail:
11972  return TCL_ERROR;
11973 }
11974 
11975 
11976 SWIGINTERN int
11977 _wrap_a_face_2d4_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
11978  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
11979  int arg2 ;
11980  void *argp1 = 0 ;
11981  int res1 = 0 ;
11982  int val2 ;
11983  int ecode2 = 0 ;
11984  a_point result;
11985 
11986  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_2d4_v3d self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
11987  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
11988  if (!SWIG_IsOK(res1)) {
11989  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_v3d" "', argument " "1"" of type '" "a_face_2d4 const *""'");
11990  }
11991  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
11992  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
11993  if (!SWIG_IsOK(ecode2)) {
11994  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_2d4_v3d" "', argument " "2"" of type '" "int""'");
11995  }
11996  arg2 = static_cast< int >(val2);
11997  result = ((a_face_2d4 const *)arg1)->v3d(arg2);
11998  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
11999  return TCL_OK;
12000 fail:
12001  return TCL_ERROR;
12002 }
12003 
12004 
12005 SWIGINTERN int
12006 _wrap_a_face_2d4_contains(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12007  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
12008  a_point *arg2 = 0 ;
12009  void *argp1 = 0 ;
12010  int res1 = 0 ;
12011  void *argp2 ;
12012  int res2 = 0 ;
12013  bool result;
12014 
12015  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_2d4_contains self p ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12016  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
12017  if (!SWIG_IsOK(res1)) {
12018  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_contains" "', argument " "1"" of type '" "a_face_2d4 const *""'");
12019  }
12020  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
12021  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_point, 0 );
12022  if (!SWIG_IsOK(res2)) {
12023  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_2d4_contains" "', argument " "2"" of type '" "a_point const &""'");
12024  }
12025  if (!argp2) {
12026  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_2d4_contains" "', argument " "2"" of type '" "a_point const &""'");
12027  }
12028  arg2 = reinterpret_cast< a_point * >(argp2);
12029  result = (bool)((a_face_2d4 const *)arg1)->contains((a_point const &)*arg2);
12030  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
12031  return TCL_OK;
12032 fail:
12033  return TCL_ERROR;
12034 }
12035 
12036 
12037 SWIGINTERN int
12038 _wrap_a_face_2d4_segment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12039  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
12040  int arg2 ;
12041  void *argp1 = 0 ;
12042  int res1 = 0 ;
12043  int val2 ;
12044  int ecode2 = 0 ;
12045  a_segment result;
12046 
12047  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_2d4_segment self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12048  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
12049  if (!SWIG_IsOK(res1)) {
12050  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_segment" "', argument " "1"" of type '" "a_face_2d4 const *""'");
12051  }
12052  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
12053  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12054  if (!SWIG_IsOK(ecode2)) {
12055  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_face_2d4_segment" "', argument " "2"" of type '" "int""'");
12056  }
12057  arg2 = static_cast< int >(val2);
12058  result = ((a_face_2d4 const *)arg1)->segment(arg2);
12059  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_segment(static_cast< const a_segment& >(result))), SWIGTYPE_p_a_segment, SWIG_POINTER_OWN | 0 ));
12060  return TCL_OK;
12061 fail:
12062  return TCL_ERROR;
12063 }
12064 
12065 
12066 SWIGINTERN int
12067 _wrap_a_face_2d4_intersect(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12068  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
12069  a_segment *arg2 = 0 ;
12070  void *argp1 = 0 ;
12071  int res1 = 0 ;
12072  void *argp2 ;
12073  int res2 = 0 ;
12074  a_segment result;
12075 
12076  if (SWIG_GetArgs(interp, objc, objv,"oo:a_face_2d4_intersect self s ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12077  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, 0 | 0 );
12078  if (!SWIG_IsOK(res1)) {
12079  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_face_2d4_intersect" "', argument " "1"" of type '" "a_face_2d4 const *""'");
12080  }
12081  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
12082  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_segment, 0 );
12083  if (!SWIG_IsOK(res2)) {
12084  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_face_2d4_intersect" "', argument " "2"" of type '" "a_segment const &""'");
12085  }
12086  if (!argp2) {
12087  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_face_2d4_intersect" "', argument " "2"" of type '" "a_segment const &""'");
12088  }
12089  arg2 = reinterpret_cast< a_segment * >(argp2);
12090  result = ((a_face_2d4 const *)arg1)->intersect((a_segment const &)*arg2);
12091  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_segment(static_cast< const a_segment& >(result))), SWIGTYPE_p_a_segment, SWIG_POINTER_OWN | 0 ));
12092  return TCL_OK;
12093 fail:
12094  return TCL_ERROR;
12095 }
12096 
12097 
12098 SWIGINTERN int
12099 _wrap_delete_a_face_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12100  a_face_2d4 *arg1 = (a_face_2d4 *) 0 ;
12101  void *argp1 = 0 ;
12102  int res1 = 0 ;
12103 
12104  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_face_2d4 self ",(void *)0) == TCL_ERROR) SWIG_fail;
12105  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face_2d4, SWIG_POINTER_DISOWN | 0 );
12106  if (!SWIG_IsOK(res1)) {
12107  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_face_2d4" "', argument " "1"" of type '" "a_face_2d4 *""'");
12108  }
12109  arg1 = reinterpret_cast< a_face_2d4 * >(argp1);
12110  delete arg1;
12111 
12112  return TCL_OK;
12113 fail:
12114  return TCL_ERROR;
12115 }
12116 
12117 
12119 a_face_2d4 *arg1 = (a_face_2d4 *) obj;
12120 delete arg1;
12121 }
12123  {"thickness", _wrap_a_face_2d4_thickness},
12124  {"length", _wrap_a_face_2d4_length},
12125  {"exrx", _wrap_a_face_2d4_exrx},
12126  {"exry", _wrap_a_face_2d4_exry},
12127  {"ptsinplane", _wrap_a_face_2d4_ptsinplane},
12128  {"plane", _wrap_a_face_2d4_plane},
12129  {"v3d", _wrap_a_face_2d4_v3d},
12130  {"contains", _wrap_a_face_2d4_contains},
12131  {"segment", _wrap_a_face_2d4_segment},
12132  {"intersect", _wrap_a_face_2d4_intersect},
12133  {0,0}
12134 };
12136  {0,0,0}
12137 };
12139 static const char * swig_a_face_2d4_base_names[] = {"a_face *",0};
12141 SWIGINTERN int
12142 _wrap_cf_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12143  a_face *arg1 = (a_face *) 0 ;
12144  void *argp1 = 0 ;
12145  int res1 = 0 ;
12146  a_face_2d4 *result = 0 ;
12147 
12148  if (SWIG_GetArgs(interp, objc, objv,"o:cf_2d4 f ",(void *)0) == TCL_ERROR) SWIG_fail;
12149  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_face, 0 | 0 );
12150  if (!SWIG_IsOK(res1)) {
12151  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cf_2d4" "', argument " "1"" of type '" "a_face *""'");
12152  }
12153  arg1 = reinterpret_cast< a_face * >(argp1);
12154  result = (a_face_2d4 *)cf_2d4(arg1);
12155  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_face_2d4,0));
12156  return TCL_OK;
12157 fail:
12158  return TCL_ERROR;
12159 }
12160 
12161 
12162 SWIGINTERN int
12163 _wrap_new_a_ocriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12164  a_ocriteria *result = 0 ;
12165 
12166  if (SWIG_GetArgs(interp, objc, objv,":new_a_ocriteria ") == TCL_ERROR) SWIG_fail;
12167  result = (a_ocriteria *)new a_ocriteria();
12168  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_ocriteria,0));
12169  return TCL_OK;
12170 fail:
12171  return TCL_ERROR;
12172 }
12173 
12174 
12175 SWIGINTERN int
12176 _wrap_a_ocriteria_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12177  a_ocriteria *arg1 = (a_ocriteria *) 0 ;
12178  a_structure *arg2 = (a_structure *) 0 ;
12179  void *argp1 = 0 ;
12180  int res1 = 0 ;
12181  void *argp2 = 0 ;
12182  int res2 = 0 ;
12183  double result;
12184 
12185  if (SWIG_GetArgs(interp, objc, objv,"oo:a_ocriteria_f self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12186  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_ocriteria, 0 | 0 );
12187  if (!SWIG_IsOK(res1)) {
12188  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_ocriteria_f" "', argument " "1"" of type '" "a_ocriteria *""'");
12189  }
12190  arg1 = reinterpret_cast< a_ocriteria * >(argp1);
12191  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_structure, 0 | 0 );
12192  if (!SWIG_IsOK(res2)) {
12193  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_ocriteria_f" "', argument " "2"" of type '" "a_structure const *""'");
12194  }
12195  arg2 = reinterpret_cast< a_structure * >(argp2);
12196  result = (double)(arg1)->f((a_structure const *)arg2);
12197  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12198  return TCL_OK;
12199 fail:
12200  return TCL_ERROR;
12201 }
12202 
12203 
12204 SWIGINTERN int
12205 _wrap_delete_a_ocriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12206  a_ocriteria *arg1 = (a_ocriteria *) 0 ;
12207  void *argp1 = 0 ;
12208  int res1 = 0 ;
12209 
12210  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_ocriteria self ",(void *)0) == TCL_ERROR) SWIG_fail;
12211  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_ocriteria, SWIG_POINTER_DISOWN | 0 );
12212  if (!SWIG_IsOK(res1)) {
12213  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_ocriteria" "', argument " "1"" of type '" "a_ocriteria *""'");
12214  }
12215  arg1 = reinterpret_cast< a_ocriteria * >(argp1);
12216  delete arg1;
12217 
12218  return TCL_OK;
12219 fail:
12220  return TCL_ERROR;
12221 }
12222 
12223 
12225 a_ocriteria *arg1 = (a_ocriteria *) obj;
12226 delete arg1;
12227 }
12229  {"f", _wrap_a_ocriteria_f},
12230  {0,0}
12231 };
12233  {0,0,0}
12234 };
12236 static const char * swig_a_ocriteria_base_names[] = {0};
12238 SWIGINTERN int
12239 _wrap_new_a_ocriteria_H(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12240  int arg1 ;
12241  int arg2 ;
12242  a_point *arg3 = 0 ;
12243  int val1 ;
12244  int ecode1 = 0 ;
12245  int val2 ;
12246  int ecode2 = 0 ;
12247  void *argp3 ;
12248  int res3 = 0 ;
12249  a_ocriteria_H *result = 0 ;
12250 
12251  if (SWIG_GetArgs(interp, objc, objv,"ooo:new_a_ocriteria_H rb rf dir ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12252  ecode1 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
12253  if (!SWIG_IsOK(ecode1)) {
12254  SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_a_ocriteria_H" "', argument " "1"" of type '" "int""'");
12255  }
12256  arg1 = static_cast< int >(val1);
12257  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12258  if (!SWIG_IsOK(ecode2)) {
12259  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_a_ocriteria_H" "', argument " "2"" of type '" "int""'");
12260  }
12261  arg2 = static_cast< int >(val2);
12262  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_a_point, 0 );
12263  if (!SWIG_IsOK(res3)) {
12264  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_a_ocriteria_H" "', argument " "3"" of type '" "a_point const &""'");
12265  }
12266  if (!argp3) {
12267  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_a_ocriteria_H" "', argument " "3"" of type '" "a_point const &""'");
12268  }
12269  arg3 = reinterpret_cast< a_point * >(argp3);
12270  result = (a_ocriteria_H *)new a_ocriteria_H(arg1,arg2,(a_point const &)*arg3);
12271  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_ocriteria_H,0));
12272  return TCL_OK;
12273 fail:
12274  return TCL_ERROR;
12275 }
12276 
12277 
12278 SWIGINTERN int
12279 _wrap_delete_a_ocriteria_H(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12280  a_ocriteria_H *arg1 = (a_ocriteria_H *) 0 ;
12281  void *argp1 = 0 ;
12282  int res1 = 0 ;
12283 
12284  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_ocriteria_H self ",(void *)0) == TCL_ERROR) SWIG_fail;
12285  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_ocriteria_H, SWIG_POINTER_DISOWN | 0 );
12286  if (!SWIG_IsOK(res1)) {
12287  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_ocriteria_H" "', argument " "1"" of type '" "a_ocriteria_H *""'");
12288  }
12289  arg1 = reinterpret_cast< a_ocriteria_H * >(argp1);
12290  delete arg1;
12291 
12292  return TCL_OK;
12293 fail:
12294  return TCL_ERROR;
12295 }
12296 
12297 
12299 a_ocriteria_H *arg1 = (a_ocriteria_H *) obj;
12300 delete arg1;
12301 }
12303  {0,0}
12304 };
12306  {0,0,0}
12307 };
12309 static const char * swig_a_ocriteria_H_base_names[] = {"a_ocriteria *",0};
12311 SWIGINTERN int
12312 _wrap_new_a_ocriteria_ex(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12313  a_ocriteria_ex *result = 0 ;
12314 
12315  if (SWIG_GetArgs(interp, objc, objv,":new_a_ocriteria_ex ") == TCL_ERROR) SWIG_fail;
12316  result = (a_ocriteria_ex *)new a_ocriteria_ex();
12317  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_ocriteria_ex,0));
12318  return TCL_OK;
12319 fail:
12320  return TCL_ERROR;
12321 }
12322 
12323 
12324 SWIGINTERN int
12325 _wrap_delete_a_ocriteria_ex(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12326  a_ocriteria_ex *arg1 = (a_ocriteria_ex *) 0 ;
12327  void *argp1 = 0 ;
12328  int res1 = 0 ;
12329 
12330  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_ocriteria_ex self ",(void *)0) == TCL_ERROR) SWIG_fail;
12331  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_ocriteria_ex, SWIG_POINTER_DISOWN | 0 );
12332  if (!SWIG_IsOK(res1)) {
12333  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_ocriteria_ex" "', argument " "1"" of type '" "a_ocriteria_ex *""'");
12334  }
12335  arg1 = reinterpret_cast< a_ocriteria_ex * >(argp1);
12336  delete arg1;
12337 
12338  return TCL_OK;
12339 fail:
12340  return TCL_ERROR;
12341 }
12342 
12343 
12345 a_ocriteria_ex *arg1 = (a_ocriteria_ex *) obj;
12346 delete arg1;
12347 }
12349  {0,0}
12350 };
12352  {0,0,0}
12353 };
12355 static const char * swig_a_ocriteria_ex_base_names[] = {"a_ocriteria *",0};
12357 SWIGINTERN int
12358 _wrap_new_a_ocriteria_exmax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12359  a_ocriteria_exmax *result = 0 ;
12360 
12361  if (SWIG_GetArgs(interp, objc, objv,":new_a_ocriteria_exmax ") == TCL_ERROR) SWIG_fail;
12362  result = (a_ocriteria_exmax *)new a_ocriteria_exmax();
12363  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_ocriteria_exmax,0));
12364  return TCL_OK;
12365 fail:
12366  return TCL_ERROR;
12367 }
12368 
12369 
12370 SWIGINTERN int
12371 _wrap_delete_a_ocriteria_exmax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12372  a_ocriteria_exmax *arg1 = (a_ocriteria_exmax *) 0 ;
12373  void *argp1 = 0 ;
12374  int res1 = 0 ;
12375 
12376  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_ocriteria_exmax self ",(void *)0) == TCL_ERROR) SWIG_fail;
12378  if (!SWIG_IsOK(res1)) {
12379  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_ocriteria_exmax" "', argument " "1"" of type '" "a_ocriteria_exmax *""'");
12380  }
12381  arg1 = reinterpret_cast< a_ocriteria_exmax * >(argp1);
12382  delete arg1;
12383 
12384  return TCL_OK;
12385 fail:
12386  return TCL_ERROR;
12387 }
12388 
12389 
12391 a_ocriteria_exmax *arg1 = (a_ocriteria_exmax *) obj;
12392 delete arg1;
12393 }
12395  {0,0}
12396 };
12398  {0,0,0}
12399 };
12401 static const char * swig_a_ocriteria_exmax_base_names[] = {"a_ocriteria *",0};
12403 SWIGINTERN int
12404 _wrap_new_a_fcriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12405  a_fcriteria *result = 0 ;
12406 
12407  if (SWIG_GetArgs(interp, objc, objv,":new_a_fcriteria ") == TCL_ERROR) SWIG_fail;
12408  result = (a_fcriteria *)new a_fcriteria();
12409  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_fcriteria,0));
12410  return TCL_OK;
12411 fail:
12412  return TCL_ERROR;
12413 }
12414 
12415 
12416 SWIGINTERN int
12417 _wrap_a_fcriteria_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12418  std::string result;
12419 
12420  if (SWIG_GetArgs(interp, objc, objv,":a_fcriteria_help ") == TCL_ERROR) SWIG_fail;
12421  result = a_fcriteria::help();
12422  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
12423  return TCL_OK;
12424 fail:
12425  return TCL_ERROR;
12426 }
12427 
12428 
12429 SWIGINTERN int
12430 _wrap_a_fcriteria_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12431  a_fcriteria *arg1 = (a_fcriteria *) 0 ;
12432  a_face *arg2 = (a_face *) 0 ;
12433  void *argp1 = 0 ;
12434  int res1 = 0 ;
12435  void *argp2 = 0 ;
12436  int res2 = 0 ;
12437  bool result;
12438 
12439  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_ok self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12440  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria, 0 | 0 );
12441  if (!SWIG_IsOK(res1)) {
12442  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_ok" "', argument " "1"" of type '" "a_fcriteria const *""'");
12443  }
12444  arg1 = reinterpret_cast< a_fcriteria * >(argp1);
12445  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_face, 0 | 0 );
12446  if (!SWIG_IsOK(res2)) {
12447  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_fcriteria_ok" "', argument " "2"" of type '" "a_face const *""'");
12448  }
12449  arg2 = reinterpret_cast< a_face * >(argp2);
12450  result = (bool)((a_fcriteria const *)arg1)->ok((a_face const *)arg2);
12451  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
12452  return TCL_OK;
12453 fail:
12454  return TCL_ERROR;
12455 }
12456 
12457 
12458 SWIGINTERN int
12459 _wrap_a_fcriteria_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12460  a_fcriteria *arg1 = (a_fcriteria *) 0 ;
12461  a_face *arg2 = (a_face *) 0 ;
12462  void *argp1 = 0 ;
12463  int res1 = 0 ;
12464  void *argp2 = 0 ;
12465  int res2 = 0 ;
12466  double result;
12467 
12468  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_penalty self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12469  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria, 0 | 0 );
12470  if (!SWIG_IsOK(res1)) {
12471  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_penalty" "', argument " "1"" of type '" "a_fcriteria const *""'");
12472  }
12473  arg1 = reinterpret_cast< a_fcriteria * >(argp1);
12474  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_face, 0 | 0 );
12475  if (!SWIG_IsOK(res2)) {
12476  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_fcriteria_penalty" "', argument " "2"" of type '" "a_face const *""'");
12477  }
12478  arg2 = reinterpret_cast< a_face * >(argp2);
12479  result = (double)((a_fcriteria const *)arg1)->penalty((a_face const *)arg2);
12480  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12481  return TCL_OK;
12482 fail:
12483  return TCL_ERROR;
12484 }
12485 
12486 
12487 SWIGINTERN int
12488 _wrap_a_fcriteria_verysmall__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12489  a_fcriteria *arg1 = (a_fcriteria *) 0 ;
12490  double arg2 ;
12491  void *argp1 = 0 ;
12492  int res1 = 0 ;
12493  double val2 ;
12494  int ecode2 = 0 ;
12495 
12496  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_verysmall self small ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12497  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria, 0 | 0 );
12498  if (!SWIG_IsOK(res1)) {
12499  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_verysmall" "', argument " "1"" of type '" "a_fcriteria *""'");
12500  }
12501  arg1 = reinterpret_cast< a_fcriteria * >(argp1);
12502  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12503  if (!SWIG_IsOK(ecode2)) {
12504  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_fcriteria_verysmall" "', argument " "2"" of type '" "double""'");
12505  }
12506  arg2 = static_cast< double >(val2);
12507  (arg1)->verysmall(arg2);
12508 
12509  return TCL_OK;
12510 fail:
12511  return TCL_ERROR;
12512 }
12513 
12514 
12515 SWIGINTERN int
12516 _wrap_a_fcriteria_verysmall__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12517  a_fcriteria *arg1 = (a_fcriteria *) 0 ;
12518  void *argp1 = 0 ;
12519  int res1 = 0 ;
12520  double result;
12521 
12522  if (SWIG_GetArgs(interp, objc, objv,"o:a_fcriteria_verysmall self ",(void *)0) == TCL_ERROR) SWIG_fail;
12523  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria, 0 | 0 );
12524  if (!SWIG_IsOK(res1)) {
12525  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_verysmall" "', argument " "1"" of type '" "a_fcriteria *""'");
12526  }
12527  arg1 = reinterpret_cast< a_fcriteria * >(argp1);
12528  result = (double)(arg1)->verysmall();
12529  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12530  return TCL_OK;
12531 fail:
12532  return TCL_ERROR;
12533 }
12534 
12535 
12536 SWIGINTERN int
12537 _wrap_a_fcriteria_verysmall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12538  Tcl_Obj *CONST *argv = objv+1;
12539  int argc = objc-1;
12540  if (argc == 1) {
12541  int _v;
12542  void *vptr = 0;
12543  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria, 0);
12544  _v = SWIG_CheckState(res);
12545  if (_v) {
12546  return _wrap_a_fcriteria_verysmall__SWIG_1(clientData, interp, objc, argv - 1);
12547  }
12548  }
12549  if (argc == 2) {
12550  int _v;
12551  void *vptr = 0;
12552  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria, 0);
12553  _v = SWIG_CheckState(res);
12554  if (_v) {
12555  {
12556  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
12557  _v = SWIG_CheckState(res);
12558  }
12559  if (_v) {
12560  return _wrap_a_fcriteria_verysmall__SWIG_0(clientData, interp, objc, argv - 1);
12561  }
12562  }
12563  }
12564 
12565  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_fcriteria_verysmall'.\n"
12566  " Possible C/C++ prototypes are:\n"
12567  " a_fcriteria::verysmall(double const)\n"
12568  " a_fcriteria::verysmall()\n", TCL_STATIC);
12569  return TCL_ERROR;
12570 }
12571 
12572 
12573 SWIGINTERN int
12574 _wrap_delete_a_fcriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12575  a_fcriteria *arg1 = (a_fcriteria *) 0 ;
12576  void *argp1 = 0 ;
12577  int res1 = 0 ;
12578 
12579  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_fcriteria self ",(void *)0) == TCL_ERROR) SWIG_fail;
12580  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria, SWIG_POINTER_DISOWN | 0 );
12581  if (!SWIG_IsOK(res1)) {
12582  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_fcriteria" "', argument " "1"" of type '" "a_fcriteria *""'");
12583  }
12584  arg1 = reinterpret_cast< a_fcriteria * >(argp1);
12585  delete arg1;
12586 
12587  return TCL_OK;
12588 fail:
12589  return TCL_ERROR;
12590 }
12591 
12592 
12594 a_fcriteria *arg1 = (a_fcriteria *) obj;
12595 delete arg1;
12596 }
12598  {"ok", _wrap_a_fcriteria_ok},
12599  {"penalty", _wrap_a_fcriteria_penalty},
12600  {"verysmall", _wrap_a_fcriteria_verysmall},
12601  {0,0}
12602 };
12604  {0,0,0}
12605 };
12607 static const char * swig_a_fcriteria_base_names[] = {0};
12609 SWIGINTERN int
12610 _wrap_a_fcriteria_in_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12611  std::string result;
12612 
12613  if (SWIG_GetArgs(interp, objc, objv,":a_fcriteria_in_help ") == TCL_ERROR) SWIG_fail;
12614  result = a_fcriteria_in::help();
12615  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
12616  return TCL_OK;
12617 fail:
12618  return TCL_ERROR;
12619 }
12620 
12621 
12622 SWIGINTERN int
12623 _wrap_a_fcriteria_in_max__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12624  a_fcriteria_in *arg1 = (a_fcriteria_in *) 0 ;
12625  double arg2 ;
12626  void *argp1 = 0 ;
12627  int res1 = 0 ;
12628  double val2 ;
12629  int ecode2 = 0 ;
12630 
12631  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_in_max self v ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12632  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_in, 0 | 0 );
12633  if (!SWIG_IsOK(res1)) {
12634  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_in_max" "', argument " "1"" of type '" "a_fcriteria_in *""'");
12635  }
12636  arg1 = reinterpret_cast< a_fcriteria_in * >(argp1);
12637  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12638  if (!SWIG_IsOK(ecode2)) {
12639  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_fcriteria_in_max" "', argument " "2"" of type '" "double""'");
12640  }
12641  arg2 = static_cast< double >(val2);
12642  (arg1)->max(arg2);
12643 
12644  return TCL_OK;
12645 fail:
12646  return TCL_ERROR;
12647 }
12648 
12649 
12650 SWIGINTERN int
12651 _wrap_a_fcriteria_in_max__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12652  a_fcriteria_in *arg1 = (a_fcriteria_in *) 0 ;
12653  void *argp1 = 0 ;
12654  int res1 = 0 ;
12655  double result;
12656 
12657  if (SWIG_GetArgs(interp, objc, objv,"o:a_fcriteria_in_max self ",(void *)0) == TCL_ERROR) SWIG_fail;
12658  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_in, 0 | 0 );
12659  if (!SWIG_IsOK(res1)) {
12660  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_in_max" "', argument " "1"" of type '" "a_fcriteria_in const *""'");
12661  }
12662  arg1 = reinterpret_cast< a_fcriteria_in * >(argp1);
12663  result = (double)((a_fcriteria_in const *)arg1)->max();
12664  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12665  return TCL_OK;
12666 fail:
12667  return TCL_ERROR;
12668 }
12669 
12670 
12671 SWIGINTERN int
12672 _wrap_a_fcriteria_in_max(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12673  Tcl_Obj *CONST *argv = objv+1;
12674  int argc = objc-1;
12675  if (argc == 1) {
12676  int _v;
12677  void *vptr = 0;
12678  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_in, 0);
12679  _v = SWIG_CheckState(res);
12680  if (_v) {
12681  return _wrap_a_fcriteria_in_max__SWIG_1(clientData, interp, objc, argv - 1);
12682  }
12683  }
12684  if (argc == 2) {
12685  int _v;
12686  void *vptr = 0;
12687  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_in, 0);
12688  _v = SWIG_CheckState(res);
12689  if (_v) {
12690  {
12691  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
12692  _v = SWIG_CheckState(res);
12693  }
12694  if (_v) {
12695  return _wrap_a_fcriteria_in_max__SWIG_0(clientData, interp, objc, argv - 1);
12696  }
12697  }
12698  }
12699 
12700  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_fcriteria_in_max'.\n"
12701  " Possible C/C++ prototypes are:\n"
12702  " a_fcriteria_in::max(double)\n"
12703  " a_fcriteria_in::max() const\n", TCL_STATIC);
12704  return TCL_ERROR;
12705 }
12706 
12707 
12708 SWIGINTERN int
12709 _wrap_new_a_fcriteria_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12710  a_fcriteria_in *result = 0 ;
12711 
12712  if (SWIG_GetArgs(interp, objc, objv,":new_a_fcriteria_in ") == TCL_ERROR) SWIG_fail;
12713  result = (a_fcriteria_in *)new a_fcriteria_in();
12714  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_fcriteria_in,0));
12715  return TCL_OK;
12716 fail:
12717  return TCL_ERROR;
12718 }
12719 
12720 
12721 SWIGINTERN int
12722 _wrap_delete_a_fcriteria_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12723  a_fcriteria_in *arg1 = (a_fcriteria_in *) 0 ;
12724  void *argp1 = 0 ;
12725  int res1 = 0 ;
12726 
12727  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_fcriteria_in self ",(void *)0) == TCL_ERROR) SWIG_fail;
12728  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_in, SWIG_POINTER_DISOWN | 0 );
12729  if (!SWIG_IsOK(res1)) {
12730  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_fcriteria_in" "', argument " "1"" of type '" "a_fcriteria_in *""'");
12731  }
12732  arg1 = reinterpret_cast< a_fcriteria_in * >(argp1);
12733  delete arg1;
12734 
12735  return TCL_OK;
12736 fail:
12737  return TCL_ERROR;
12738 }
12739 
12740 
12742 a_fcriteria_in *arg1 = (a_fcriteria_in *) obj;
12743 delete arg1;
12744 }
12746  {"max", _wrap_a_fcriteria_in_max},
12747  {0,0}
12748 };
12750  {0,0,0}
12751 };
12753 static const char * swig_a_fcriteria_in_base_names[] = {"a_fcriteria *",0};
12755 SWIGINTERN int
12756 _wrap_a_fcriteria_coulomb_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12757  std::string result;
12758 
12759  if (SWIG_GetArgs(interp, objc, objv,":a_fcriteria_coulomb_help ") == TCL_ERROR) SWIG_fail;
12760  result = a_fcriteria_coulomb::help();
12761  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
12762  return TCL_OK;
12763 fail:
12764  return TCL_ERROR;
12765 }
12766 
12767 
12768 SWIGINTERN int
12769 _wrap_a_fcriteria_coulomb_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12771  double arg2 ;
12772  void *argp1 = 0 ;
12773  int res1 = 0 ;
12774  double val2 ;
12775  int ecode2 = 0 ;
12776 
12777  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_coulomb_f self v ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12778  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_coulomb, 0 | 0 );
12779  if (!SWIG_IsOK(res1)) {
12780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_coulomb_f" "', argument " "1"" of type '" "a_fcriteria_coulomb *""'");
12781  }
12782  arg1 = reinterpret_cast< a_fcriteria_coulomb * >(argp1);
12783  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12784  if (!SWIG_IsOK(ecode2)) {
12785  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_fcriteria_coulomb_f" "', argument " "2"" of type '" "double""'");
12786  }
12787  arg2 = static_cast< double >(val2);
12788  (arg1)->f(arg2);
12789 
12790  return TCL_OK;
12791 fail:
12792  return TCL_ERROR;
12793 }
12794 
12795 
12796 SWIGINTERN int
12797 _wrap_a_fcriteria_coulomb_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12799  void *argp1 = 0 ;
12800  int res1 = 0 ;
12801  double result;
12802 
12803  if (SWIG_GetArgs(interp, objc, objv,"o:a_fcriteria_coulomb_f self ",(void *)0) == TCL_ERROR) SWIG_fail;
12804  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_coulomb, 0 | 0 );
12805  if (!SWIG_IsOK(res1)) {
12806  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_coulomb_f" "', argument " "1"" of type '" "a_fcriteria_coulomb const *""'");
12807  }
12808  arg1 = reinterpret_cast< a_fcriteria_coulomb * >(argp1);
12809  result = (double)((a_fcriteria_coulomb const *)arg1)->f();
12810  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12811  return TCL_OK;
12812 fail:
12813  return TCL_ERROR;
12814 }
12815 
12816 
12817 SWIGINTERN int
12818 _wrap_a_fcriteria_coulomb_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12819  Tcl_Obj *CONST *argv = objv+1;
12820  int argc = objc-1;
12821  if (argc == 1) {
12822  int _v;
12823  void *vptr = 0;
12824  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_coulomb, 0);
12825  _v = SWIG_CheckState(res);
12826  if (_v) {
12827  return _wrap_a_fcriteria_coulomb_f__SWIG_1(clientData, interp, objc, argv - 1);
12828  }
12829  }
12830  if (argc == 2) {
12831  int _v;
12832  void *vptr = 0;
12833  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_coulomb, 0);
12834  _v = SWIG_CheckState(res);
12835  if (_v) {
12836  {
12837  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
12838  _v = SWIG_CheckState(res);
12839  }
12840  if (_v) {
12841  return _wrap_a_fcriteria_coulomb_f__SWIG_0(clientData, interp, objc, argv - 1);
12842  }
12843  }
12844  }
12845 
12846  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_fcriteria_coulomb_f'.\n"
12847  " Possible C/C++ prototypes are:\n"
12848  " a_fcriteria_coulomb::f(double)\n"
12849  " a_fcriteria_coulomb::f() const\n", TCL_STATIC);
12850  return TCL_ERROR;
12851 }
12852 
12853 
12854 SWIGINTERN int
12855 _wrap_a_fcriteria_coulomb_c__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12857  double arg2 ;
12858  void *argp1 = 0 ;
12859  int res1 = 0 ;
12860  double val2 ;
12861  int ecode2 = 0 ;
12862 
12863  if (SWIG_GetArgs(interp, objc, objv,"oo:a_fcriteria_coulomb_c self v ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
12864  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_coulomb, 0 | 0 );
12865  if (!SWIG_IsOK(res1)) {
12866  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_coulomb_c" "', argument " "1"" of type '" "a_fcriteria_coulomb *""'");
12867  }
12868  arg1 = reinterpret_cast< a_fcriteria_coulomb * >(argp1);
12869  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
12870  if (!SWIG_IsOK(ecode2)) {
12871  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_fcriteria_coulomb_c" "', argument " "2"" of type '" "double""'");
12872  }
12873  arg2 = static_cast< double >(val2);
12874  (arg1)->c(arg2);
12875 
12876  return TCL_OK;
12877 fail:
12878  return TCL_ERROR;
12879 }
12880 
12881 
12882 SWIGINTERN int
12883 _wrap_a_fcriteria_coulomb_c__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12885  void *argp1 = 0 ;
12886  int res1 = 0 ;
12887  double result;
12888 
12889  if (SWIG_GetArgs(interp, objc, objv,"o:a_fcriteria_coulomb_c self ",(void *)0) == TCL_ERROR) SWIG_fail;
12890  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_fcriteria_coulomb, 0 | 0 );
12891  if (!SWIG_IsOK(res1)) {
12892  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_fcriteria_coulomb_c" "', argument " "1"" of type '" "a_fcriteria_coulomb const *""'");
12893  }
12894  arg1 = reinterpret_cast< a_fcriteria_coulomb * >(argp1);
12895  result = (double)((a_fcriteria_coulomb const *)arg1)->c();
12896  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
12897  return TCL_OK;
12898 fail:
12899  return TCL_ERROR;
12900 }
12901 
12902 
12903 SWIGINTERN int
12904 _wrap_a_fcriteria_coulomb_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12905  Tcl_Obj *CONST *argv = objv+1;
12906  int argc = objc-1;
12907  if (argc == 1) {
12908  int _v;
12909  void *vptr = 0;
12910  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_coulomb, 0);
12911  _v = SWIG_CheckState(res);
12912  if (_v) {
12913  return _wrap_a_fcriteria_coulomb_c__SWIG_1(clientData, interp, objc, argv - 1);
12914  }
12915  }
12916  if (argc == 2) {
12917  int _v;
12918  void *vptr = 0;
12919  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_fcriteria_coulomb, 0);
12920  _v = SWIG_CheckState(res);
12921  if (_v) {
12922  {
12923  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
12924  _v = SWIG_CheckState(res);
12925  }
12926  if (_v) {
12927  return _wrap_a_fcriteria_coulomb_c__SWIG_0(clientData, interp, objc, argv - 1);
12928  }
12929  }
12930  }
12931 
12932  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_fcriteria_coulomb_c'.\n"
12933  " Possible C/C++ prototypes are:\n"
12934  " a_fcriteria_coulomb::c(double)\n"
12935  " a_fcriteria_coulomb::c() const\n", TCL_STATIC);
12936  return TCL_ERROR;
12937 }
12938 
12939 
12940 SWIGINTERN int
12941 _wrap_new_a_fcriteria_coulomb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12942  a_fcriteria_coulomb *result = 0 ;
12943 
12944  if (SWIG_GetArgs(interp, objc, objv,":new_a_fcriteria_coulomb ") == TCL_ERROR) SWIG_fail;
12945  result = (a_fcriteria_coulomb *)new a_fcriteria_coulomb();
12946  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_fcriteria_coulomb,0));
12947  return TCL_OK;
12948 fail:
12949  return TCL_ERROR;
12950 }
12951 
12952 
12953 SWIGINTERN int
12954 _wrap_delete_a_fcriteria_coulomb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12956  void *argp1 = 0 ;
12957  int res1 = 0 ;
12958 
12959  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_fcriteria_coulomb self ",(void *)0) == TCL_ERROR) SWIG_fail;
12961  if (!SWIG_IsOK(res1)) {
12962  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_fcriteria_coulomb" "', argument " "1"" of type '" "a_fcriteria_coulomb *""'");
12963  }
12964  arg1 = reinterpret_cast< a_fcriteria_coulomb * >(argp1);
12965  delete arg1;
12966 
12967  return TCL_OK;
12968 fail:
12969  return TCL_ERROR;
12970 }
12971 
12972 
12975 delete arg1;
12976 }
12980  {0,0}
12981 };
12983  {0,0,0}
12984 };
12986 static const char * swig_a_fcriteria_coulomb_base_names[] = {"a_fcriteria_in *",0};
12988 SWIGINTERN int
12989 _wrap_new_a_contact(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
12990  a_contact *result = 0 ;
12991 
12992  if (SWIG_GetArgs(interp, objc, objv,":new_a_contact ") == TCL_ERROR) SWIG_fail;
12993  result = (a_contact *)new a_contact();
12994  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_contact,0));
12995  return TCL_OK;
12996 fail:
12997  return TCL_ERROR;
12998 }
12999 
13000 
13001 SWIGINTERN int
13002 _wrap_a_contact_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13003  a_contact *arg1 = (a_contact *) 0 ;
13004  void *argp1 = 0 ;
13005  int res1 = 0 ;
13006  int result;
13007 
13008  if (SWIG_GetArgs(interp, objc, objv,"o:a_contact_nv self ",(void *)0) == TCL_ERROR) SWIG_fail;
13009  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13010  if (!SWIG_IsOK(res1)) {
13011  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_nv" "', argument " "1"" of type '" "a_contact const *""'");
13012  }
13013  arg1 = reinterpret_cast< a_contact * >(argp1);
13014  result = (int)((a_contact const *)arg1)->nv();
13015  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
13016  return TCL_OK;
13017 fail:
13018  return TCL_ERROR;
13019 }
13020 
13021 
13022 SWIGINTERN int
13023 _wrap_a_contact_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13024  a_contact *arg1 = (a_contact *) 0 ;
13025  int arg2 ;
13026  void *argp1 = 0 ;
13027  int res1 = 0 ;
13028  int val2 ;
13029  int ecode2 = 0 ;
13030  a_point result;
13031 
13032  if (SWIG_GetArgs(interp, objc, objv,"oo:a_contact_v self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13033  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13034  if (!SWIG_IsOK(res1)) {
13035  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_v" "', argument " "1"" of type '" "a_contact const *""'");
13036  }
13037  arg1 = reinterpret_cast< a_contact * >(argp1);
13038  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
13039  if (!SWIG_IsOK(ecode2)) {
13040  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_contact_v" "', argument " "2"" of type '" "int""'");
13041  }
13042  arg2 = static_cast< int >(val2);
13043  result = ((a_contact const *)arg1)->v(arg2);
13044  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
13045  return TCL_OK;
13046 fail:
13047  return TCL_ERROR;
13048 }
13049 
13050 
13051 SWIGINTERN int
13052 _wrap_a_contact_s(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13053  a_contact *arg1 = (a_contact *) 0 ;
13054  int arg2 ;
13055  void *argp1 = 0 ;
13056  int res1 = 0 ;
13057  int val2 ;
13058  int ecode2 = 0 ;
13059  a_segment result;
13060 
13061  if (SWIG_GetArgs(interp, objc, objv,"oo:a_contact_s self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13062  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13063  if (!SWIG_IsOK(res1)) {
13064  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_s" "', argument " "1"" of type '" "a_contact const *""'");
13065  }
13066  arg1 = reinterpret_cast< a_contact * >(argp1);
13067  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
13068  if (!SWIG_IsOK(ecode2)) {
13069  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_contact_s" "', argument " "2"" of type '" "int""'");
13070  }
13071  arg2 = static_cast< int >(val2);
13072  result = ((a_contact const *)arg1)->s(arg2);
13073  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_segment(static_cast< const a_segment& >(result))), SWIGTYPE_p_a_segment, SWIG_POINTER_OWN | 0 ));
13074  return TCL_OK;
13075 fail:
13076  return TCL_ERROR;
13077 }
13078 
13079 
13080 SWIGINTERN int
13081 _wrap_a_contact_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13082  a_contact *arg1 = (a_contact *) 0 ;
13083  a_wrench *arg2 = 0 ;
13084  void *argp1 = 0 ;
13085  int res1 = 0 ;
13086  void *argp2 ;
13087  int res2 = 0 ;
13088 
13089  if (SWIG_GetArgs(interp, objc, objv,"oo:a_contact_f self f ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13090  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13091  if (!SWIG_IsOK(res1)) {
13092  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_f" "', argument " "1"" of type '" "a_contact *""'");
13093  }
13094  arg1 = reinterpret_cast< a_contact * >(argp1);
13095  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_wrench, 0 );
13096  if (!SWIG_IsOK(res2)) {
13097  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_contact_f" "', argument " "2"" of type '" "a_wrench const &""'");
13098  }
13099  if (!argp2) {
13100  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_contact_f" "', argument " "2"" of type '" "a_wrench const &""'");
13101  }
13102  arg2 = reinterpret_cast< a_wrench * >(argp2);
13103  (arg1)->f((a_wrench const &)*arg2);
13104 
13105  return TCL_OK;
13106 fail:
13107  return TCL_ERROR;
13108 }
13109 
13110 
13111 SWIGINTERN int
13112 _wrap_a_contact_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13113  a_contact *arg1 = (a_contact *) 0 ;
13114  void *argp1 = 0 ;
13115  int res1 = 0 ;
13116  a_wrench result;
13117 
13118  if (SWIG_GetArgs(interp, objc, objv,"o:a_contact_f self ",(void *)0) == TCL_ERROR) SWIG_fail;
13119  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13120  if (!SWIG_IsOK(res1)) {
13121  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_f" "', argument " "1"" of type '" "a_contact *""'");
13122  }
13123  arg1 = reinterpret_cast< a_contact * >(argp1);
13124  result = (arg1)->f();
13125  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
13126  return TCL_OK;
13127 fail:
13128  return TCL_ERROR;
13129 }
13130 
13131 
13132 SWIGINTERN int
13133 _wrap_a_contact_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13134  Tcl_Obj *CONST *argv = objv+1;
13135  int argc = objc-1;
13136  if (argc == 1) {
13137  int _v;
13138  void *vptr = 0;
13139  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_contact, 0);
13140  _v = SWIG_CheckState(res);
13141  if (_v) {
13142  return _wrap_a_contact_f__SWIG_1(clientData, interp, objc, argv - 1);
13143  }
13144  }
13145  if (argc == 2) {
13146  int _v;
13147  void *vptr = 0;
13148  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_contact, 0);
13149  _v = SWIG_CheckState(res);
13150  if (_v) {
13151  void *vptr = 0;
13152  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_wrench, SWIG_POINTER_NO_NULL);
13153  _v = SWIG_CheckState(res);
13154  if (_v) {
13155  return _wrap_a_contact_f__SWIG_0(clientData, interp, objc, argv - 1);
13156  }
13157  }
13158  }
13159 
13160  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_contact_f'.\n"
13161  " Possible C/C++ prototypes are:\n"
13162  " a_contact::f(a_wrench const &)\n"
13163  " a_contact::f()\n", TCL_STATIC);
13164  return TCL_ERROR;
13165 }
13166 
13167 
13168 SWIGINTERN int
13169 _wrap_a_contact_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13170  a_contact *arg1 = (a_contact *) 0 ;
13171  void *argp1 = 0 ;
13172  int res1 = 0 ;
13173  std::string result;
13174 
13175  if (SWIG_GetArgs(interp, objc, objv,"o:a_contact_print self ",(void *)0) == TCL_ERROR) SWIG_fail;
13176  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, 0 | 0 );
13177  if (!SWIG_IsOK(res1)) {
13178  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_contact_print" "', argument " "1"" of type '" "a_contact *""'");
13179  }
13180  arg1 = reinterpret_cast< a_contact * >(argp1);
13181  result = a_contact_print(arg1);
13182  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
13183  return TCL_OK;
13184 fail:
13185  return TCL_ERROR;
13186 }
13187 
13188 
13189 SWIGINTERN int
13190 _wrap_delete_a_contact(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13191  a_contact *arg1 = (a_contact *) 0 ;
13192  void *argp1 = 0 ;
13193  int res1 = 0 ;
13194 
13195  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_contact self ",(void *)0) == TCL_ERROR) SWIG_fail;
13196  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_contact, SWIG_POINTER_DISOWN | 0 );
13197  if (!SWIG_IsOK(res1)) {
13198  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_contact" "', argument " "1"" of type '" "a_contact *""'");
13199  }
13200  arg1 = reinterpret_cast< a_contact * >(argp1);
13201  delete arg1;
13202 
13203  return TCL_OK;
13204 fail:
13205  return TCL_ERROR;
13206 }
13207 
13208 
13210 a_contact *arg1 = (a_contact *) obj;
13211 delete arg1;
13212 }
13214  {"nv", _wrap_a_contact_nv},
13215  {"v", _wrap_a_contact_v},
13216  {"s", _wrap_a_contact_s},
13217  {"f", _wrap_a_contact_f},
13218  {"print", _wrap_a_contact_print},
13219  {0,0}
13220 };
13222  {0,0,0}
13223 };
13225 static const char * swig_a_contact_base_names[] = {0};
13227 SWIGINTERN int
13228 _wrap_new_a_structure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13229  a_structure *result = 0 ;
13230 
13231  if (SWIG_GetArgs(interp, objc, objv,":new_a_structure ") == TCL_ERROR) SWIG_fail;
13232  try {
13233  result = (a_structure *)new a_structure();
13234  } catch(...) {
13235  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13236  }
13237  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_structure,0));
13238  return TCL_OK;
13239 fail:
13240  return TCL_ERROR;
13241 }
13242 
13243 
13244 SWIGINTERN int
13245 _wrap_delete_a_structure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13246  a_structure *arg1 = (a_structure *) 0 ;
13247  void *argp1 = 0 ;
13248  int res1 = 0 ;
13249 
13250  if (SWIG_GetArgs(interp, objc, objv,"o:delete_a_structure self ",(void *)0) == TCL_ERROR) SWIG_fail;
13251  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, SWIG_POINTER_DISOWN | 0 );
13252  if (!SWIG_IsOK(res1)) {
13253  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_a_structure" "', argument " "1"" of type '" "a_structure *""'");
13254  }
13255  arg1 = reinterpret_cast< a_structure * >(argp1);
13256  delete arg1;
13257 
13258  return TCL_OK;
13259 fail:
13260  return TCL_ERROR;
13261 }
13262 
13263 
13264 SWIGINTERN int
13265 _wrap_a_structure_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13266  a_structure *arg1 = (a_structure *) 0 ;
13267  void *argp1 = 0 ;
13268  int res1 = 0 ;
13269 
13270  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_clear self ",(void *)0) == TCL_ERROR) SWIG_fail;
13271  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13272  if (!SWIG_IsOK(res1)) {
13273  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_clear" "', argument " "1"" of type '" "a_structure *""'");
13274  }
13275  arg1 = reinterpret_cast< a_structure * >(argp1);
13276  try {
13277  (arg1)->clear();
13278  } catch(...) {
13279  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13280  }
13281 
13282  return TCL_OK;
13283 fail:
13284  return TCL_ERROR;
13285 }
13286 
13287 
13288 SWIGINTERN int
13289 _wrap_a_structure_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13290  std::string result;
13291 
13292  if (SWIG_GetArgs(interp, objc, objv,":a_structure_help ") == TCL_ERROR) SWIG_fail;
13293  try {
13294  result = a_structure::help();
13295  } catch(...) {
13296  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13297  }
13298  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
13299  return TCL_OK;
13300 fail:
13301  return TCL_ERROR;
13302 }
13303 
13304 
13305 SWIGINTERN int
13306 _wrap_a_structure_nb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13307  a_structure *arg1 = (a_structure *) 0 ;
13308  void *argp1 = 0 ;
13309  int res1 = 0 ;
13310  int result;
13311 
13312  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_nb self ",(void *)0) == TCL_ERROR) SWIG_fail;
13313  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13314  if (!SWIG_IsOK(res1)) {
13315  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_nb" "', argument " "1"" of type '" "a_structure const *""'");
13316  }
13317  arg1 = reinterpret_cast< a_structure * >(argp1);
13318  try {
13319  result = (int)((a_structure const *)arg1)->nb();
13320  } catch(...) {
13321  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13322  }
13323  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
13324  return TCL_OK;
13325 fail:
13326  return TCL_ERROR;
13327 }
13328 
13329 
13330 SWIGINTERN int
13331 _wrap_a_structure_rb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13332  a_structure *arg1 = (a_structure *) 0 ;
13333  a_block *arg2 = (a_block *) 0 ;
13334  void *argp1 = 0 ;
13335  int res1 = 0 ;
13336  void *argp2 = 0 ;
13337  int res2 = 0 ;
13338  int result;
13339 
13340  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_rb self b ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13341  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13342  if (!SWIG_IsOK(res1)) {
13343  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_rb" "', argument " "1"" of type '" "a_structure const *""'");
13344  }
13345  arg1 = reinterpret_cast< a_structure * >(argp1);
13346  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_block, 0 | 0 );
13347  if (!SWIG_IsOK(res2)) {
13348  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_rb" "', argument " "2"" of type '" "a_block const *""'");
13349  }
13350  arg2 = reinterpret_cast< a_block * >(argp2);
13351  try {
13352  result = (int)((a_structure const *)arg1)->rb((a_block const *)arg2);
13353  } catch(...) {
13354  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13355  }
13356  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
13357  return TCL_OK;
13358 fail:
13359  return TCL_ERROR;
13360 }
13361 
13362 
13363 SWIGINTERN int
13364 _wrap_a_structure_V(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13365  a_structure *arg1 = (a_structure *) 0 ;
13366  void *argp1 = 0 ;
13367  int res1 = 0 ;
13368  double result;
13369 
13370  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_V self ",(void *)0) == TCL_ERROR) SWIG_fail;
13371  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13372  if (!SWIG_IsOK(res1)) {
13373  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_V" "', argument " "1"" of type '" "a_structure const *""'");
13374  }
13375  arg1 = reinterpret_cast< a_structure * >(argp1);
13376  try {
13377  result = (double)((a_structure const *)arg1)->V();
13378  } catch(...) {
13379  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13380  }
13381  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
13382  return TCL_OK;
13383 fail:
13384  return TCL_ERROR;
13385 }
13386 
13387 
13388 SWIGINTERN int
13389 _wrap_a_structure_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13390  a_structure *arg1 = (a_structure *) 0 ;
13391  void *argp1 = 0 ;
13392  int res1 = 0 ;
13393  a_point result;
13394 
13395  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_c self ",(void *)0) == TCL_ERROR) SWIG_fail;
13396  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13397  if (!SWIG_IsOK(res1)) {
13398  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_c" "', argument " "1"" of type '" "a_structure const *""'");
13399  }
13400  arg1 = reinterpret_cast< a_structure * >(argp1);
13401  try {
13402  result = ((a_structure const *)arg1)->c();
13403  } catch(...) {
13404  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13405  }
13406  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_point(static_cast< const a_point& >(result))), SWIGTYPE_p_a_point, SWIG_POINTER_OWN | 0 ));
13407  return TCL_OK;
13408 fail:
13409  return TCL_ERROR;
13410 }
13411 
13412 
13413 SWIGINTERN int
13414 _wrap_a_structure_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13415  a_structure *arg1 = (a_structure *) 0 ;
13416  void *argp1 = 0 ;
13417  int res1 = 0 ;
13418  double result;
13419 
13420  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_m self ",(void *)0) == TCL_ERROR) SWIG_fail;
13421  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13422  if (!SWIG_IsOK(res1)) {
13423  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_m" "', argument " "1"" of type '" "a_structure const *""'");
13424  }
13425  arg1 = reinterpret_cast< a_structure * >(argp1);
13426  try {
13427  result = (double)((a_structure const *)arg1)->m();
13428  } catch(...) {
13429  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13430  }
13431  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
13432  return TCL_OK;
13433 fail:
13434  return TCL_ERROR;
13435 }
13436 
13437 
13438 SWIGINTERN int
13439 _wrap_a_structure_Ws(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13440  a_structure *arg1 = (a_structure *) 0 ;
13441  void *argp1 = 0 ;
13442  int res1 = 0 ;
13443  double result;
13444 
13445  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_Ws self ",(void *)0) == TCL_ERROR) SWIG_fail;
13446  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13447  if (!SWIG_IsOK(res1)) {
13448  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_Ws" "', argument " "1"" of type '" "a_structure const *""'");
13449  }
13450  arg1 = reinterpret_cast< a_structure * >(argp1);
13451  try {
13452  result = (double)((a_structure const *)arg1)->Ws();
13453  } catch(...) {
13454  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13455  }
13456  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
13457  return TCL_OK;
13458 fail:
13459  return TCL_ERROR;
13460 }
13461 
13462 
13463 SWIGINTERN int
13464 _wrap_a_structure_W(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13465  a_structure *arg1 = (a_structure *) 0 ;
13466  void *argp1 = 0 ;
13467  int res1 = 0 ;
13468  a_wrench result;
13469 
13470  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_W self ",(void *)0) == TCL_ERROR) SWIG_fail;
13471  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13472  if (!SWIG_IsOK(res1)) {
13473  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_W" "', argument " "1"" of type '" "a_structure *""'");
13474  }
13475  arg1 = reinterpret_cast< a_structure * >(argp1);
13476  try {
13477  result = (arg1)->W();
13478  } catch(...) {
13479  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13480  }
13481  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
13482  return TCL_OK;
13483 fail:
13484  return TCL_ERROR;
13485 }
13486 
13487 
13488 SWIGINTERN int
13489 _wrap_a_structure_fe(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13490  a_structure *arg1 = (a_structure *) 0 ;
13491  void *argp1 = 0 ;
13492  int res1 = 0 ;
13493  a_wrench result;
13494 
13495  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_fe self ",(void *)0) == TCL_ERROR) SWIG_fail;
13496  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13497  if (!SWIG_IsOK(res1)) {
13498  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_fe" "', argument " "1"" of type '" "a_structure *""'");
13499  }
13500  arg1 = reinterpret_cast< a_structure * >(argp1);
13501  try {
13502  result = (arg1)->fe();
13503  } catch(...) {
13504  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13505  }
13506  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
13507  return TCL_OK;
13508 fail:
13509  return TCL_ERROR;
13510 }
13511 
13512 
13513 SWIGINTERN int
13514 _wrap_a_structure_ft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13515  a_structure *arg1 = (a_structure *) 0 ;
13516  void *argp1 = 0 ;
13517  int res1 = 0 ;
13518  a_wrench result;
13519 
13520  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_ft self ",(void *)0) == TCL_ERROR) SWIG_fail;
13521  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13522  if (!SWIG_IsOK(res1)) {
13523  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_ft" "', argument " "1"" of type '" "a_structure *""'");
13524  }
13525  arg1 = reinterpret_cast< a_structure * >(argp1);
13526  try {
13527  result = (arg1)->ft();
13528  } catch(...) {
13529  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13530  }
13531  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new a_wrench(static_cast< const a_wrench& >(result))), SWIGTYPE_p_a_wrench, SWIG_POINTER_OWN | 0 ));
13532  return TCL_OK;
13533 fail:
13534  return TCL_ERROR;
13535 }
13536 
13537 
13538 SWIGINTERN int
13539 _wrap_a_structure_potential(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13540  a_structure *arg1 = (a_structure *) 0 ;
13541  void *argp1 = 0 ;
13542  int res1 = 0 ;
13543  double result;
13544 
13545  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_potential self ",(void *)0) == TCL_ERROR) SWIG_fail;
13546  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13547  if (!SWIG_IsOK(res1)) {
13548  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_potential" "', argument " "1"" of type '" "a_structure const *""'");
13549  }
13550  arg1 = reinterpret_cast< a_structure * >(argp1);
13551  try {
13552  result = (double)((a_structure const *)arg1)->potential();
13553  } catch(...) {
13554  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13555  }
13556  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
13557  return TCL_OK;
13558 fail:
13559  return TCL_ERROR;
13560 }
13561 
13562 
13563 SWIGINTERN int
13564 _wrap_a_structure_add_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13565  a_structure *arg1 = (a_structure *) 0 ;
13566  a_block *arg2 = (a_block *) 0 ;
13567  void *argp1 = 0 ;
13568  int res1 = 0 ;
13569  void *argp2 = 0 ;
13570  int res2 = 0 ;
13571  int result;
13572 
13573  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_add_block self b ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13574  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13575  if (!SWIG_IsOK(res1)) {
13576  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_add_block" "', argument " "1"" of type '" "a_structure *""'");
13577  }
13578  arg1 = reinterpret_cast< a_structure * >(argp1);
13579  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_block, 0 | 0 );
13580  if (!SWIG_IsOK(res2)) {
13581  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_add_block" "', argument " "2"" of type '" "a_block *""'");
13582  }
13583  arg2 = reinterpret_cast< a_block * >(argp2);
13584  try {
13585  result = (int)(arg1)->add_block(arg2);
13586  } catch(...) {
13587  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13588  }
13589  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
13590  return TCL_OK;
13591 fail:
13592  return TCL_ERROR;
13593 }
13594 
13595 
13596 SWIGINTERN int
13597 _wrap_a_structure_link_blocks(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13598  a_structure *arg1 = (a_structure *) 0 ;
13599  int arg2 ;
13600  int arg3 ;
13601  int arg4 ;
13602  int arg5 ;
13603  void *argp1 = 0 ;
13604  int res1 = 0 ;
13605  int val2 ;
13606  int ecode2 = 0 ;
13607  int val3 ;
13608  int ecode3 = 0 ;
13609  int val4 ;
13610  int ecode4 = 0 ;
13611  int val5 ;
13612  int ecode5 = 0 ;
13613 
13614  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_link_blocks self b1 f1 b2 f2 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13615  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13616  if (!SWIG_IsOK(res1)) {
13617  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_link_blocks" "', argument " "1"" of type '" "a_structure *""'");
13618  }
13619  arg1 = reinterpret_cast< a_structure * >(argp1);
13620  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
13621  if (!SWIG_IsOK(ecode2)) {
13622  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_link_blocks" "', argument " "2"" of type '" "int""'");
13623  }
13624  arg2 = static_cast< int >(val2);
13625  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
13626  if (!SWIG_IsOK(ecode3)) {
13627  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_link_blocks" "', argument " "3"" of type '" "int""'");
13628  }
13629  arg3 = static_cast< int >(val3);
13630  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
13631  if (!SWIG_IsOK(ecode4)) {
13632  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_link_blocks" "', argument " "4"" of type '" "int""'");
13633  }
13634  arg4 = static_cast< int >(val4);
13635  ecode5 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
13636  if (!SWIG_IsOK(ecode5)) {
13637  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_link_blocks" "', argument " "5"" of type '" "int""'");
13638  }
13639  arg5 = static_cast< int >(val5);
13640  try {
13641  (arg1)->link_blocks(arg2,arg3,arg4,arg5);
13642  } catch(...) {
13643  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13644  }
13645 
13646  return TCL_OK;
13647 fail:
13648  return TCL_ERROR;
13649 }
13650 
13651 
13652 SWIGINTERN int
13653 _wrap_a_structure_b(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13654  a_structure *arg1 = (a_structure *) 0 ;
13655  int arg2 ;
13656  void *argp1 = 0 ;
13657  int res1 = 0 ;
13658  int val2 ;
13659  int ecode2 = 0 ;
13660  a_block *result = 0 ;
13661 
13662  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_b self i ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13663  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13664  if (!SWIG_IsOK(res1)) {
13665  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_b" "', argument " "1"" of type '" "a_structure const *""'");
13666  }
13667  arg1 = reinterpret_cast< a_structure * >(argp1);
13668  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
13669  if (!SWIG_IsOK(ecode2)) {
13670  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_b" "', argument " "2"" of type '" "int""'");
13671  }
13672  arg2 = static_cast< int >(val2);
13673  try {
13674  result = (a_block *)((a_structure const *)arg1)->b(arg2);
13675  } catch(...) {
13676  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13677  }
13678  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block,0));
13679  return TCL_OK;
13680 fail:
13681  return TCL_ERROR;
13682 }
13683 
13684 
13685 SWIGINTERN int
13686 _wrap_a_structure_connected(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13687  a_structure *arg1 = (a_structure *) 0 ;
13688  void *argp1 = 0 ;
13689  int res1 = 0 ;
13690  bool result;
13691 
13692  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_connected self ",(void *)0) == TCL_ERROR) SWIG_fail;
13693  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13694  if (!SWIG_IsOK(res1)) {
13695  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_connected" "', argument " "1"" of type '" "a_structure const *""'");
13696  }
13697  arg1 = reinterpret_cast< a_structure * >(argp1);
13698  try {
13699  result = (bool)((a_structure const *)arg1)->connected();
13700  } catch(...) {
13701  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13702  }
13703  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
13704  return TCL_OK;
13705 fail:
13706  return TCL_ERROR;
13707 }
13708 
13709 
13710 SWIGINTERN int
13711 _wrap_a_structure_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13712  a_structure *arg1 = (a_structure *) 0 ;
13713  void *argp1 = 0 ;
13714  int res1 = 0 ;
13715  std::vector< int > result;
13716 
13717  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_out self ",(void *)0) == TCL_ERROR) SWIG_fail;
13718  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13719  if (!SWIG_IsOK(res1)) {
13720  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_out" "', argument " "1"" of type '" "a_structure const *""'");
13721  }
13722  arg1 = reinterpret_cast< a_structure * >(argp1);
13723  try {
13724  result = ((a_structure const *)arg1)->out();
13725  } catch(...) {
13726  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13727  }
13728  {
13729  for (unsigned int i=0; i<(&result)->size(); i++) {
13730  Tcl_ListObjAppendElement(interp, (Tcl_GetObjResult(interp)), \
13731  Tcl_NewIntObj(((std::vector< int > &)result)[i]));
13732  }
13733  }
13734  return TCL_OK;
13735 fail:
13736  return TCL_ERROR;
13737 }
13738 
13739 
13740 SWIGINTERN int
13741 _wrap_a_structure_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13742  a_structure *arg1 = (a_structure *) 0 ;
13743  void *argp1 = 0 ;
13744  int res1 = 0 ;
13745  std::vector< int > result;
13746 
13747  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_in self ",(void *)0) == TCL_ERROR) SWIG_fail;
13748  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13749  if (!SWIG_IsOK(res1)) {
13750  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_in" "', argument " "1"" of type '" "a_structure const *""'");
13751  }
13752  arg1 = reinterpret_cast< a_structure * >(argp1);
13753  try {
13754  result = ((a_structure const *)arg1)->in();
13755  } catch(...) {
13756  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13757  }
13758  {
13759  for (unsigned int i=0; i<(&result)->size(); i++) {
13760  Tcl_ListObjAppendElement(interp, (Tcl_GetObjResult(interp)), \
13761  Tcl_NewIntObj(((std::vector< int > &)result)[i]));
13762  }
13763  }
13764  return TCL_OK;
13765 fail:
13766  return TCL_ERROR;
13767 }
13768 
13769 
13770 SWIGINTERN int
13771 _wrap_a_structure_nodes(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13772  a_structure *arg1 = (a_structure *) 0 ;
13773  void *argp1 = 0 ;
13774  int res1 = 0 ;
13775  std::vector< int > result;
13776 
13777  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_nodes self ",(void *)0) == TCL_ERROR) SWIG_fail;
13778  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13779  if (!SWIG_IsOK(res1)) {
13780  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_nodes" "', argument " "1"" of type '" "a_structure const *""'");
13781  }
13782  arg1 = reinterpret_cast< a_structure * >(argp1);
13783  try {
13784  result = ((a_structure const *)arg1)->nodes();
13785  } catch(...) {
13786  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13787  }
13788  {
13789  for (unsigned int i=0; i<(&result)->size(); i++) {
13790  Tcl_ListObjAppendElement(interp, (Tcl_GetObjResult(interp)), \
13791  Tcl_NewIntObj(((std::vector< int > &)result)[i]));
13792  }
13793  }
13794  return TCL_OK;
13795 fail:
13796  return TCL_ERROR;
13797 }
13798 
13799 
13800 SWIGINTERN int
13801 _wrap_a_structure_clearinternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13802  a_structure *arg1 = (a_structure *) 0 ;
13803  void *argp1 = 0 ;
13804  int res1 = 0 ;
13805 
13806  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_clearinternal self ",(void *)0) == TCL_ERROR) SWIG_fail;
13807  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13808  if (!SWIG_IsOK(res1)) {
13809  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_clearinternal" "', argument " "1"" of type '" "a_structure *""'");
13810  }
13811  arg1 = reinterpret_cast< a_structure * >(argp1);
13812  try {
13813  (arg1)->clearinternal();
13814  } catch(...) {
13815  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13816  }
13817 
13818  return TCL_OK;
13819 fail:
13820  return TCL_ERROR;
13821 }
13822 
13823 
13824 SWIGINTERN int
13825 _wrap_a_structure_clearexternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13826  a_structure *arg1 = (a_structure *) 0 ;
13827  void *argp1 = 0 ;
13828  int res1 = 0 ;
13829 
13830  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_clearexternal self ",(void *)0) == TCL_ERROR) SWIG_fail;
13831  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13832  if (!SWIG_IsOK(res1)) {
13833  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_clearexternal" "', argument " "1"" of type '" "a_structure *""'");
13834  }
13835  arg1 = reinterpret_cast< a_structure * >(argp1);
13836  try {
13837  (arg1)->clearexternal();
13838  } catch(...) {
13839  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13840  }
13841 
13842  return TCL_OK;
13843 fail:
13844  return TCL_ERROR;
13845 }
13846 
13847 
13848 SWIGINTERN int
13849 _wrap_a_structure_clearall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13850  a_structure *arg1 = (a_structure *) 0 ;
13851  void *argp1 = 0 ;
13852  int res1 = 0 ;
13853 
13854  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_clearall self ",(void *)0) == TCL_ERROR) SWIG_fail;
13855  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13856  if (!SWIG_IsOK(res1)) {
13857  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_clearall" "', argument " "1"" of type '" "a_structure *""'");
13858  }
13859  arg1 = reinterpret_cast< a_structure * >(argp1);
13860  try {
13861  (arg1)->clearall();
13862  } catch(...) {
13863  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13864  }
13865 
13866  return TCL_OK;
13867 fail:
13868  return TCL_ERROR;
13869 }
13870 
13871 
13872 SWIGINTERN int
13873 _wrap_a_structure_objective__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13874  a_structure *arg1 = (a_structure *) 0 ;
13875  a_ocriteria *arg2 = (a_ocriteria *) 0 ;
13876  void *argp1 = 0 ;
13877  int res1 = 0 ;
13878  void *argp2 = 0 ;
13879  int res2 = 0 ;
13880 
13881  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_objective self objective ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13882  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13883  if (!SWIG_IsOK(res1)) {
13884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_objective" "', argument " "1"" of type '" "a_structure *""'");
13885  }
13886  arg1 = reinterpret_cast< a_structure * >(argp1);
13887  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_ocriteria, 0 | 0 );
13888  if (!SWIG_IsOK(res2)) {
13889  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_objective" "', argument " "2"" of type '" "a_ocriteria *""'");
13890  }
13891  arg2 = reinterpret_cast< a_ocriteria * >(argp2);
13892  try {
13893  (arg1)->objective(arg2);
13894  } catch(...) {
13895  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13896  }
13897 
13898  return TCL_OK;
13899 fail:
13900  return TCL_ERROR;
13901 }
13902 
13903 
13904 SWIGINTERN int
13905 _wrap_a_structure_objective__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13906  a_structure *arg1 = (a_structure *) 0 ;
13907  void *argp1 = 0 ;
13908  int res1 = 0 ;
13909  double result;
13910 
13911  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_objective self ",(void *)0) == TCL_ERROR) SWIG_fail;
13912  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13913  if (!SWIG_IsOK(res1)) {
13914  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_objective" "', argument " "1"" of type '" "a_structure const *""'");
13915  }
13916  arg1 = reinterpret_cast< a_structure * >(argp1);
13917  try {
13918  result = (double)((a_structure const *)arg1)->objective();
13919  } catch(...) {
13920  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13921  }
13922  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
13923  return TCL_OK;
13924 fail:
13925  return TCL_ERROR;
13926 }
13927 
13928 
13929 SWIGINTERN int
13930 _wrap_a_structure_objective(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13931  Tcl_Obj *CONST *argv = objv+1;
13932  int argc = objc-1;
13933  if (argc == 1) {
13934  int _v;
13935  void *vptr = 0;
13936  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
13937  _v = SWIG_CheckState(res);
13938  if (_v) {
13939  return _wrap_a_structure_objective__SWIG_1(clientData, interp, objc, argv - 1);
13940  }
13941  }
13942  if (argc == 2) {
13943  int _v;
13944  void *vptr = 0;
13945  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
13946  _v = SWIG_CheckState(res);
13947  if (_v) {
13948  void *vptr = 0;
13949  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_ocriteria, 0);
13950  _v = SWIG_CheckState(res);
13951  if (_v) {
13952  return _wrap_a_structure_objective__SWIG_0(clientData, interp, objc, argv - 1);
13953  }
13954  }
13955  }
13956 
13957  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_objective'.\n"
13958  " Possible C/C++ prototypes are:\n"
13959  " a_structure::objective(a_ocriteria *)\n"
13960  " a_structure::objective() const\n", TCL_STATIC);
13961  return TCL_ERROR;
13962 }
13963 
13964 
13965 SWIGINTERN int
13966 _wrap_a_structure_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13967  a_structure *arg1 = (a_structure *) 0 ;
13968  a_fcriteria *arg2 = (a_fcriteria *) 0 ;
13969  void *argp1 = 0 ;
13970  int res1 = 0 ;
13971  void *argp2 = 0 ;
13972  int res2 = 0 ;
13973 
13974  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_criteria self criteria ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
13975  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
13976  if (!SWIG_IsOK(res1)) {
13977  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_criteria" "', argument " "1"" of type '" "a_structure *""'");
13978  }
13979  arg1 = reinterpret_cast< a_structure * >(argp1);
13980  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_fcriteria, 0 | 0 );
13981  if (!SWIG_IsOK(res2)) {
13982  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_criteria" "', argument " "2"" of type '" "a_fcriteria *""'");
13983  }
13984  arg2 = reinterpret_cast< a_fcriteria * >(argp2);
13985  try {
13986  (arg1)->criteria(arg2);
13987  } catch(...) {
13988  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
13989  }
13990 
13991  return TCL_OK;
13992 fail:
13993  return TCL_ERROR;
13994 }
13995 
13996 
13997 SWIGINTERN int
13998 _wrap_a_structure_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
13999  a_structure *arg1 = (a_structure *) 0 ;
14000  void *argp1 = 0 ;
14001  int res1 = 0 ;
14002  bool result;
14003 
14004  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_ok self ",(void *)0) == TCL_ERROR) SWIG_fail;
14005  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14006  if (!SWIG_IsOK(res1)) {
14007  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_ok" "', argument " "1"" of type '" "a_structure const *""'");
14008  }
14009  arg1 = reinterpret_cast< a_structure * >(argp1);
14010  try {
14011  result = (bool)((a_structure const *)arg1)->ok();
14012  } catch(...) {
14013  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14014  }
14015  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
14016  return TCL_OK;
14017 fail:
14018  return TCL_ERROR;
14019 }
14020 
14021 
14022 SWIGINTERN int
14023 _wrap_a_structure_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14024  a_structure *arg1 = (a_structure *) 0 ;
14025  void *argp1 = 0 ;
14026  int res1 = 0 ;
14027  double result;
14028 
14029  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_penalty self ",(void *)0) == TCL_ERROR) SWIG_fail;
14030  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14031  if (!SWIG_IsOK(res1)) {
14032  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_penalty" "', argument " "1"" of type '" "a_structure const *""'");
14033  }
14034  arg1 = reinterpret_cast< a_structure * >(argp1);
14035  try {
14036  result = (double)((a_structure const *)arg1)->penalty();
14037  } catch(...) {
14038  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14039  }
14040  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
14041  return TCL_OK;
14042 fail:
14043  return TCL_ERROR;
14044 }
14045 
14046 
14047 SWIGINTERN int
14048 _wrap_a_structure_penalty_factor__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14049  a_structure *arg1 = (a_structure *) 0 ;
14050  double arg2 ;
14051  void *argp1 = 0 ;
14052  int res1 = 0 ;
14053  double val2 ;
14054  int ecode2 = 0 ;
14055 
14056  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_penalty_factor self v ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14057  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14058  if (!SWIG_IsOK(res1)) {
14059  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_penalty_factor" "', argument " "1"" of type '" "a_structure *""'");
14060  }
14061  arg1 = reinterpret_cast< a_structure * >(argp1);
14062  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14063  if (!SWIG_IsOK(ecode2)) {
14064  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_penalty_factor" "', argument " "2"" of type '" "double""'");
14065  }
14066  arg2 = static_cast< double >(val2);
14067  try {
14068  (arg1)->penalty_factor(arg2);
14069  } catch(...) {
14070  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14071  }
14072 
14073  return TCL_OK;
14074 fail:
14075  return TCL_ERROR;
14076 }
14077 
14078 
14079 SWIGINTERN int
14080 _wrap_a_structure_penalty_factor__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14081  a_structure *arg1 = (a_structure *) 0 ;
14082  void *argp1 = 0 ;
14083  int res1 = 0 ;
14084  double result;
14085 
14086  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_penalty_factor self ",(void *)0) == TCL_ERROR) SWIG_fail;
14087  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14088  if (!SWIG_IsOK(res1)) {
14089  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_penalty_factor" "', argument " "1"" of type '" "a_structure const *""'");
14090  }
14091  arg1 = reinterpret_cast< a_structure * >(argp1);
14092  try {
14093  result = (double)((a_structure const *)arg1)->penalty_factor();
14094  } catch(...) {
14095  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14096  }
14097  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
14098  return TCL_OK;
14099 fail:
14100  return TCL_ERROR;
14101 }
14102 
14103 
14104 SWIGINTERN int
14105 _wrap_a_structure_penalty_factor(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14106  Tcl_Obj *CONST *argv = objv+1;
14107  int argc = objc-1;
14108  if (argc == 1) {
14109  int _v;
14110  void *vptr = 0;
14111  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14112  _v = SWIG_CheckState(res);
14113  if (_v) {
14114  return _wrap_a_structure_penalty_factor__SWIG_1(clientData, interp, objc, argv - 1);
14115  }
14116  }
14117  if (argc == 2) {
14118  int _v;
14119  void *vptr = 0;
14120  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14121  _v = SWIG_CheckState(res);
14122  if (_v) {
14123  {
14124  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
14125  _v = SWIG_CheckState(res);
14126  }
14127  if (_v) {
14128  return _wrap_a_structure_penalty_factor__SWIG_0(clientData, interp, objc, argv - 1);
14129  }
14130  }
14131  }
14132 
14133  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_penalty_factor'.\n"
14134  " Possible C/C++ prototypes are:\n"
14135  " a_structure::penalty_factor(double const)\n"
14136  " a_structure::penalty_factor() const\n", TCL_STATIC);
14137  return TCL_ERROR;
14138 }
14139 
14140 
14141 SWIGINTERN int
14142 _wrap_a_structure_objectivep(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14143  a_structure *arg1 = (a_structure *) 0 ;
14144  void *argp1 = 0 ;
14145  int res1 = 0 ;
14146  double result;
14147 
14148  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_objectivep self ",(void *)0) == TCL_ERROR) SWIG_fail;
14149  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14150  if (!SWIG_IsOK(res1)) {
14151  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_objectivep" "', argument " "1"" of type '" "a_structure const *""'");
14152  }
14153  arg1 = reinterpret_cast< a_structure * >(argp1);
14154  try {
14155  result = (double)((a_structure const *)arg1)->objectivep();
14156  } catch(...) {
14157  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14158  }
14159  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
14160  return TCL_OK;
14161 fail:
14162  return TCL_ERROR;
14163 }
14164 
14165 
14166 SWIGINTERN int
14167 _wrap_a_structure_rotate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14168  a_structure *arg1 = (a_structure *) 0 ;
14169  int arg2 ;
14170  int arg3 ;
14171  a_point *arg4 = 0 ;
14172  a_point *arg5 = 0 ;
14173  double arg6 ;
14174  void *argp1 = 0 ;
14175  int res1 = 0 ;
14176  int val2 ;
14177  int ecode2 = 0 ;
14178  int val3 ;
14179  int ecode3 = 0 ;
14180  void *argp4 ;
14181  int res4 = 0 ;
14182  void *argp5 ;
14183  int res5 = 0 ;
14184  double val6 ;
14185  int ecode6 = 0 ;
14186 
14187  if (SWIG_GetArgs(interp, objc, objv,"oooooo:a_structure_rotate self b f x dir r ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14188  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14189  if (!SWIG_IsOK(res1)) {
14190  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_rotate" "', argument " "1"" of type '" "a_structure *""'");
14191  }
14192  arg1 = reinterpret_cast< a_structure * >(argp1);
14193  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14194  if (!SWIG_IsOK(ecode2)) {
14195  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_rotate" "', argument " "2"" of type '" "int""'");
14196  }
14197  arg2 = static_cast< int >(val2);
14198  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14199  if (!SWIG_IsOK(ecode3)) {
14200  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_rotate" "', argument " "3"" of type '" "int""'");
14201  }
14202  arg3 = static_cast< int >(val3);
14203  res4 = SWIG_ConvertPtr(objv[4], &argp4, SWIGTYPE_p_a_point, 0 );
14204  if (!SWIG_IsOK(res4)) {
14205  SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "a_structure_rotate" "', argument " "4"" of type '" "a_point const &""'");
14206  }
14207  if (!argp4) {
14208  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_rotate" "', argument " "4"" of type '" "a_point const &""'");
14209  }
14210  arg4 = reinterpret_cast< a_point * >(argp4);
14211  res5 = SWIG_ConvertPtr(objv[5], &argp5, SWIGTYPE_p_a_point, 0 );
14212  if (!SWIG_IsOK(res5)) {
14213  SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "a_structure_rotate" "', argument " "5"" of type '" "a_point const &""'");
14214  }
14215  if (!argp5) {
14216  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_rotate" "', argument " "5"" of type '" "a_point const &""'");
14217  }
14218  arg5 = reinterpret_cast< a_point * >(argp5);
14219  ecode6 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
14220  if (!SWIG_IsOK(ecode6)) {
14221  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_structure_rotate" "', argument " "6"" of type '" "double""'");
14222  }
14223  arg6 = static_cast< double >(val6);
14224  try {
14225  (arg1)->rotate(arg2,arg3,(a_point const &)*arg4,(a_point const &)*arg5,arg6);
14226  } catch(...) {
14227  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14228  }
14229 
14230  return TCL_OK;
14231 fail:
14232  return TCL_ERROR;
14233 }
14234 
14235 
14236 SWIGINTERN int
14237 _wrap_a_structure_rotate__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14238  a_structure *arg1 = (a_structure *) 0 ;
14239  int arg2 ;
14240  int arg3 ;
14241  double arg4 ;
14242  double arg5 ;
14243  void *argp1 = 0 ;
14244  int res1 = 0 ;
14245  int val2 ;
14246  int ecode2 = 0 ;
14247  int val3 ;
14248  int ecode3 = 0 ;
14249  double val4 ;
14250  int ecode4 = 0 ;
14251  double val5 ;
14252  int ecode5 = 0 ;
14253 
14254  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_rotate self b f v r ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14255  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14256  if (!SWIG_IsOK(res1)) {
14257  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_rotate" "', argument " "1"" of type '" "a_structure *""'");
14258  }
14259  arg1 = reinterpret_cast< a_structure * >(argp1);
14260  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14261  if (!SWIG_IsOK(ecode2)) {
14262  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_rotate" "', argument " "2"" of type '" "int""'");
14263  }
14264  arg2 = static_cast< int >(val2);
14265  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14266  if (!SWIG_IsOK(ecode3)) {
14267  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_rotate" "', argument " "3"" of type '" "int""'");
14268  }
14269  arg3 = static_cast< int >(val3);
14270  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14271  if (!SWIG_IsOK(ecode4)) {
14272  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_rotate" "', argument " "4"" of type '" "double""'");
14273  }
14274  arg4 = static_cast< double >(val4);
14275  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14276  if (!SWIG_IsOK(ecode5)) {
14277  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_rotate" "', argument " "5"" of type '" "double""'");
14278  }
14279  arg5 = static_cast< double >(val5);
14280  try {
14281  (arg1)->rotate(arg2,arg3,arg4,arg5);
14282  } catch(...) {
14283  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14284  }
14285 
14286  return TCL_OK;
14287 fail:
14288  return TCL_ERROR;
14289 }
14290 
14291 
14292 SWIGINTERN int
14293 _wrap_a_structure_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14294  Tcl_Obj *CONST *argv = objv+1;
14295  int argc = objc-1;
14296  if (argc == 5) {
14297  int _v;
14298  void *vptr = 0;
14299  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14300  _v = SWIG_CheckState(res);
14301  if (_v) {
14302  {
14303  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
14304  _v = SWIG_CheckState(res);
14305  }
14306  if (_v) {
14307  {
14308  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
14309  _v = SWIG_CheckState(res);
14310  }
14311  if (_v) {
14312  {
14313  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
14314  _v = SWIG_CheckState(res);
14315  }
14316  if (_v) {
14317  {
14318  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
14319  _v = SWIG_CheckState(res);
14320  }
14321  if (_v) {
14322  return _wrap_a_structure_rotate__SWIG_1(clientData, interp, objc, argv - 1);
14323  }
14324  }
14325  }
14326  }
14327  }
14328  }
14329  if (argc == 6) {
14330  int _v;
14331  void *vptr = 0;
14332  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14333  _v = SWIG_CheckState(res);
14334  if (_v) {
14335  {
14336  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
14337  _v = SWIG_CheckState(res);
14338  }
14339  if (_v) {
14340  {
14341  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
14342  _v = SWIG_CheckState(res);
14343  }
14344  if (_v) {
14345  void *vptr = 0;
14346  int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
14347  _v = SWIG_CheckState(res);
14348  if (_v) {
14349  void *vptr = 0;
14350  int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_a_point, SWIG_POINTER_NO_NULL);
14351  _v = SWIG_CheckState(res);
14352  if (_v) {
14353  {
14354  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
14355  _v = SWIG_CheckState(res);
14356  }
14357  if (_v) {
14358  return _wrap_a_structure_rotate__SWIG_0(clientData, interp, objc, argv - 1);
14359  }
14360  }
14361  }
14362  }
14363  }
14364  }
14365  }
14366 
14367  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_rotate'.\n"
14368  " Possible C/C++ prototypes are:\n"
14369  " a_structure::rotate(int,int,a_point const &,a_point const &,double)\n"
14370  " a_structure::rotate(int,int,double,double)\n", TCL_STATIC);
14371  return TCL_ERROR;
14372 }
14373 
14374 
14375 SWIGINTERN int
14376 _wrap_a_structure_slide(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14377  a_structure *arg1 = (a_structure *) 0 ;
14378  int arg2 ;
14379  int arg3 ;
14380  double arg4 ;
14381  double arg5 ;
14382  void *argp1 = 0 ;
14383  int res1 = 0 ;
14384  int val2 ;
14385  int ecode2 = 0 ;
14386  int val3 ;
14387  int ecode3 = 0 ;
14388  double val4 ;
14389  int ecode4 = 0 ;
14390  double val5 ;
14391  int ecode5 = 0 ;
14392 
14393  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_slide self b f u v ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14394  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14395  if (!SWIG_IsOK(res1)) {
14396  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_slide" "', argument " "1"" of type '" "a_structure *""'");
14397  }
14398  arg1 = reinterpret_cast< a_structure * >(argp1);
14399  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14400  if (!SWIG_IsOK(ecode2)) {
14401  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_slide" "', argument " "2"" of type '" "int""'");
14402  }
14403  arg2 = static_cast< int >(val2);
14404  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14405  if (!SWIG_IsOK(ecode3)) {
14406  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_slide" "', argument " "3"" of type '" "int""'");
14407  }
14408  arg3 = static_cast< int >(val3);
14409  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14410  if (!SWIG_IsOK(ecode4)) {
14411  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_slide" "', argument " "4"" of type '" "double""'");
14412  }
14413  arg4 = static_cast< double >(val4);
14414  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14415  if (!SWIG_IsOK(ecode5)) {
14416  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_slide" "', argument " "5"" of type '" "double""'");
14417  }
14418  arg5 = static_cast< double >(val5);
14419  try {
14420  (arg1)->slide(arg2,arg3,arg4,arg5);
14421  } catch(...) {
14422  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14423  }
14424 
14425  return TCL_OK;
14426 fail:
14427  return TCL_ERROR;
14428 }
14429 
14430 
14431 SWIGINTERN int
14432 _wrap_a_structure_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14433  a_structure *arg1 = (a_structure *) 0 ;
14434  a_material *arg2 = (a_material *) 0 ;
14435  void *argp1 = 0 ;
14436  int res1 = 0 ;
14437  void *argp2 = 0 ;
14438  int res2 = 0 ;
14439 
14440  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_material self material ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14441  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14442  if (!SWIG_IsOK(res1)) {
14443  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_material" "', argument " "1"" of type '" "a_structure *""'");
14444  }
14445  arg1 = reinterpret_cast< a_structure * >(argp1);
14446  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_a_material, 0 | 0 );
14447  if (!SWIG_IsOK(res2)) {
14448  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_material" "', argument " "2"" of type '" "a_material *""'");
14449  }
14450  arg2 = reinterpret_cast< a_material * >(argp2);
14451  try {
14452  (arg1)->material(arg2);
14453  } catch(...) {
14454  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14455  }
14456 
14457  return TCL_OK;
14458 fail:
14459  return TCL_ERROR;
14460 }
14461 
14462 
14463 SWIGINTERN int
14464 _wrap_a_structure_compute__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14465  a_structure *arg1 = (a_structure *) 0 ;
14466  int arg2 ;
14467  int arg3 ;
14468  void *argp1 = 0 ;
14469  int res1 = 0 ;
14470  int val2 ;
14471  int ecode2 = 0 ;
14472  int val3 ;
14473  int ecode3 = 0 ;
14474  a_block *result = 0 ;
14475 
14476  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_structure_compute self b f ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14477  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14478  if (!SWIG_IsOK(res1)) {
14479  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_compute" "', argument " "1"" of type '" "a_structure *""'");
14480  }
14481  arg1 = reinterpret_cast< a_structure * >(argp1);
14482  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14483  if (!SWIG_IsOK(ecode2)) {
14484  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_compute" "', argument " "2"" of type '" "int""'");
14485  }
14486  arg2 = static_cast< int >(val2);
14487  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14488  if (!SWIG_IsOK(ecode3)) {
14489  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_compute" "', argument " "3"" of type '" "int""'");
14490  }
14491  arg3 = static_cast< int >(val3);
14492  try {
14493  result = (a_block *)(arg1)->compute(arg2,arg3);
14494  } catch(...) {
14495  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14496  }
14497  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_a_block,0));
14498  return TCL_OK;
14499 fail:
14500  return TCL_ERROR;
14501 }
14502 
14503 
14504 SWIGINTERN int
14505 _wrap_a_structure_compute__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14506  a_structure *arg1 = (a_structure *) 0 ;
14507  int arg2 ;
14508  int arg3 ;
14509  double arg4 ;
14510  double arg5 ;
14511  int arg6 ;
14512  int arg7 ;
14513  double arg8 ;
14514  double arg9 ;
14515  int arg10 ;
14516  int arg11 ;
14517  double arg12 ;
14518  double arg13 ;
14519  void *argp1 = 0 ;
14520  int res1 = 0 ;
14521  int val2 ;
14522  int ecode2 = 0 ;
14523  int val3 ;
14524  int ecode3 = 0 ;
14525  double val4 ;
14526  int ecode4 = 0 ;
14527  double val5 ;
14528  int ecode5 = 0 ;
14529  int val6 ;
14530  int ecode6 = 0 ;
14531  int val7 ;
14532  int ecode7 = 0 ;
14533  double val8 ;
14534  int ecode8 = 0 ;
14535  double val9 ;
14536  int ecode9 = 0 ;
14537  int val10 ;
14538  int ecode10 = 0 ;
14539  int val11 ;
14540  int ecode11 = 0 ;
14541  double val12 ;
14542  int ecode12 = 0 ;
14543  double val13 ;
14544  int ecode13 = 0 ;
14545 
14546  if (SWIG_GetArgs(interp, objc, objv,"ooooooooooooo:a_structure_compute self rb1 rf1 u1 v1 rb2 rf2 u2 v2 rb3 rf3 u3 v3 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14547  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14548  if (!SWIG_IsOK(res1)) {
14549  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_compute" "', argument " "1"" of type '" "a_structure *""'");
14550  }
14551  arg1 = reinterpret_cast< a_structure * >(argp1);
14552  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14553  if (!SWIG_IsOK(ecode2)) {
14554  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_compute" "', argument " "2"" of type '" "int""'");
14555  }
14556  arg2 = static_cast< int >(val2);
14557  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14558  if (!SWIG_IsOK(ecode3)) {
14559  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_compute" "', argument " "3"" of type '" "int""'");
14560  }
14561  arg3 = static_cast< int >(val3);
14562  ecode4 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14563  if (!SWIG_IsOK(ecode4)) {
14564  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_compute" "', argument " "4"" of type '" "double""'");
14565  }
14566  arg4 = static_cast< double >(val4);
14567  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14568  if (!SWIG_IsOK(ecode5)) {
14569  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_compute" "', argument " "5"" of type '" "double""'");
14570  }
14571  arg5 = static_cast< double >(val5);
14572  ecode6 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
14573  if (!SWIG_IsOK(ecode6)) {
14574  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_structure_compute" "', argument " "6"" of type '" "int""'");
14575  }
14576  arg6 = static_cast< int >(val6);
14577  ecode7 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
14578  if (!SWIG_IsOK(ecode7)) {
14579  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_structure_compute" "', argument " "7"" of type '" "int""'");
14580  }
14581  arg7 = static_cast< int >(val7);
14582  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
14583  if (!SWIG_IsOK(ecode8)) {
14584  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_structure_compute" "', argument " "8"" of type '" "double""'");
14585  }
14586  arg8 = static_cast< double >(val8);
14587  ecode9 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[9], &val9);
14588  if (!SWIG_IsOK(ecode9)) {
14589  SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "a_structure_compute" "', argument " "9"" of type '" "double""'");
14590  }
14591  arg9 = static_cast< double >(val9);
14592  ecode10 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[10], &val10);
14593  if (!SWIG_IsOK(ecode10)) {
14594  SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "a_structure_compute" "', argument " "10"" of type '" "int""'");
14595  }
14596  arg10 = static_cast< int >(val10);
14597  ecode11 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[11], &val11);
14598  if (!SWIG_IsOK(ecode11)) {
14599  SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "a_structure_compute" "', argument " "11"" of type '" "int""'");
14600  }
14601  arg11 = static_cast< int >(val11);
14602  ecode12 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[12], &val12);
14603  if (!SWIG_IsOK(ecode12)) {
14604  SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "a_structure_compute" "', argument " "12"" of type '" "double""'");
14605  }
14606  arg12 = static_cast< double >(val12);
14607  ecode13 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[13], &val13);
14608  if (!SWIG_IsOK(ecode13)) {
14609  SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "a_structure_compute" "', argument " "13"" of type '" "double""'");
14610  }
14611  arg13 = static_cast< double >(val13);
14612  try {
14613  (arg1)->compute(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14614  } catch(...) {
14615  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14616  }
14617 
14618  return TCL_OK;
14619 fail:
14620  return TCL_ERROR;
14621 }
14622 
14623 
14624 SWIGINTERN int
14625 _wrap_a_structure_compute(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14626  Tcl_Obj *CONST *argv = objv+1;
14627  int argc = objc-1;
14628  if (argc == 3) {
14629  int _v;
14630  void *vptr = 0;
14631  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14632  _v = SWIG_CheckState(res);
14633  if (_v) {
14634  {
14635  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
14636  _v = SWIG_CheckState(res);
14637  }
14638  if (_v) {
14639  {
14640  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
14641  _v = SWIG_CheckState(res);
14642  }
14643  if (_v) {
14644  return _wrap_a_structure_compute__SWIG_0(clientData, interp, objc, argv - 1);
14645  }
14646  }
14647  }
14648  }
14649  if (argc == 13) {
14650  int _v;
14651  void *vptr = 0;
14652  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
14653  _v = SWIG_CheckState(res);
14654  if (_v) {
14655  {
14656  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
14657  _v = SWIG_CheckState(res);
14658  }
14659  if (_v) {
14660  {
14661  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
14662  _v = SWIG_CheckState(res);
14663  }
14664  if (_v) {
14665  {
14666  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
14667  _v = SWIG_CheckState(res);
14668  }
14669  if (_v) {
14670  {
14671  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
14672  _v = SWIG_CheckState(res);
14673  }
14674  if (_v) {
14675  {
14676  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
14677  _v = SWIG_CheckState(res);
14678  }
14679  if (_v) {
14680  {
14681  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
14682  _v = SWIG_CheckState(res);
14683  }
14684  if (_v) {
14685  {
14686  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
14687  _v = SWIG_CheckState(res);
14688  }
14689  if (_v) {
14690  {
14691  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[8], NULL);
14692  _v = SWIG_CheckState(res);
14693  }
14694  if (_v) {
14695  {
14696  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[9], NULL);
14697  _v = SWIG_CheckState(res);
14698  }
14699  if (_v) {
14700  {
14701  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[10], NULL);
14702  _v = SWIG_CheckState(res);
14703  }
14704  if (_v) {
14705  {
14706  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[11], NULL);
14707  _v = SWIG_CheckState(res);
14708  }
14709  if (_v) {
14710  {
14711  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[12], NULL);
14712  _v = SWIG_CheckState(res);
14713  }
14714  if (_v) {
14715  return _wrap_a_structure_compute__SWIG_1(clientData, interp, objc, argv - 1);
14716  }
14717  }
14718  }
14719  }
14720  }
14721  }
14722  }
14723  }
14724  }
14725  }
14726  }
14727  }
14728  }
14729  }
14730 
14731  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_compute'.\n"
14732  " Possible C/C++ prototypes are:\n"
14733  " a_structure::compute(int,int)\n"
14734  " a_structure::compute(int const,int const,double const,double const,int const,int const,double const,double const,int const,int const,double const,double const)\n", TCL_STATIC);
14735  return TCL_ERROR;
14736 }
14737 
14738 
14739 SWIGINTERN int
14740 _wrap_a_structure_min__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14741  a_structure *arg1 = (a_structure *) 0 ;
14742  int arg2 ;
14743  int arg3 ;
14744  int arg4 ;
14745  double arg5 ;
14746  int arg6 ;
14747  int arg7 ;
14748  double arg8 ;
14749  int arg9 ;
14750  int arg10 ;
14751  double arg11 ;
14752  void *argp1 = 0 ;
14753  int res1 = 0 ;
14754  int val2 ;
14755  int ecode2 = 0 ;
14756  int val3 ;
14757  int ecode3 = 0 ;
14758  int val4 ;
14759  int ecode4 = 0 ;
14760  double val5 ;
14761  int ecode5 = 0 ;
14762  int val6 ;
14763  int ecode6 = 0 ;
14764  int val7 ;
14765  int ecode7 = 0 ;
14766  double val8 ;
14767  int ecode8 = 0 ;
14768  int val9 ;
14769  int ecode9 = 0 ;
14770  int val10 ;
14771  int ecode10 = 0 ;
14772  double val11 ;
14773  int ecode11 = 0 ;
14774  double result;
14775 
14776  if (SWIG_GetArgs(interp, objc, objv,"ooooooooooo:a_structure_min self face rb1 rf1 u1 rb2 rf2 u2 rb3 rf3 u3 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14777  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14778  if (!SWIG_IsOK(res1)) {
14779  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_min" "', argument " "1"" of type '" "a_structure *""'");
14780  }
14781  arg1 = reinterpret_cast< a_structure * >(argp1);
14782  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14783  if (!SWIG_IsOK(ecode2)) {
14784  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_min" "', argument " "2"" of type '" "int""'");
14785  }
14786  arg2 = static_cast< int >(val2);
14787  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14788  if (!SWIG_IsOK(ecode3)) {
14789  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_min" "', argument " "3"" of type '" "int""'");
14790  }
14791  arg3 = static_cast< int >(val3);
14792  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14793  if (!SWIG_IsOK(ecode4)) {
14794  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_min" "', argument " "4"" of type '" "int""'");
14795  }
14796  arg4 = static_cast< int >(val4);
14797  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14798  if (!SWIG_IsOK(ecode5)) {
14799  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_min" "', argument " "5"" of type '" "double""'");
14800  }
14801  arg5 = static_cast< double >(val5);
14802  ecode6 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
14803  if (!SWIG_IsOK(ecode6)) {
14804  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_structure_min" "', argument " "6"" of type '" "int""'");
14805  }
14806  arg6 = static_cast< int >(val6);
14807  ecode7 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
14808  if (!SWIG_IsOK(ecode7)) {
14809  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_structure_min" "', argument " "7"" of type '" "int""'");
14810  }
14811  arg7 = static_cast< int >(val7);
14812  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
14813  if (!SWIG_IsOK(ecode8)) {
14814  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_structure_min" "', argument " "8"" of type '" "double""'");
14815  }
14816  arg8 = static_cast< double >(val8);
14817  ecode9 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[9], &val9);
14818  if (!SWIG_IsOK(ecode9)) {
14819  SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "a_structure_min" "', argument " "9"" of type '" "int""'");
14820  }
14821  arg9 = static_cast< int >(val9);
14822  ecode10 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[10], &val10);
14823  if (!SWIG_IsOK(ecode10)) {
14824  SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "a_structure_min" "', argument " "10"" of type '" "int""'");
14825  }
14826  arg10 = static_cast< int >(val10);
14827  ecode11 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[11], &val11);
14828  if (!SWIG_IsOK(ecode11)) {
14829  SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "a_structure_min" "', argument " "11"" of type '" "double""'");
14830  }
14831  arg11 = static_cast< double >(val11);
14832  try {
14833  result = (double)(arg1)->min(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14834  } catch(...) {
14835  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14836  }
14837  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
14838  return TCL_OK;
14839 fail:
14840  return TCL_ERROR;
14841 }
14842 
14843 
14844 SWIGINTERN int
14845 _wrap_a_structure_max__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14846  a_structure *arg1 = (a_structure *) 0 ;
14847  int arg2 ;
14848  int arg3 ;
14849  int arg4 ;
14850  double arg5 ;
14851  int arg6 ;
14852  int arg7 ;
14853  double arg8 ;
14854  int arg9 ;
14855  int arg10 ;
14856  double arg11 ;
14857  void *argp1 = 0 ;
14858  int res1 = 0 ;
14859  int val2 ;
14860  int ecode2 = 0 ;
14861  int val3 ;
14862  int ecode3 = 0 ;
14863  int val4 ;
14864  int ecode4 = 0 ;
14865  double val5 ;
14866  int ecode5 = 0 ;
14867  int val6 ;
14868  int ecode6 = 0 ;
14869  int val7 ;
14870  int ecode7 = 0 ;
14871  double val8 ;
14872  int ecode8 = 0 ;
14873  int val9 ;
14874  int ecode9 = 0 ;
14875  int val10 ;
14876  int ecode10 = 0 ;
14877  double val11 ;
14878  int ecode11 = 0 ;
14879  double result;
14880 
14881  if (SWIG_GetArgs(interp, objc, objv,"ooooooooooo:a_structure_max self face rb1 rf1 u1 rb2 rf2 u2 rb3 rf3 u3 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14882  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14883  if (!SWIG_IsOK(res1)) {
14884  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_max" "', argument " "1"" of type '" "a_structure *""'");
14885  }
14886  arg1 = reinterpret_cast< a_structure * >(argp1);
14887  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14888  if (!SWIG_IsOK(ecode2)) {
14889  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_max" "', argument " "2"" of type '" "int""'");
14890  }
14891  arg2 = static_cast< int >(val2);
14892  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14893  if (!SWIG_IsOK(ecode3)) {
14894  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_max" "', argument " "3"" of type '" "int""'");
14895  }
14896  arg3 = static_cast< int >(val3);
14897  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14898  if (!SWIG_IsOK(ecode4)) {
14899  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_max" "', argument " "4"" of type '" "int""'");
14900  }
14901  arg4 = static_cast< int >(val4);
14902  ecode5 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14903  if (!SWIG_IsOK(ecode5)) {
14904  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_max" "', argument " "5"" of type '" "double""'");
14905  }
14906  arg5 = static_cast< double >(val5);
14907  ecode6 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
14908  if (!SWIG_IsOK(ecode6)) {
14909  SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "a_structure_max" "', argument " "6"" of type '" "int""'");
14910  }
14911  arg6 = static_cast< int >(val6);
14912  ecode7 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[7], &val7);
14913  if (!SWIG_IsOK(ecode7)) {
14914  SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "a_structure_max" "', argument " "7"" of type '" "int""'");
14915  }
14916  arg7 = static_cast< int >(val7);
14917  ecode8 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[8], &val8);
14918  if (!SWIG_IsOK(ecode8)) {
14919  SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "a_structure_max" "', argument " "8"" of type '" "double""'");
14920  }
14921  arg8 = static_cast< double >(val8);
14922  ecode9 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[9], &val9);
14923  if (!SWIG_IsOK(ecode9)) {
14924  SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "a_structure_max" "', argument " "9"" of type '" "int""'");
14925  }
14926  arg9 = static_cast< int >(val9);
14927  ecode10 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[10], &val10);
14928  if (!SWIG_IsOK(ecode10)) {
14929  SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "a_structure_max" "', argument " "10"" of type '" "int""'");
14930  }
14931  arg10 = static_cast< int >(val10);
14932  ecode11 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[11], &val11);
14933  if (!SWIG_IsOK(ecode11)) {
14934  SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "a_structure_max" "', argument " "11"" of type '" "double""'");
14935  }
14936  arg11 = static_cast< double >(val11);
14937  try {
14938  result = (double)(arg1)->max(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14939  } catch(...) {
14940  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14941  }
14942  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
14943  return TCL_OK;
14944 fail:
14945  return TCL_ERROR;
14946 }
14947 
14948 
14949 SWIGINTERN int
14950 _wrap_a_structure_min__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
14951  a_structure *arg1 = (a_structure *) 0 ;
14952  int arg2 ;
14953  int arg3 ;
14954  int arg4 ;
14955  int arg5 ;
14956  void *argp1 = 0 ;
14957  int res1 = 0 ;
14958  int val2 ;
14959  int ecode2 = 0 ;
14960  int val3 ;
14961  int ecode3 = 0 ;
14962  int val4 ;
14963  int ecode4 = 0 ;
14964  int val5 ;
14965  int ecode5 = 0 ;
14966 
14967  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_min self rb1 rf1 rb2 rf2 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
14968  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
14969  if (!SWIG_IsOK(res1)) {
14970  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_min" "', argument " "1"" of type '" "a_structure *""'");
14971  }
14972  arg1 = reinterpret_cast< a_structure * >(argp1);
14973  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
14974  if (!SWIG_IsOK(ecode2)) {
14975  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_min" "', argument " "2"" of type '" "int""'");
14976  }
14977  arg2 = static_cast< int >(val2);
14978  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
14979  if (!SWIG_IsOK(ecode3)) {
14980  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_min" "', argument " "3"" of type '" "int""'");
14981  }
14982  arg3 = static_cast< int >(val3);
14983  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
14984  if (!SWIG_IsOK(ecode4)) {
14985  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_min" "', argument " "4"" of type '" "int""'");
14986  }
14987  arg4 = static_cast< int >(val4);
14988  ecode5 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
14989  if (!SWIG_IsOK(ecode5)) {
14990  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_min" "', argument " "5"" of type '" "int""'");
14991  }
14992  arg5 = static_cast< int >(val5);
14993  try {
14994  (arg1)->min(arg2,arg3,arg4,arg5);
14995  } catch(...) {
14996  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
14997  }
14998 
14999  return TCL_OK;
15000 fail:
15001  return TCL_ERROR;
15002 }
15003 
15004 
15005 SWIGINTERN int
15006 _wrap_a_structure_min(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15007  Tcl_Obj *CONST *argv = objv+1;
15008  int argc = objc-1;
15009  if (argc == 5) {
15010  int _v;
15011  void *vptr = 0;
15012  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15013  _v = SWIG_CheckState(res);
15014  if (_v) {
15015  {
15016  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
15017  _v = SWIG_CheckState(res);
15018  }
15019  if (_v) {
15020  {
15021  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
15022  _v = SWIG_CheckState(res);
15023  }
15024  if (_v) {
15025  {
15026  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
15027  _v = SWIG_CheckState(res);
15028  }
15029  if (_v) {
15030  {
15031  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
15032  _v = SWIG_CheckState(res);
15033  }
15034  if (_v) {
15035  return _wrap_a_structure_min__SWIG_1(clientData, interp, objc, argv - 1);
15036  }
15037  }
15038  }
15039  }
15040  }
15041  }
15042  if (argc == 11) {
15043  int _v;
15044  void *vptr = 0;
15045  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15046  _v = SWIG_CheckState(res);
15047  if (_v) {
15048  {
15049  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
15050  _v = SWIG_CheckState(res);
15051  }
15052  if (_v) {
15053  {
15054  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
15055  _v = SWIG_CheckState(res);
15056  }
15057  if (_v) {
15058  {
15059  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
15060  _v = SWIG_CheckState(res);
15061  }
15062  if (_v) {
15063  {
15064  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
15065  _v = SWIG_CheckState(res);
15066  }
15067  if (_v) {
15068  {
15069  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
15070  _v = SWIG_CheckState(res);
15071  }
15072  if (_v) {
15073  {
15074  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
15075  _v = SWIG_CheckState(res);
15076  }
15077  if (_v) {
15078  {
15079  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
15080  _v = SWIG_CheckState(res);
15081  }
15082  if (_v) {
15083  {
15084  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[8], NULL);
15085  _v = SWIG_CheckState(res);
15086  }
15087  if (_v) {
15088  {
15089  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[9], NULL);
15090  _v = SWIG_CheckState(res);
15091  }
15092  if (_v) {
15093  {
15094  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[10], NULL);
15095  _v = SWIG_CheckState(res);
15096  }
15097  if (_v) {
15098  return _wrap_a_structure_min__SWIG_0(clientData, interp, objc, argv - 1);
15099  }
15100  }
15101  }
15102  }
15103  }
15104  }
15105  }
15106  }
15107  }
15108  }
15109  }
15110  }
15111 
15112  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_min'.\n"
15113  " Possible C/C++ prototypes are:\n"
15114  " a_structure::min(int const,int const,int const,double const,int const,int const,double const,int const,int const,double const)\n"
15115  " a_structure::min(int const,int const,int const,int const)\n", TCL_STATIC);
15116  return TCL_ERROR;
15117 }
15118 
15119 
15120 SWIGINTERN int
15121 _wrap_a_structure_max__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15122  a_structure *arg1 = (a_structure *) 0 ;
15123  int arg2 ;
15124  int arg3 ;
15125  int arg4 ;
15126  int arg5 ;
15127  void *argp1 = 0 ;
15128  int res1 = 0 ;
15129  int val2 ;
15130  int ecode2 = 0 ;
15131  int val3 ;
15132  int ecode3 = 0 ;
15133  int val4 ;
15134  int ecode4 = 0 ;
15135  int val5 ;
15136  int ecode5 = 0 ;
15137 
15138  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_max self rb1 rf1 rb2 rf2 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15139  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15140  if (!SWIG_IsOK(res1)) {
15141  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_max" "', argument " "1"" of type '" "a_structure *""'");
15142  }
15143  arg1 = reinterpret_cast< a_structure * >(argp1);
15144  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
15145  if (!SWIG_IsOK(ecode2)) {
15146  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_max" "', argument " "2"" of type '" "int""'");
15147  }
15148  arg2 = static_cast< int >(val2);
15149  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
15150  if (!SWIG_IsOK(ecode3)) {
15151  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_max" "', argument " "3"" of type '" "int""'");
15152  }
15153  arg3 = static_cast< int >(val3);
15154  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
15155  if (!SWIG_IsOK(ecode4)) {
15156  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_max" "', argument " "4"" of type '" "int""'");
15157  }
15158  arg4 = static_cast< int >(val4);
15159  ecode5 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
15160  if (!SWIG_IsOK(ecode5)) {
15161  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_max" "', argument " "5"" of type '" "int""'");
15162  }
15163  arg5 = static_cast< int >(val5);
15164  try {
15165  (arg1)->max(arg2,arg3,arg4,arg5);
15166  } catch(...) {
15167  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15168  }
15169 
15170  return TCL_OK;
15171 fail:
15172  return TCL_ERROR;
15173 }
15174 
15175 
15176 SWIGINTERN int
15177 _wrap_a_structure_max(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15178  Tcl_Obj *CONST *argv = objv+1;
15179  int argc = objc-1;
15180  if (argc == 5) {
15181  int _v;
15182  void *vptr = 0;
15183  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15184  _v = SWIG_CheckState(res);
15185  if (_v) {
15186  {
15187  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
15188  _v = SWIG_CheckState(res);
15189  }
15190  if (_v) {
15191  {
15192  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
15193  _v = SWIG_CheckState(res);
15194  }
15195  if (_v) {
15196  {
15197  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
15198  _v = SWIG_CheckState(res);
15199  }
15200  if (_v) {
15201  {
15202  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
15203  _v = SWIG_CheckState(res);
15204  }
15205  if (_v) {
15206  return _wrap_a_structure_max__SWIG_1(clientData, interp, objc, argv - 1);
15207  }
15208  }
15209  }
15210  }
15211  }
15212  }
15213  if (argc == 11) {
15214  int _v;
15215  void *vptr = 0;
15216  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15217  _v = SWIG_CheckState(res);
15218  if (_v) {
15219  {
15220  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[1], NULL);
15221  _v = SWIG_CheckState(res);
15222  }
15223  if (_v) {
15224  {
15225  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[2], NULL);
15226  _v = SWIG_CheckState(res);
15227  }
15228  if (_v) {
15229  {
15230  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[3], NULL);
15231  _v = SWIG_CheckState(res);
15232  }
15233  if (_v) {
15234  {
15235  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[4], NULL);
15236  _v = SWIG_CheckState(res);
15237  }
15238  if (_v) {
15239  {
15240  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[5], NULL);
15241  _v = SWIG_CheckState(res);
15242  }
15243  if (_v) {
15244  {
15245  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[6], NULL);
15246  _v = SWIG_CheckState(res);
15247  }
15248  if (_v) {
15249  {
15250  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[7], NULL);
15251  _v = SWIG_CheckState(res);
15252  }
15253  if (_v) {
15254  {
15255  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[8], NULL);
15256  _v = SWIG_CheckState(res);
15257  }
15258  if (_v) {
15259  {
15260  int res = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(argv[9], NULL);
15261  _v = SWIG_CheckState(res);
15262  }
15263  if (_v) {
15264  {
15265  int res = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(argv[10], NULL);
15266  _v = SWIG_CheckState(res);
15267  }
15268  if (_v) {
15269  return _wrap_a_structure_max__SWIG_0(clientData, interp, objc, argv - 1);
15270  }
15271  }
15272  }
15273  }
15274  }
15275  }
15276  }
15277  }
15278  }
15279  }
15280  }
15281  }
15282 
15283  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_max'.\n"
15284  " Possible C/C++ prototypes are:\n"
15285  " a_structure::max(int const,int const,int const,double const,int const,int const,double const,int const,int const,double const)\n"
15286  " a_structure::max(int const,int const,int const,int const)\n", TCL_STATIC);
15287  return TCL_ERROR;
15288 }
15289 
15290 
15291 SWIGINTERN int
15292 _wrap_a_structure_minsteep(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15293  a_structure *arg1 = (a_structure *) 0 ;
15294  int arg2 ;
15295  int arg3 ;
15296  int arg4 ;
15297  int arg5 ;
15298  void *argp1 = 0 ;
15299  int res1 = 0 ;
15300  int val2 ;
15301  int ecode2 = 0 ;
15302  int val3 ;
15303  int ecode3 = 0 ;
15304  int val4 ;
15305  int ecode4 = 0 ;
15306  int val5 ;
15307  int ecode5 = 0 ;
15308 
15309  if (SWIG_GetArgs(interp, objc, objv,"ooooo:a_structure_minsteep self rb1 rf1 rb2 rf2 ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15310  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15311  if (!SWIG_IsOK(res1)) {
15312  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_minsteep" "', argument " "1"" of type '" "a_structure *""'");
15313  }
15314  arg1 = reinterpret_cast< a_structure * >(argp1);
15315  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
15316  if (!SWIG_IsOK(ecode2)) {
15317  SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "a_structure_minsteep" "', argument " "2"" of type '" "int""'");
15318  }
15319  arg2 = static_cast< int >(val2);
15320  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
15321  if (!SWIG_IsOK(ecode3)) {
15322  SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "a_structure_minsteep" "', argument " "3"" of type '" "int""'");
15323  }
15324  arg3 = static_cast< int >(val3);
15325  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
15326  if (!SWIG_IsOK(ecode4)) {
15327  SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "a_structure_minsteep" "', argument " "4"" of type '" "int""'");
15328  }
15329  arg4 = static_cast< int >(val4);
15330  ecode5 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
15331  if (!SWIG_IsOK(ecode5)) {
15332  SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "a_structure_minsteep" "', argument " "5"" of type '" "int""'");
15333  }
15334  arg5 = static_cast< int >(val5);
15335  try {
15336  (arg1)->minsteep(arg2,arg3,arg4,arg5);
15337  } catch(...) {
15338  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15339  }
15340 
15341  return TCL_OK;
15342 fail:
15343  return TCL_ERROR;
15344 }
15345 
15346 
15347 SWIGINTERN int
15348 _wrap_a_structure_trianglecloud(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15349  a_structure *arg1 = (a_structure *) 0 ;
15350  a_trianglecloud *arg2 = 0 ;
15351  void *argp1 = 0 ;
15352  int res1 = 0 ;
15353  void *argp2 = 0 ;
15354  int res2 = 0 ;
15355 
15356  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_trianglecloud self a_trianglecloud & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15357  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15358  if (!SWIG_IsOK(res1)) {
15359  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_trianglecloud" "', argument " "1"" of type '" "a_structure const *""'");
15360  }
15361  arg1 = reinterpret_cast< a_structure * >(argp1);
15362  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_trianglecloud, 0 );
15363  if (!SWIG_IsOK(res2)) {
15364  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_trianglecloud" "', argument " "2"" of type '" "a_trianglecloud &""'");
15365  }
15366  if (!argp2) {
15367  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_trianglecloud" "', argument " "2"" of type '" "a_trianglecloud &""'");
15368  }
15369  arg2 = reinterpret_cast< a_trianglecloud * >(argp2);
15370  try {
15371  ((a_structure const *)arg1)->trianglecloud(*arg2);
15372  } catch(...) {
15373  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15374  }
15375 
15376  return TCL_OK;
15377 fail:
15378  return TCL_ERROR;
15379 }
15380 
15381 
15382 SWIGINTERN int
15383 _wrap_a_structure_polyline(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15384  a_structure *arg1 = (a_structure *) 0 ;
15385  a_linecloud *arg2 = 0 ;
15386  void *argp1 = 0 ;
15387  int res1 = 0 ;
15388  void *argp2 = 0 ;
15389  int res2 = 0 ;
15390 
15391  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_polyline self a_linecloud & ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15392  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15393  if (!SWIG_IsOK(res1)) {
15394  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_polyline" "', argument " "1"" of type '" "a_structure const *""'");
15395  }
15396  arg1 = reinterpret_cast< a_structure * >(argp1);
15397  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_a_linecloud, 0 );
15398  if (!SWIG_IsOK(res2)) {
15399  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_polyline" "', argument " "2"" of type '" "a_linecloud &""'");
15400  }
15401  if (!argp2) {
15402  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_polyline" "', argument " "2"" of type '" "a_linecloud &""'");
15403  }
15404  arg2 = reinterpret_cast< a_linecloud * >(argp2);
15405  try {
15406  ((a_structure const *)arg1)->polyline(*arg2);
15407  } catch(...) {
15408  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15409  }
15410 
15411  return TCL_OK;
15412 fail:
15413  return TCL_ERROR;
15414 }
15415 
15416 
15417 SWIGINTERN int
15418 _wrap_a_structure_convert__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15419  a_structure *arg1 = (a_structure *) 0 ;
15420  std::string *arg2 = 0 ;
15421  void *argp1 = 0 ;
15422  int res1 = 0 ;
15423  int res2 = SWIG_OLDOBJ ;
15424  std::string result;
15425 
15426  if (SWIG_GetArgs(interp, objc, objv,"oo:a_structure_convert self code ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15427  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15428  if (!SWIG_IsOK(res1)) {
15429  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_convert" "', argument " "1"" of type '" "a_structure *""'");
15430  }
15431  arg1 = reinterpret_cast< a_structure * >(argp1);
15432  {
15433  std::string *ptr = (std::string *)0;
15434  res2 = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[2], &ptr);
15435  if (!SWIG_IsOK(res2)) {
15436  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_convert" "', argument " "2"" of type '" "std::string const &""'");
15437  }
15438  if (!ptr) {
15439  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_convert" "', argument " "2"" of type '" "std::string const &""'");
15440  }
15441  arg2 = ptr;
15442  }
15443  try {
15444  result = a_structure_convert__SWIG_0(arg1,(std::string const &)*arg2);
15445  } catch(...) {
15446  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15447  }
15448  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
15449  if (SWIG_IsNewObj(res2)) delete arg2;
15450  return TCL_OK;
15451 fail:
15452  if (SWIG_IsNewObj(res2)) delete arg2;
15453  return TCL_ERROR;
15454 }
15455 
15456 
15457 SWIGINTERN int
15458 _wrap_a_structure_convert__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15459  a_structure *arg1 = (a_structure *) 0 ;
15460  std::string *arg2 = 0 ;
15461  std::string *arg3 = 0 ;
15462  void *argp1 = 0 ;
15463  int res1 = 0 ;
15464  int res2 = SWIG_OLDOBJ ;
15465  int res3 = SWIG_OLDOBJ ;
15466 
15467  if (SWIG_GetArgs(interp, objc, objv,"ooo:a_structure_convert self code name ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
15468  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15469  if (!SWIG_IsOK(res1)) {
15470  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_convert" "', argument " "1"" of type '" "a_structure *""'");
15471  }
15472  arg1 = reinterpret_cast< a_structure * >(argp1);
15473  {
15474  std::string *ptr = (std::string *)0;
15475  res2 = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[2], &ptr);
15476  if (!SWIG_IsOK(res2)) {
15477  SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "a_structure_convert" "', argument " "2"" of type '" "std::string const &""'");
15478  }
15479  if (!ptr) {
15480  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_convert" "', argument " "2"" of type '" "std::string const &""'");
15481  }
15482  arg2 = ptr;
15483  }
15484  {
15485  std::string *ptr = (std::string *)0;
15486  res3 = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(objv[3], &ptr);
15487  if (!SWIG_IsOK(res3)) {
15488  SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "a_structure_convert" "', argument " "3"" of type '" "std::string const &""'");
15489  }
15490  if (!ptr) {
15491  SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "a_structure_convert" "', argument " "3"" of type '" "std::string const &""'");
15492  }
15493  arg3 = ptr;
15494  }
15495  try {
15496  a_structure_convert__SWIG_1(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
15497  } catch(...) {
15498  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15499  }
15500 
15501  if (SWIG_IsNewObj(res2)) delete arg2;
15502  if (SWIG_IsNewObj(res3)) delete arg3;
15503  return TCL_OK;
15504 fail:
15505  if (SWIG_IsNewObj(res2)) delete arg2;
15506  if (SWIG_IsNewObj(res3)) delete arg3;
15507  return TCL_ERROR;
15508 }
15509 
15510 
15511 SWIGINTERN int
15512 _wrap_a_structure_convert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15513  Tcl_Obj *CONST *argv = objv+1;
15514  int argc = objc-1;
15515  if (argc == 2) {
15516  int _v;
15517  void *vptr = 0;
15518  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15519  _v = SWIG_CheckState(res);
15520  if (_v) {
15521  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(argv[1], (std::string**)(0));
15522  _v = SWIG_CheckState(res);
15523  if (_v) {
15524  return _wrap_a_structure_convert__SWIG_0(clientData, interp, objc, argv - 1);
15525  }
15526  }
15527  }
15528  if (argc == 3) {
15529  int _v;
15530  void *vptr = 0;
15531  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15532  _v = SWIG_CheckState(res);
15533  if (_v) {
15534  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(argv[1], (std::string**)(0));
15535  _v = SWIG_CheckState(res);
15536  if (_v) {
15537  int res = SWIG_AsPtr_std_string SWIG_TCL_CALL_ARGS_2(argv[2], (std::string**)(0));
15538  _v = SWIG_CheckState(res);
15539  if (_v) {
15540  return _wrap_a_structure_convert__SWIG_1(clientData, interp, objc, argv - 1);
15541  }
15542  }
15543  }
15544  }
15545 
15546  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_convert'.\n"
15547  " Possible C/C++ prototypes are:\n"
15548  " a_structure::convert(std::string const &)\n"
15549  " a_structure::convert(std::string const &,std::string const &)\n", TCL_STATIC);
15550  return TCL_ERROR;
15551 }
15552 
15553 
15554 SWIGINTERN int
15555 _wrap_a_structure_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15556  a_structure *arg1 = (a_structure *) 0 ;
15557  void *argp1 = 0 ;
15558  int res1 = 0 ;
15559  std::string result;
15560 
15561  if (SWIG_GetArgs(interp, objc, objv,"o:a_structure_material self ",(void *)0) == TCL_ERROR) SWIG_fail;
15562  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_a_structure, 0 | 0 );
15563  if (!SWIG_IsOK(res1)) {
15564  SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "a_structure_material" "', argument " "1"" of type '" "a_structure *""'");
15565  }
15566  arg1 = reinterpret_cast< a_structure * >(argp1);
15567  try {
15568  result = a_structure_material__SWIG_1(arg1);
15569  } catch(...) {
15570  SWIG_exception_fail(SWIG_RuntimeError,"unknown exception");
15571  }
15572  Tcl_SetObjResult(interp,SWIG_From_std_string(static_cast< std::string >(result)));
15573  return TCL_OK;
15574 fail:
15575  return TCL_ERROR;
15576 }
15577 
15578 
15579 SWIGINTERN int
15580 _wrap_a_structure_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
15581  Tcl_Obj *CONST *argv = objv+1;
15582  int argc = objc-1;
15583  if (argc == 1) {
15584  int _v;
15585  void *vptr = 0;
15586  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15587  _v = SWIG_CheckState(res);
15588  if (_v) {
15589  return _wrap_a_structure_material__SWIG_1(clientData, interp, objc, argv - 1);
15590  }
15591  }
15592  if (argc == 2) {
15593  int _v;
15594  void *vptr = 0;
15595  int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_a_structure, 0);
15596  _v = SWIG_CheckState(res);
15597  if (_v) {
15598  void *vptr = 0;
15599  int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_a_material, 0);
15600  _v = SWIG_CheckState(res);
15601  if (_v) {
15602  return _wrap_a_structure_material__SWIG_0(clientData, interp, objc, argv - 1);
15603  }
15604  }
15605  }
15606 
15607  Tcl_SetResult(interp,(char *) "Wrong number or type of arguments for overloaded function 'a_structure_material'.\n"
15608  " Possible C/C++ prototypes are:\n"
15609  " a_structure::material(a_material *)\n"
15610  " a_structure::material()\n", TCL_STATIC);
15611  return TCL_ERROR;
15612 }
15613 
15614 
15616 a_structure *arg1 = (a_structure *) obj;
15617 delete arg1;
15618 }
15620  {"clear", _wrap_a_structure_clear},
15621  {"nb", _wrap_a_structure_nb},
15622  {"rb", _wrap_a_structure_rb},
15623  {"V", _wrap_a_structure_V},
15624  {"c", _wrap_a_structure_c},
15625  {"m", _wrap_a_structure_m},
15626  {"Ws", _wrap_a_structure_Ws},
15627  {"W", _wrap_a_structure_W},
15628  {"fe", _wrap_a_structure_fe},
15629  {"ft", _wrap_a_structure_ft},
15630  {"potential", _wrap_a_structure_potential},
15631  {"add_block", _wrap_a_structure_add_block},
15632  {"link_blocks", _wrap_a_structure_link_blocks},
15633  {"b", _wrap_a_structure_b},
15634  {"connected", _wrap_a_structure_connected},
15635  {"out", _wrap_a_structure_out},
15636  {"in", _wrap_a_structure_in},
15637  {"nodes", _wrap_a_structure_nodes},
15638  {"clearinternal", _wrap_a_structure_clearinternal},
15639  {"clearexternal", _wrap_a_structure_clearexternal},
15640  {"clearall", _wrap_a_structure_clearall},
15641  {"objective", _wrap_a_structure_objective},
15642  {"criteria", _wrap_a_structure_criteria},
15643  {"ok", _wrap_a_structure_ok},
15644  {"penalty", _wrap_a_structure_penalty},
15645  {"penalty_factor", _wrap_a_structure_penalty_factor},
15646  {"objectivep", _wrap_a_structure_objectivep},
15647  {"rotate", _wrap_a_structure_rotate},
15648  {"slide", _wrap_a_structure_slide},
15649  {"compute", _wrap_a_structure_compute},
15650  {"min", _wrap_a_structure_min},
15651  {"max", _wrap_a_structure_max},
15652  {"minsteep", _wrap_a_structure_minsteep},
15653  {"trianglecloud", _wrap_a_structure_trianglecloud},
15654  {"polyline", _wrap_a_structure_polyline},
15655  {"convert", _wrap_a_structure_convert},
15656  {"material", _wrap_a_structure_material},
15657  {0,0}
15658 };
15660  {0,0,0}
15661 };
15663 static const char * swig_a_structure_base_names[] = {0};
15665 
15667  { SWIG_prefix "new_vectori", (swig_wrapper_func) _wrap_new_vectori, NULL},
15668  { SWIG_prefix "vectori_size", (swig_wrapper_func) _wrap_vectori_size, NULL},
15669  { SWIG_prefix "vectori_empty", (swig_wrapper_func) _wrap_vectori_empty, NULL},
15670  { SWIG_prefix "vectori_clear", (swig_wrapper_func) _wrap_vectori_clear, NULL},
15671  { SWIG_prefix "vectori_push", (swig_wrapper_func) _wrap_vectori_push, NULL},
15672  { SWIG_prefix "vectori_pop", (swig_wrapper_func) _wrap_vectori_pop, NULL},
15673  { SWIG_prefix "vectori_get", (swig_wrapper_func) _wrap_vectori_get, NULL},
15674  { SWIG_prefix "vectori_set", (swig_wrapper_func) _wrap_vectori_set, NULL},
15675  { SWIG_prefix "delete_vectori", (swig_wrapper_func) _wrap_delete_vectori, NULL},
15677  { SWIG_prefix "new_vectord", (swig_wrapper_func) _wrap_new_vectord, NULL},
15678  { SWIG_prefix "vectord_size", (swig_wrapper_func) _wrap_vectord_size, NULL},
15679  { SWIG_prefix "vectord_empty", (swig_wrapper_func) _wrap_vectord_empty, NULL},
15680  { SWIG_prefix "vectord_clear", (swig_wrapper_func) _wrap_vectord_clear, NULL},
15681  { SWIG_prefix "vectord_push", (swig_wrapper_func) _wrap_vectord_push, NULL},
15682  { SWIG_prefix "vectord_pop", (swig_wrapper_func) _wrap_vectord_pop, NULL},
15683  { SWIG_prefix "vectord_get", (swig_wrapper_func) _wrap_vectord_get, NULL},
15684  { SWIG_prefix "vectord_set", (swig_wrapper_func) _wrap_vectord_set, NULL},
15685  { SWIG_prefix "delete_vectord", (swig_wrapper_func) _wrap_delete_vectord, NULL},
15687  { SWIG_prefix "new_a_material", (swig_wrapper_func) _wrap_new_a_material, NULL},
15688  { SWIG_prefix "a_material_help", (swig_wrapper_func) _wrap_a_material_help, NULL},
15689  { SWIG_prefix "a_material_ref", (swig_wrapper_func) _wrap_a_material_ref, NULL},
15690  { SWIG_prefix "a_material_density", (swig_wrapper_func) _wrap_a_material_density, NULL},
15691  { SWIG_prefix "a_material_name", (swig_wrapper_func) _wrap_a_material_name, NULL},
15692  { SWIG_prefix "a_material_read", (swig_wrapper_func) _wrap_a_material_read, NULL},
15693  { SWIG_prefix "a_material_write", (swig_wrapper_func) _wrap_a_material_write, NULL},
15694  { SWIG_prefix "a_material_print", (swig_wrapper_func) _wrap_a_material_print, NULL},
15695  { SWIG_prefix "delete_a_material", (swig_wrapper_func) _wrap_delete_a_material, NULL},
15697  { SWIG_prefix "new_a_plucker", (swig_wrapper_func) _wrap_new_a_plucker, NULL},
15698  { SWIG_prefix "a_plucker_name", (swig_wrapper_func) _wrap_a_plucker_name, NULL},
15699  { SWIG_prefix "a_plucker_+", (swig_wrapper_func) _wrap_a_plucker_a___, NULL},
15700  { SWIG_prefix "a_plucker_-", (swig_wrapper_func) _wrap_a_plucker_s___, NULL},
15701  { SWIG_prefix "a_plucker_p1", (swig_wrapper_func) _wrap_a_plucker_p1, NULL},
15702  { SWIG_prefix "a_plucker_p2", (swig_wrapper_func) _wrap_a_plucker_p2, NULL},
15703  { SWIG_prefix "a_plucker_read", (swig_wrapper_func) _wrap_a_plucker_read, NULL},
15704  { SWIG_prefix "a_plucker_write", (swig_wrapper_func) _wrap_a_plucker_write, NULL},
15705  { SWIG_prefix "a_plucker_print", (swig_wrapper_func) _wrap_a_plucker_print, NULL},
15706  { SWIG_prefix "delete_a_plucker", (swig_wrapper_func) _wrap_delete_a_plucker, NULL},
15708  { SWIG_prefix "p2w", (swig_wrapper_func) _wrap_p2w, NULL},
15709  { SWIG_prefix "a_wrench_name", (swig_wrapper_func) _wrap_a_wrench_name, NULL},
15710  { SWIG_prefix "a_wrench_help", (swig_wrapper_func) _wrap_a_wrench_help, NULL},
15711  { SWIG_prefix "a_wrench_set", (swig_wrapper_func) _wrap_a_wrench_set, NULL},
15712  { SWIG_prefix "new_a_wrench", (swig_wrapper_func) _wrap_new_a_wrench, NULL},
15713  { SWIG_prefix "delete_a_wrench", (swig_wrapper_func) _wrap_delete_a_wrench, NULL},
15714  { SWIG_prefix "a_wrench_F", (swig_wrapper_func) _wrap_a_wrench_F, NULL},
15715  { SWIG_prefix "a_wrench_fx", (swig_wrapper_func) _wrap_a_wrench_fx, NULL},
15716  { SWIG_prefix "a_wrench_fy", (swig_wrapper_func) _wrap_a_wrench_fy, NULL},
15717  { SWIG_prefix "a_wrench_fz", (swig_wrapper_func) _wrap_a_wrench_fz, NULL},
15718  { SWIG_prefix "a_wrench_M", (swig_wrapper_func) _wrap_a_wrench_M, NULL},
15719  { SWIG_prefix "a_wrench_mx", (swig_wrapper_func) _wrap_a_wrench_mx, NULL},
15720  { SWIG_prefix "a_wrench_my", (swig_wrapper_func) _wrap_a_wrench_my, NULL},
15721  { SWIG_prefix "a_wrench_mz", (swig_wrapper_func) _wrap_a_wrench_mz, NULL},
15722  { SWIG_prefix "a_wrench_f", (swig_wrapper_func) _wrap_a_wrench_f, NULL},
15723  { SWIG_prefix "a_wrench_m", (swig_wrapper_func) _wrap_a_wrench_m, NULL},
15724  { SWIG_prefix "a_wrench_pierce", (swig_wrapper_func) _wrap_a_wrench_pierce, NULL},
15725  { SWIG_prefix "a_wrench_clear", (swig_wrapper_func) _wrap_a_wrench_clear, NULL},
15726  { SWIG_prefix "a_wrench_+", (swig_wrapper_func) _wrap_a_wrench_a___, NULL},
15727  { SWIG_prefix "a_wrench_-", (swig_wrapper_func) _wrap_a_wrench_s___, NULL},
15728  { SWIG_prefix "a_wrench_origin", (swig_wrapper_func) _wrap_a_wrench_origin, NULL},
15729  { SWIG_prefix "a_wrench_d0", (swig_wrapper_func) _wrap_a_wrench_d0, NULL},
15730  { SWIG_prefix "a_wrench_torque", (swig_wrapper_func) _wrap_a_wrench_torque, NULL},
15732  { SWIG_prefix "p2t", (swig_wrapper_func) _wrap_p2t, NULL},
15733  { SWIG_prefix "a_twist_set", (swig_wrapper_func) _wrap_a_twist_set, NULL},
15734  { SWIG_prefix "new_a_twist", (swig_wrapper_func) _wrap_new_a_twist, NULL},
15735  { SWIG_prefix "delete_a_twist", (swig_wrapper_func) _wrap_delete_a_twist, NULL},
15736  { SWIG_prefix "a_twist_name", (swig_wrapper_func) _wrap_a_twist_name, NULL},
15737  { SWIG_prefix "a_twist_help", (swig_wrapper_func) _wrap_a_twist_help, NULL},
15738  { SWIG_prefix "a_twist_dx", (swig_wrapper_func) _wrap_a_twist_dx, NULL},
15739  { SWIG_prefix "a_twist_dy", (swig_wrapper_func) _wrap_a_twist_dy, NULL},
15740  { SWIG_prefix "a_twist_dz", (swig_wrapper_func) _wrap_a_twist_dz, NULL},
15741  { SWIG_prefix "a_twist_rx", (swig_wrapper_func) _wrap_a_twist_rx, NULL},
15742  { SWIG_prefix "a_twist_ry", (swig_wrapper_func) _wrap_a_twist_ry, NULL},
15743  { SWIG_prefix "a_twist_rz", (swig_wrapper_func) _wrap_a_twist_rz, NULL},
15744  { SWIG_prefix "a_twist_d", (swig_wrapper_func) _wrap_a_twist_d, NULL},
15745  { SWIG_prefix "a_twist_r", (swig_wrapper_func) _wrap_a_twist_r, NULL},
15746  { SWIG_prefix "a_twist_reset", (swig_wrapper_func) _wrap_a_twist_reset, NULL},
15747  { SWIG_prefix "a_twist_translate", (swig_wrapper_func) _wrap_a_twist_translate, NULL},
15748  { SWIG_prefix "a_twist_rotate", (swig_wrapper_func) _wrap_a_twist_rotate, NULL},
15749  { SWIG_prefix "a_twist_*", (swig_wrapper_func) _wrap_a_twist_m___, NULL},
15751  { SWIG_prefix "a_block_help", (swig_wrapper_func) _wrap_a_block_help, NULL},
15752  { SWIG_prefix "a_block_copy", (swig_wrapper_func) _wrap_a_block_copy, NULL},
15753  { SWIG_prefix "a_block_deepcopy", (swig_wrapper_func) _wrap_a_block_deepcopy, NULL},
15754  { SWIG_prefix "a_block_g", (swig_wrapper_func) _wrap_a_block_g, NULL},
15755  { SWIG_prefix "a_block_name", (swig_wrapper_func) _wrap_a_block_name, NULL},
15756  { SWIG_prefix "a_block_c", (swig_wrapper_func) _wrap_a_block_c, NULL},
15757  { SWIG_prefix "a_block_cl", (swig_wrapper_func) _wrap_a_block_cl, NULL},
15758  { SWIG_prefix "a_block_m", (swig_wrapper_func) _wrap_a_block_m, NULL},
15759  { SWIG_prefix "a_block_Ws", (swig_wrapper_func) _wrap_a_block_Ws, NULL},
15760  { SWIG_prefix "a_block_fe", (swig_wrapper_func) _wrap_a_block_fe, NULL},
15761  { SWIG_prefix "a_block_W", (swig_wrapper_func) _wrap_a_block_W, NULL},
15762  { SWIG_prefix "a_block_ft", (swig_wrapper_func) _wrap_a_block_ft, NULL},
15763  { SWIG_prefix "a_block_nextblock", (swig_wrapper_func) _wrap_a_block_nextblock, NULL},
15764  { SWIG_prefix "a_block_V", (swig_wrapper_func) _wrap_a_block_V, NULL},
15765  { SWIG_prefix "a_block_potential", (swig_wrapper_func) _wrap_a_block_potential, NULL},
15766  { SWIG_prefix "a_block_clearinternal", (swig_wrapper_func) _wrap_a_block_clearinternal, NULL},
15767  { SWIG_prefix "a_block_clearexternal", (swig_wrapper_func) _wrap_a_block_clearexternal, NULL},
15768  { SWIG_prefix "a_block_clearall", (swig_wrapper_func) _wrap_a_block_clearall, NULL},
15769  { SWIG_prefix "a_block_compute", (swig_wrapper_func) _wrap_a_block_compute, NULL},
15770  { SWIG_prefix "a_block_material", (swig_wrapper_func) _wrap_a_block_material, NULL},
15771  { SWIG_prefix "a_block_nv", (swig_wrapper_func) _wrap_a_block_nv, NULL},
15772  { SWIG_prefix "a_block_ni", (swig_wrapper_func) _wrap_a_block_ni, NULL},
15773  { SWIG_prefix "a_block_av", (swig_wrapper_func) _wrap_a_block_av, NULL},
15774  { SWIG_prefix "a_block_ai", (swig_wrapper_func) _wrap_a_block_ai, NULL},
15775  { SWIG_prefix "a_block_v", (swig_wrapper_func) _wrap_a_block_v, NULL},
15776  { SWIG_prefix "a_block_i", (swig_wrapper_func) _wrap_a_block_i, NULL},
15777  { SWIG_prefix "a_block_pos", (swig_wrapper_func) _wrap_a_block_pos, NULL},
15778  { SWIG_prefix "a_block_place", (swig_wrapper_func) _wrap_a_block_place, NULL},
15779  { SWIG_prefix "a_block_in", (swig_wrapper_func) _wrap_a_block_in, NULL},
15780  { SWIG_prefix "a_block_out", (swig_wrapper_func) _wrap_a_block_out, NULL},
15781  { SWIG_prefix "a_block_exit", (swig_wrapper_func) _wrap_a_block_exit, NULL},
15782  { SWIG_prefix "a_block_entrance", (swig_wrapper_func) _wrap_a_block_entrance, NULL},
15783  { SWIG_prefix "a_block_criteria", (swig_wrapper_func) _wrap_a_block_criteria, NULL},
15784  { SWIG_prefix "a_block_ok", (swig_wrapper_func) _wrap_a_block_ok, NULL},
15785  { SWIG_prefix "a_block_penalty", (swig_wrapper_func) _wrap_a_block_penalty, NULL},
15786  { SWIG_prefix "a_block_print", (swig_wrapper_func) _wrap_a_block_print, NULL},
15787  { SWIG_prefix "a_block_convert", (swig_wrapper_func) _wrap_a_block_convert, NULL},
15788  { SWIG_prefix "delete_a_block", (swig_wrapper_func) _wrap_delete_a_block, NULL},
15790  { SWIG_prefix "new_a_block_2d3", (swig_wrapper_func) _wrap_new_a_block_2d3, NULL},
15791  { SWIG_prefix "a_block_2d3_help", (swig_wrapper_func) _wrap_a_block_2d3_help, NULL},
15792  { SWIG_prefix "a_block_2d3_copy", (swig_wrapper_func) _wrap_a_block_2d3_copy, NULL},
15793  { SWIG_prefix "a_block_2d3_deepcopy", (swig_wrapper_func) _wrap_a_block_2d3_deepcopy, NULL},
15794  { SWIG_prefix "a_block_2d3_thickness", (swig_wrapper_func) _wrap_a_block_2d3_thickness, NULL},
15795  { SWIG_prefix "a_block_2d3_normal", (swig_wrapper_func) _wrap_a_block_2d3_normal, NULL},
15796  { SWIG_prefix "a_block_2d3_v3d", (swig_wrapper_func) _wrap_a_block_2d3_v3d, NULL},
15797  { SWIG_prefix "delete_a_block_2d3", (swig_wrapper_func) _wrap_delete_a_block_2d3, NULL},
15799  { SWIG_prefix "cb_2d3", (swig_wrapper_func) _wrap_cb_2d3, NULL},
15800  { SWIG_prefix "new_a_block_2d4", (swig_wrapper_func) _wrap_new_a_block_2d4, NULL},
15801  { SWIG_prefix "a_block_2d4_help", (swig_wrapper_func) _wrap_a_block_2d4_help, NULL},
15802  { SWIG_prefix "a_block_2d4_copy", (swig_wrapper_func) _wrap_a_block_2d4_copy, NULL},
15803  { SWIG_prefix "a_block_2d4_deepcopy", (swig_wrapper_func) _wrap_a_block_2d4_deepcopy, NULL},
15804  { SWIG_prefix "a_block_2d4_thickness", (swig_wrapper_func) _wrap_a_block_2d4_thickness, NULL},
15805  { SWIG_prefix "a_block_2d4_normal", (swig_wrapper_func) _wrap_a_block_2d4_normal, NULL},
15806  { SWIG_prefix "a_block_2d4_v3d", (swig_wrapper_func) _wrap_a_block_2d4_v3d, NULL},
15807  { SWIG_prefix "delete_a_block_2d4", (swig_wrapper_func) _wrap_delete_a_block_2d4, NULL},
15809  { SWIG_prefix "cb_2d4", (swig_wrapper_func) _wrap_cb_2d4, NULL},
15810  { SWIG_prefix "new_a_block_2d5", (swig_wrapper_func) _wrap_new_a_block_2d5, NULL},
15811  { SWIG_prefix "a_block_2d5_help", (swig_wrapper_func) _wrap_a_block_2d5_help, NULL},
15812  { SWIG_prefix "a_block_2d5_copy", (swig_wrapper_func) _wrap_a_block_2d5_copy, NULL},
15813  { SWIG_prefix "a_block_2d5_deepcopy", (swig_wrapper_func) _wrap_a_block_2d5_deepcopy, NULL},
15814  { SWIG_prefix "a_block_2d5_thickness", (swig_wrapper_func) _wrap_a_block_2d5_thickness, NULL},
15815  { SWIG_prefix "a_block_2d5_normal", (swig_wrapper_func) _wrap_a_block_2d5_normal, NULL},
15816  { SWIG_prefix "a_block_2d5_v3d", (swig_wrapper_func) _wrap_a_block_2d5_v3d, NULL},
15817  { SWIG_prefix "delete_a_block_2d5", (swig_wrapper_func) _wrap_delete_a_block_2d5, NULL},
15819  { SWIG_prefix "cb_2d5", (swig_wrapper_func) _wrap_cb_2d5, NULL},
15820  { SWIG_prefix "a_face_help", (swig_wrapper_func) _wrap_a_face_help, NULL},
15821  { SWIG_prefix "a_face_nv", (swig_wrapper_func) _wrap_a_face_nv, NULL},
15822  { SWIG_prefix "a_face_av", (swig_wrapper_func) _wrap_a_face_av, NULL},
15823  { SWIG_prefix "a_face_rv", (swig_wrapper_func) _wrap_a_face_rv, NULL},
15824  { SWIG_prefix "a_face_rf", (swig_wrapper_func) _wrap_a_face_rf, NULL},
15825  { SWIG_prefix "a_face_block", (swig_wrapper_func) _wrap_a_face_block, NULL},
15826  { SWIG_prefix "a_face_v", (swig_wrapper_func) _wrap_a_face_v, NULL},
15827  { SWIG_prefix "a_face_vl", (swig_wrapper_func) _wrap_a_face_vl, NULL},
15828  { SWIG_prefix "a_face_c", (swig_wrapper_func) _wrap_a_face_c, NULL},
15829  { SWIG_prefix "a_face_cl", (swig_wrapper_func) _wrap_a_face_cl, NULL},
15830  { SWIG_prefix "a_face_grow", (swig_wrapper_func) _wrap_a_face_grow, NULL},
15831  { SWIG_prefix "a_face_normale", (swig_wrapper_func) _wrap_a_face_normale, NULL},
15832  { SWIG_prefix "a_face_point", (swig_wrapper_func) _wrap_a_face_point, NULL},
15833  { SWIG_prefix "a_face_slide", (swig_wrapper_func) _wrap_a_face_slide, NULL},
15834  { SWIG_prefix "a_face_deform", (swig_wrapper_func) _wrap_a_face_deform, NULL},
15835  { SWIG_prefix "a_face_nx", (swig_wrapper_func) _wrap_a_face_nx, NULL},
15836  { SWIG_prefix "a_face_ny", (swig_wrapper_func) _wrap_a_face_ny, NULL},
15837  { SWIG_prefix "a_face_normal", (swig_wrapper_func) _wrap_a_face_normal, NULL},
15838  { SWIG_prefix "a_face_dxM", (swig_wrapper_func) _wrap_a_face_dxM, NULL},
15839  { SWIG_prefix "a_face_dxm", (swig_wrapper_func) _wrap_a_face_dxm, NULL},
15840  { SWIG_prefix "a_face_dyM", (swig_wrapper_func) _wrap_a_face_dyM, NULL},
15841  { SWIG_prefix "a_face_dym", (swig_wrapper_func) _wrap_a_face_dym, NULL},
15842  { SWIG_prefix "a_face_dx", (swig_wrapper_func) _wrap_a_face_dx, NULL},
15843  { SWIG_prefix "a_face_dy", (swig_wrapper_func) _wrap_a_face_dy, NULL},
15844  { SWIG_prefix "a_face_S", (swig_wrapper_func) _wrap_a_face_S, NULL},
15845  { SWIG_prefix "a_face_Sx", (swig_wrapper_func) _wrap_a_face_Sx, NULL},
15846  { SWIG_prefix "a_face_Sy", (swig_wrapper_func) _wrap_a_face_Sy, NULL},
15847  { SWIG_prefix "a_face_Sz", (swig_wrapper_func) _wrap_a_face_Sz, NULL},
15848  { SWIG_prefix "a_face_N", (swig_wrapper_func) _wrap_a_face_N, NULL},
15849  { SWIG_prefix "a_face_Qx", (swig_wrapper_func) _wrap_a_face_Qx, NULL},
15850  { SWIG_prefix "a_face_Qy", (swig_wrapper_func) _wrap_a_face_Qy, NULL},
15851  { SWIG_prefix "a_face_Mt", (swig_wrapper_func) _wrap_a_face_Mt, NULL},
15852  { SWIG_prefix "a_face_Mx", (swig_wrapper_func) _wrap_a_face_Mx, NULL},
15853  { SWIG_prefix "a_face_My", (swig_wrapper_func) _wrap_a_face_My, NULL},
15854  { SWIG_prefix "a_face_ax", (swig_wrapper_func) _wrap_a_face_ax, NULL},
15855  { SWIG_prefix "a_face_ay", (swig_wrapper_func) _wrap_a_face_ay, NULL},
15856  { SWIG_prefix "a_face_x", (swig_wrapper_func) _wrap_a_face_x, NULL},
15857  { SWIG_prefix "a_face_exx", (swig_wrapper_func) _wrap_a_face_exx, NULL},
15858  { SWIG_prefix "a_face_exy", (swig_wrapper_func) _wrap_a_face_exy, NULL},
15859  { SWIG_prefix "a_face_exn", (swig_wrapper_func) _wrap_a_face_exn, NULL},
15860  { SWIG_prefix "a_face_exit", (swig_wrapper_func) _wrap_a_face_exit, NULL},
15861  { SWIG_prefix "a_face_clear", (swig_wrapper_func) _wrap_a_face_clear, NULL},
15862  { SWIG_prefix "a_face_criteria", (swig_wrapper_func) _wrap_a_face_criteria, NULL},
15863  { SWIG_prefix "a_face_ok", (swig_wrapper_func) _wrap_a_face_ok, NULL},
15864  { SWIG_prefix "a_face_penalty", (swig_wrapper_func) _wrap_a_face_penalty, NULL},
15865  { SWIG_prefix "a_face_lface", (swig_wrapper_func) _wrap_a_face_lface, NULL},
15866  { SWIG_prefix "a_face_in", (swig_wrapper_func) _wrap_a_face_in, NULL},
15867  { SWIG_prefix "a_face_out", (swig_wrapper_func) _wrap_a_face_out, NULL},
15868  { SWIG_prefix "a_face_hinge", (swig_wrapper_func) _wrap_a_face_hinge, NULL},
15869  { SWIG_prefix "a_face_contacttype", (swig_wrapper_func) _wrap_a_face_contacttype, NULL},
15870  { SWIG_prefix "a_face_contactpoint", (swig_wrapper_func) _wrap_a_face_contactpoint, NULL},
15871  { SWIG_prefix "a_face_contactsegment", (swig_wrapper_func) _wrap_a_face_contactsegment, NULL},
15872  { SWIG_prefix "a_face_contactface", (swig_wrapper_func) _wrap_a_face_contactface, NULL},
15873  { SWIG_prefix "a_face_f", (swig_wrapper_func) _wrap_a_face_f, NULL},
15874  { SWIG_prefix "a_face_print", (swig_wrapper_func) _wrap_a_face_print, NULL},
15875  { SWIG_prefix "delete_a_face", (swig_wrapper_func) _wrap_delete_a_face, NULL},
15877  { SWIG_prefix "a_face_2d4_thickness", (swig_wrapper_func) _wrap_a_face_2d4_thickness, NULL},
15878  { SWIG_prefix "a_face_2d4_length", (swig_wrapper_func) _wrap_a_face_2d4_length, NULL},
15879  { SWIG_prefix "a_face_2d4_exrx", (swig_wrapper_func) _wrap_a_face_2d4_exrx, NULL},
15880  { SWIG_prefix "a_face_2d4_exry", (swig_wrapper_func) _wrap_a_face_2d4_exry, NULL},
15881  { SWIG_prefix "a_face_2d4_ptsinplane", (swig_wrapper_func) _wrap_a_face_2d4_ptsinplane, NULL},
15882  { SWIG_prefix "a_face_2d4_plane", (swig_wrapper_func) _wrap_a_face_2d4_plane, NULL},
15883  { SWIG_prefix "a_face_2d4_v3d", (swig_wrapper_func) _wrap_a_face_2d4_v3d, NULL},
15884  { SWIG_prefix "a_face_2d4_contains", (swig_wrapper_func) _wrap_a_face_2d4_contains, NULL},
15885  { SWIG_prefix "a_face_2d4_segment", (swig_wrapper_func) _wrap_a_face_2d4_segment, NULL},
15886  { SWIG_prefix "a_face_2d4_intersect", (swig_wrapper_func) _wrap_a_face_2d4_intersect, NULL},
15887  { SWIG_prefix "delete_a_face_2d4", (swig_wrapper_func) _wrap_delete_a_face_2d4, NULL},
15889  { SWIG_prefix "cf_2d4", (swig_wrapper_func) _wrap_cf_2d4, NULL},
15890  { SWIG_prefix "new_a_ocriteria", (swig_wrapper_func) _wrap_new_a_ocriteria, NULL},
15891  { SWIG_prefix "a_ocriteria_f", (swig_wrapper_func) _wrap_a_ocriteria_f, NULL},
15892  { SWIG_prefix "delete_a_ocriteria", (swig_wrapper_func) _wrap_delete_a_ocriteria, NULL},
15894  { SWIG_prefix "new_a_ocriteria_H", (swig_wrapper_func) _wrap_new_a_ocriteria_H, NULL},
15895  { SWIG_prefix "delete_a_ocriteria_H", (swig_wrapper_func) _wrap_delete_a_ocriteria_H, NULL},
15897  { SWIG_prefix "new_a_ocriteria_ex", (swig_wrapper_func) _wrap_new_a_ocriteria_ex, NULL},
15898  { SWIG_prefix "delete_a_ocriteria_ex", (swig_wrapper_func) _wrap_delete_a_ocriteria_ex, NULL},
15900  { SWIG_prefix "new_a_ocriteria_exmax", (swig_wrapper_func) _wrap_new_a_ocriteria_exmax, NULL},
15901  { SWIG_prefix "delete_a_ocriteria_exmax", (swig_wrapper_func) _wrap_delete_a_ocriteria_exmax, NULL},
15903  { SWIG_prefix "new_a_fcriteria", (swig_wrapper_func) _wrap_new_a_fcriteria, NULL},
15904  { SWIG_prefix "a_fcriteria_help", (swig_wrapper_func) _wrap_a_fcriteria_help, NULL},
15905  { SWIG_prefix "a_fcriteria_ok", (swig_wrapper_func) _wrap_a_fcriteria_ok, NULL},
15906  { SWIG_prefix "a_fcriteria_penalty", (swig_wrapper_func) _wrap_a_fcriteria_penalty, NULL},
15907  { SWIG_prefix "a_fcriteria_verysmall", (swig_wrapper_func) _wrap_a_fcriteria_verysmall, NULL},
15908  { SWIG_prefix "delete_a_fcriteria", (swig_wrapper_func) _wrap_delete_a_fcriteria, NULL},
15910  { SWIG_prefix "a_fcriteria_in_help", (swig_wrapper_func) _wrap_a_fcriteria_in_help, NULL},
15911  { SWIG_prefix "a_fcriteria_in_max", (swig_wrapper_func) _wrap_a_fcriteria_in_max, NULL},
15912  { SWIG_prefix "new_a_fcriteria_in", (swig_wrapper_func) _wrap_new_a_fcriteria_in, NULL},
15913  { SWIG_prefix "delete_a_fcriteria_in", (swig_wrapper_func) _wrap_delete_a_fcriteria_in, NULL},
15915  { SWIG_prefix "a_fcriteria_coulomb_help", (swig_wrapper_func) _wrap_a_fcriteria_coulomb_help, NULL},
15916  { SWIG_prefix "a_fcriteria_coulomb_f", (swig_wrapper_func) _wrap_a_fcriteria_coulomb_f, NULL},
15917  { SWIG_prefix "a_fcriteria_coulomb_c", (swig_wrapper_func) _wrap_a_fcriteria_coulomb_c, NULL},
15918  { SWIG_prefix "new_a_fcriteria_coulomb", (swig_wrapper_func) _wrap_new_a_fcriteria_coulomb, NULL},
15919  { SWIG_prefix "delete_a_fcriteria_coulomb", (swig_wrapper_func) _wrap_delete_a_fcriteria_coulomb, NULL},
15920  { SWIG_prefix "a_fcriteria_coulomb", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_a_fcriteria_coulomb},
15921  { SWIG_prefix "new_a_contact", (swig_wrapper_func) _wrap_new_a_contact, NULL},
15922  { SWIG_prefix "a_contact_nv", (swig_wrapper_func) _wrap_a_contact_nv, NULL},
15923  { SWIG_prefix "a_contact_v", (swig_wrapper_func) _wrap_a_contact_v, NULL},
15924  { SWIG_prefix "a_contact_s", (swig_wrapper_func) _wrap_a_contact_s, NULL},
15925  { SWIG_prefix "a_contact_f", (swig_wrapper_func) _wrap_a_contact_f, NULL},
15926  { SWIG_prefix "a_contact_print", (swig_wrapper_func) _wrap_a_contact_print, NULL},
15927  { SWIG_prefix "delete_a_contact", (swig_wrapper_func) _wrap_delete_a_contact, NULL},
15929  { SWIG_prefix "new_a_structure", (swig_wrapper_func) _wrap_new_a_structure, NULL},
15930  { SWIG_prefix "delete_a_structure", (swig_wrapper_func) _wrap_delete_a_structure, NULL},
15931  { SWIG_prefix "a_structure_clear", (swig_wrapper_func) _wrap_a_structure_clear, NULL},
15932  { SWIG_prefix "a_structure_help", (swig_wrapper_func) _wrap_a_structure_help, NULL},
15933  { SWIG_prefix "a_structure_nb", (swig_wrapper_func) _wrap_a_structure_nb, NULL},
15934  { SWIG_prefix "a_structure_rb", (swig_wrapper_func) _wrap_a_structure_rb, NULL},
15935  { SWIG_prefix "a_structure_V", (swig_wrapper_func) _wrap_a_structure_V, NULL},
15936  { SWIG_prefix "a_structure_c", (swig_wrapper_func) _wrap_a_structure_c, NULL},
15937  { SWIG_prefix "a_structure_m", (swig_wrapper_func) _wrap_a_structure_m, NULL},
15938  { SWIG_prefix "a_structure_Ws", (swig_wrapper_func) _wrap_a_structure_Ws, NULL},
15939  { SWIG_prefix "a_structure_W", (swig_wrapper_func) _wrap_a_structure_W, NULL},
15940  { SWIG_prefix "a_structure_fe", (swig_wrapper_func) _wrap_a_structure_fe, NULL},
15941  { SWIG_prefix "a_structure_ft", (swig_wrapper_func) _wrap_a_structure_ft, NULL},
15942  { SWIG_prefix "a_structure_potential", (swig_wrapper_func) _wrap_a_structure_potential, NULL},
15943  { SWIG_prefix "a_structure_add_block", (swig_wrapper_func) _wrap_a_structure_add_block, NULL},
15944  { SWIG_prefix "a_structure_link_blocks", (swig_wrapper_func) _wrap_a_structure_link_blocks, NULL},
15945  { SWIG_prefix "a_structure_b", (swig_wrapper_func) _wrap_a_structure_b, NULL},
15946  { SWIG_prefix "a_structure_connected", (swig_wrapper_func) _wrap_a_structure_connected, NULL},
15947  { SWIG_prefix "a_structure_out", (swig_wrapper_func) _wrap_a_structure_out, NULL},
15948  { SWIG_prefix "a_structure_in", (swig_wrapper_func) _wrap_a_structure_in, NULL},
15949  { SWIG_prefix "a_structure_nodes", (swig_wrapper_func) _wrap_a_structure_nodes, NULL},
15950  { SWIG_prefix "a_structure_clearinternal", (swig_wrapper_func) _wrap_a_structure_clearinternal, NULL},
15951  { SWIG_prefix "a_structure_clearexternal", (swig_wrapper_func) _wrap_a_structure_clearexternal, NULL},
15952  { SWIG_prefix "a_structure_clearall", (swig_wrapper_func) _wrap_a_structure_clearall, NULL},
15953  { SWIG_prefix "a_structure_objective", (swig_wrapper_func) _wrap_a_structure_objective, NULL},
15954  { SWIG_prefix "a_structure_criteria", (swig_wrapper_func) _wrap_a_structure_criteria, NULL},
15955  { SWIG_prefix "a_structure_ok", (swig_wrapper_func) _wrap_a_structure_ok, NULL},
15956  { SWIG_prefix "a_structure_penalty", (swig_wrapper_func) _wrap_a_structure_penalty, NULL},
15957  { SWIG_prefix "a_structure_penalty_factor", (swig_wrapper_func) _wrap_a_structure_penalty_factor, NULL},
15958  { SWIG_prefix "a_structure_objectivep", (swig_wrapper_func) _wrap_a_structure_objectivep, NULL},
15959  { SWIG_prefix "a_structure_rotate", (swig_wrapper_func) _wrap_a_structure_rotate, NULL},
15960  { SWIG_prefix "a_structure_slide", (swig_wrapper_func) _wrap_a_structure_slide, NULL},
15961  { SWIG_prefix "a_structure_compute", (swig_wrapper_func) _wrap_a_structure_compute, NULL},
15962  { SWIG_prefix "a_structure_min", (swig_wrapper_func) _wrap_a_structure_min, NULL},
15963  { SWIG_prefix "a_structure_max", (swig_wrapper_func) _wrap_a_structure_max, NULL},
15964  { SWIG_prefix "a_structure_minsteep", (swig_wrapper_func) _wrap_a_structure_minsteep, NULL},
15965  { SWIG_prefix "a_structure_trianglecloud", (swig_wrapper_func) _wrap_a_structure_trianglecloud, NULL},
15966  { SWIG_prefix "a_structure_polyline", (swig_wrapper_func) _wrap_a_structure_polyline, NULL},
15967  { SWIG_prefix "a_structure_convert", (swig_wrapper_func) _wrap_a_structure_convert, NULL},
15968  { SWIG_prefix "a_structure_material", (swig_wrapper_func) _wrap_a_structure_material, NULL},
15970  {0, 0, 0}
15971 };
15972 
15974  {0,0,0,0}
15975 };
15976 
15978  {0,0,0,0,0,0}
15979 };
15980 
15981 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15982 
15983 static void *_p_a_wrenchTo_p_a_plucker(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15984  return (void *)((a_plucker *) ((a_wrench *) x));
15985 }
15986 static void *_p_a_twistTo_p_a_plucker(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15987  return (void *)((a_plucker *) ((a_twist *) x));
15988 }
15989 static void *_p_a_block_2d3To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15990  return (void *)((a_block *) ((a_block_2d3 *) x));
15991 }
15992 static void *_p_a_block_2d4To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15993  return (void *)((a_block *) ((a_block_2d4 *) x));
15994 }
15995 static void *_p_a_block_2d5To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15996  return (void *)((a_block *) ((a_block_2d5 *) x));
15997 }
15998 static void *_p_a_fcriteria_coulombTo_p_a_fcriteria_in(void *x, int *SWIGUNUSEDPARM(newmemory)) {
15999  return (void *)((a_fcriteria_in *) ((a_fcriteria_coulomb *) x));
16000 }
16001 static void *_p_a_ocriteria_HTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16002  return (void *)((a_ocriteria *) ((a_ocriteria_H *) x));
16003 }
16004 static void *_p_a_ocriteria_exTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16005  return (void *)((a_ocriteria *) ((a_ocriteria_ex *) x));
16006 }
16007 static void *_p_a_ocriteria_exmaxTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16008  return (void *)((a_ocriteria *) ((a_ocriteria_exmax *) x));
16009 }
16010 static void *_p_a_fcriteria_coulombTo_p_a_fcriteria(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16011  return (void *)((a_fcriteria *) (a_fcriteria_in *) ((a_fcriteria_coulomb *) x));
16012 }
16013 static void *_p_a_fcriteria_inTo_p_a_fcriteria(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16014  return (void *)((a_fcriteria *) ((a_fcriteria_in *) x));
16015 }
16016 static void *_p_a_face_2d4To_p_a_face(void *x, int *SWIGUNUSEDPARM(newmemory)) {
16017  return (void *)((a_face *) ((a_face_2d4 *) x));
16018 }
16019 static swig_type_info _swigt__p_a_block = {"_p_a_block", "a_block *", 0, 0, (void*)&_wrap_class_a_block, 0};
16020 static swig_type_info _swigt__p_a_block_2d3 = {"_p_a_block_2d3", "a_block_2d3 *", 0, 0, (void*)&_wrap_class_a_block_2d3, 0};
16021 static swig_type_info _swigt__p_a_block_2d4 = {"_p_a_block_2d4", "a_block_2d4 *", 0, 0, (void*)&_wrap_class_a_block_2d4, 0};
16022 static swig_type_info _swigt__p_a_block_2d5 = {"_p_a_block_2d5", "a_block_2d5 *", 0, 0, (void*)&_wrap_class_a_block_2d5, 0};
16023 static swig_type_info _swigt__p_a_contact = {"_p_a_contact", "a_contact *", 0, 0, (void*)&_wrap_class_a_contact, 0};
16024 static swig_type_info _swigt__p_a_face = {"_p_a_face", "a_face *", 0, 0, (void*)&_wrap_class_a_face, 0};
16025 static swig_type_info _swigt__p_a_face_2d4 = {"_p_a_face_2d4", "a_face_2d4 *", 0, 0, (void*)&_wrap_class_a_face_2d4, 0};
16026 static swig_type_info _swigt__p_a_fcriteria = {"_p_a_fcriteria", "a_fcriteria *", 0, 0, (void*)&_wrap_class_a_fcriteria, 0};
16027 static swig_type_info _swigt__p_a_fcriteria_coulomb = {"_p_a_fcriteria_coulomb", "a_fcriteria_coulomb *", 0, 0, (void*)&_wrap_class_a_fcriteria_coulomb, 0};
16028 static swig_type_info _swigt__p_a_fcriteria_in = {"_p_a_fcriteria_in", "a_fcriteria_in *", 0, 0, (void*)&_wrap_class_a_fcriteria_in, 0};
16029 static swig_type_info _swigt__p_a_linecloud = {"_p_a_linecloud", "a_linecloud *", 0, 0, (void*)0, 0};
16030 static swig_type_info _swigt__p_a_material = {"_p_a_material", "a_material *", 0, 0, (void*)&_wrap_class_a_material, 0};
16031 static swig_type_info _swigt__p_a_ocriteria = {"_p_a_ocriteria", "a_ocriteria *", 0, 0, (void*)&_wrap_class_a_ocriteria, 0};
16032 static swig_type_info _swigt__p_a_ocriteria_H = {"_p_a_ocriteria_H", "a_ocriteria_H *", 0, 0, (void*)&_wrap_class_a_ocriteria_H, 0};
16033 static swig_type_info _swigt__p_a_ocriteria_ex = {"_p_a_ocriteria_ex", "a_ocriteria_ex *", 0, 0, (void*)&_wrap_class_a_ocriteria_ex, 0};
16034 static swig_type_info _swigt__p_a_ocriteria_exmax = {"_p_a_ocriteria_exmax", "a_ocriteria_exmax *", 0, 0, (void*)&_wrap_class_a_ocriteria_exmax, 0};
16035 static swig_type_info _swigt__p_a_plane = {"_p_a_plane", "a_plane *", 0, 0, (void*)0, 0};
16036 static swig_type_info _swigt__p_a_plucker = {"_p_a_plucker", "a_plucker *", 0, 0, (void*)&_wrap_class_a_plucker, 0};
16037 static swig_type_info _swigt__p_a_point = {"_p_a_point", "a_point *", 0, 0, (void*)0, 0};
16038 static swig_type_info _swigt__p_a_segment = {"_p_a_segment", "a_segment *", 0, 0, (void*)0, 0};
16039 static swig_type_info _swigt__p_a_structure = {"_p_a_structure", "a_structure *", 0, 0, (void*)&_wrap_class_a_structure, 0};
16040 static swig_type_info _swigt__p_a_trianglecloud = {"_p_a_trianglecloud", "a_trianglecloud *", 0, 0, (void*)0, 0};
16041 static swig_type_info _swigt__p_a_twist = {"_p_a_twist", "a_twist *", 0, 0, (void*)&_wrap_class_a_twist, 0};
16042 static swig_type_info _swigt__p_a_wrench = {"_p_a_wrench", "a_wrench *", 0, 0, (void*)&_wrap_class_a_wrench, 0};
16043 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
16044 static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0};
16045 static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
16046 static swig_type_info _swigt__p_std__istream = {"_p_std__istream", "std::istream *", 0, 0, (void*)0, 0};
16047 static swig_type_info _swigt__p_std__ostream = {"_p_std__ostream", "std::ostream *", 0, 0, (void*)0, 0};
16048 static swig_type_info _swigt__p_std__out_of_range = {"_p_std__out_of_range", "std::out_of_range *", 0, 0, (void*)0, 0};
16049 static swig_type_info _swigt__p_std__vectorT_double_t = {"_p_std__vectorT_double_t", "std::vector< double > *", 0, 0, (void*)&_wrap_class_std_vector_Sl_double_Sg_, 0};
16050 static swig_type_info _swigt__p_std__vectorT_int_t = {"_p_std__vectorT_int_t", "std::vector< int > *", 0, 0, (void*)&_wrap_class_std_vector_Sl_int_Sg_, 0};
16051 static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0};
16052 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, (void*)0, 0};
16053 static swig_type_info _swigt__std__size_t = {"_std__size_t", "std::size_t", 0, 0, (void*)0, 0};
16054 
16080  &_swigt__p_char,
16091 };
16092 
16094 static swig_cast_info _swigc__p_a_block_2d3[] = { {&_swigt__p_a_block_2d3, 0, 0, 0},{0, 0, 0, 0}};
16095 static swig_cast_info _swigc__p_a_block_2d4[] = { {&_swigt__p_a_block_2d4, 0, 0, 0},{0, 0, 0, 0}};
16096 static swig_cast_info _swigc__p_a_block_2d5[] = { {&_swigt__p_a_block_2d5, 0, 0, 0},{0, 0, 0, 0}};
16097 static swig_cast_info _swigc__p_a_contact[] = { {&_swigt__p_a_contact, 0, 0, 0},{0, 0, 0, 0}};
16099 static swig_cast_info _swigc__p_a_face_2d4[] = { {&_swigt__p_a_face_2d4, 0, 0, 0},{0, 0, 0, 0}};
16103 static swig_cast_info _swigc__p_a_linecloud[] = { {&_swigt__p_a_linecloud, 0, 0, 0},{0, 0, 0, 0}};
16104 static swig_cast_info _swigc__p_a_material[] = { {&_swigt__p_a_material, 0, 0, 0},{0, 0, 0, 0}};
16106 static swig_cast_info _swigc__p_a_ocriteria_H[] = { {&_swigt__p_a_ocriteria_H, 0, 0, 0},{0, 0, 0, 0}};
16109 static swig_cast_info _swigc__p_a_plane[] = { {&_swigt__p_a_plane, 0, 0, 0},{0, 0, 0, 0}};
16111 static swig_cast_info _swigc__p_a_point[] = { {&_swigt__p_a_point, 0, 0, 0},{0, 0, 0, 0}};
16112 static swig_cast_info _swigc__p_a_segment[] = { {&_swigt__p_a_segment, 0, 0, 0},{0, 0, 0, 0}};
16113 static swig_cast_info _swigc__p_a_structure[] = { {&_swigt__p_a_structure, 0, 0, 0},{0, 0, 0, 0}};
16115 static swig_cast_info _swigc__p_a_twist[] = { {&_swigt__p_a_twist, 0, 0, 0},{0, 0, 0, 0}};
16116 static swig_cast_info _swigc__p_a_wrench[] = { {&_swigt__p_a_wrench, 0, 0, 0},{0, 0, 0, 0}};
16117 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16119 static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
16120 static swig_cast_info _swigc__p_std__istream[] = { {&_swigt__p_std__istream, 0, 0, 0},{0, 0, 0, 0}};
16121 static swig_cast_info _swigc__p_std__ostream[] = { {&_swigt__p_std__ostream, 0, 0, 0},{0, 0, 0, 0}};
16125 static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}};
16126 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
16127 static swig_cast_info _swigc__std__size_t[] = { {&_swigt__std__size_t, 0, 0, 0},{0, 0, 0, 0}};
16128 
16165 };
16166 
16167 
16168 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16169 
16170 #ifdef __cplusplus
16171 }
16172 #endif
16173 /* -----------------------------------------------------------------------------
16174  * Type initialization:
16175  * This problem is tough by the requirement that no dynamic
16176  * memory is used. Also, since swig_type_info structures store pointers to
16177  * swig_cast_info structures and swig_cast_info structures store pointers back
16178  * to swig_type_info structures, we need some lookup code at initialization.
16179  * The idea is that swig generates all the structures that are needed.
16180  * The runtime then collects these partially filled structures.
16181  * The SWIG_InitializeModule function takes these initial arrays out of
16182  * swig_module, and does all the lookup, filling in the swig_module.types
16183  * array with the correct data and linking the correct swig_cast_info
16184  * structures together.
16185  *
16186  * The generated swig_type_info structures are assigned statically to an initial
16187  * array. We just loop through that array, and handle each type individually.
16188  * First we lookup if this type has been already loaded, and if so, use the
16189  * loaded structure instead of the generated one. Then we have to fill in the
16190  * cast linked list. The cast data is initially stored in something like a
16191  * two-dimensional array. Each row corresponds to a type (there are the same
16192  * number of rows as there are in the swig_type_initial array). Each entry in
16193  * a column is one of the swig_cast_info structures for that type.
16194  * The cast_initial array is actually an array of arrays, because each row has
16195  * a variable number of columns. So to actually build the cast linked list,
16196  * we find the array of casts associated with the type, and loop through it
16197  * adding the casts to the list. The one last trick we need to do is making
16198  * sure the type pointer in the swig_cast_info struct is correct.
16199  *
16200  * First off, we lookup the cast->type name to see if it is already loaded.
16201  * There are three cases to handle:
16202  * 1) If the cast->type has already been loaded AND the type we are adding
16203  * casting info to has not been loaded (it is in this module), THEN we
16204  * replace the cast->type pointer with the type pointer that has already
16205  * been loaded.
16206  * 2) If BOTH types (the one we are adding casting info to, and the
16207  * cast->type) are loaded, THEN the cast info has already been loaded by
16208  * the previous module so we just ignore it.
16209  * 3) Finally, if cast->type has not already been loaded, then we add that
16210  * swig_cast_info to the linked list (because the cast->type) pointer will
16211  * be correct.
16212  * ----------------------------------------------------------------------------- */
16213 
16214 #ifdef __cplusplus
16215 extern "C" {
16216 #if 0
16217 } /* c-mode */
16218 #endif
16219 #endif
16220 
16221 #if 0
16222 #define SWIGRUNTIME_DEBUG
16223 #endif
16224 
16225 
16226 SWIGRUNTIME void
16227 SWIG_InitializeModule(void *clientdata) {
16228  size_t i;
16229  swig_module_info *module_head, *iter;
16230  int init;
16231 
16232  /* check to see if the circular list has been setup, if not, set it up */
16233  if (swig_module.next==0) {
16234  /* Initialize the swig_module */
16238  init = 1;
16239  } else {
16240  init = 0;
16241  }
16242 
16243  /* Try and load any already created modules */
16244  module_head = SWIG_GetModule(clientdata);
16245  if (!module_head) {
16246  /* This is the first module loaded for this interpreter */
16247  /* so set the swig module into the interpreter */
16248  SWIG_SetModule(clientdata, &swig_module);
16249  } else {
16250  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
16251  iter=module_head;
16252  do {
16253  if (iter==&swig_module) {
16254  /* Our module is already in the list, so there's nothing more to do. */
16255  return;
16256  }
16257  iter=iter->next;
16258  } while (iter!= module_head);
16259 
16260  /* otherwise we must add our module into the list */
16261  swig_module.next = module_head->next;
16262  module_head->next = &swig_module;
16263  }
16264 
16265  /* When multiple interpreters are used, a module could have already been initialized in
16266  a different interpreter, but not yet have a pointer in this interpreter.
16267  In this case, we do not want to continue adding types... everything should be
16268  set up already */
16269  if (init == 0) return;
16270 
16271  /* Now work on filling in swig_module.types */
16272 #ifdef SWIGRUNTIME_DEBUG
16273  printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
16274 #endif
16275  for (i = 0; i < swig_module.size; ++i) {
16276  swig_type_info *type = 0;
16277  swig_type_info *ret;
16278  swig_cast_info *cast;
16279 
16280 #ifdef SWIGRUNTIME_DEBUG
16281  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
16282 #endif
16283 
16284  /* if there is another module already loaded */
16285  if (swig_module.next != &swig_module) {
16287  }
16288  if (type) {
16289  /* Overwrite clientdata field */
16290 #ifdef SWIGRUNTIME_DEBUG
16291  printf("SWIG_InitializeModule: found type %s\n", type->name);
16292 #endif
16295 #ifdef SWIGRUNTIME_DEBUG
16296  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16297 #endif
16298  }
16299  } else {
16300  type = swig_module.type_initial[i];
16301  }
16302 
16303  /* Insert casting types */
16304  cast = swig_module.cast_initial[i];
16305  while (cast->type) {
16306  /* Don't need to add information already in the list */
16307  ret = 0;
16308 #ifdef SWIGRUNTIME_DEBUG
16309  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16310 #endif
16311  if (swig_module.next != &swig_module) {
16313 #ifdef SWIGRUNTIME_DEBUG
16314  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16315 #endif
16316  }
16317  if (ret) {
16318  if (type == swig_module.type_initial[i]) {
16319 #ifdef SWIGRUNTIME_DEBUG
16320  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16321 #endif
16322  cast->type = ret;
16323  ret = 0;
16324  } else {
16325  /* Check for casting already in the list */
16326  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
16327 #ifdef SWIGRUNTIME_DEBUG
16328  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
16329 #endif
16330  if (!ocast) ret = 0;
16331  }
16332  }
16333 
16334  if (!ret) {
16335 #ifdef SWIGRUNTIME_DEBUG
16336  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
16337 #endif
16338  if (type->cast) {
16339  type->cast->prev = cast;
16340  cast->next = type->cast;
16341  }
16342  type->cast = cast;
16343  }
16344  cast++;
16345  }
16346  /* Set entry in modules->types array equal to the type */
16347  swig_module.types[i] = type;
16348  }
16349  swig_module.types[i] = 0;
16350 
16351 #ifdef SWIGRUNTIME_DEBUG
16352  printf("**** SWIG_InitializeModule: Cast List ******\n");
16353  for (i = 0; i < swig_module.size; ++i) {
16354  int j = 0;
16356  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
16357  while (cast->type) {
16358  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
16359  cast++;
16360  ++j;
16361  }
16362  printf("---- Total casts: %d\n",j);
16363  }
16364  printf("**** SWIG_InitializeModule: Cast List ******\n");
16365 #endif
16366 }
16367 
16368 /* This function will propagate the clientdata field of type to
16369 * any new swig_type_info structures that have been added into the list
16370 * of equivalent types. It is like calling
16371 * SWIG_TypeClientData(type, clientdata) a second time.
16372 */
16373 SWIGRUNTIME void
16375  size_t i;
16376  swig_cast_info *equiv;
16377  static int init_run = 0;
16378 
16379  if (init_run) return;
16380  init_run = 1;
16381 
16382  for (i = 0; i < swig_module.size; i++) {
16383  if (swig_module.types[i]->clientdata) {
16384  equiv = swig_module.types[i]->cast;
16385  while (equiv) {
16386  if (!equiv->converter) {
16387  if (equiv->type && !equiv->type->clientdata)
16389  }
16390  equiv = equiv->next;
16391  }
16392  }
16393  }
16394 }
16395 
16396 #ifdef __cplusplus
16397 #if 0
16398 {
16399  /* c-mode */
16400 #endif
16401 }
16402 #endif
16403 
16404 
16405 #ifdef __cplusplus
16406 extern "C" {
16407 #endif
16408 
16409  /* -----------------------------------------------------------------------------
16410  * constants/methods manipulation
16411  * ----------------------------------------------------------------------------- */
16412 
16413  /* Install Constants */
16414 
16415  SWIGINTERN void
16416  SWIG_Tcl_InstallConstants(Tcl_Interp *interp, swig_const_info constants[]) {
16417  size_t i;
16418  Tcl_Obj *obj;
16419 
16420  if (!swigconstTableinit) {
16421  Tcl_InitHashTable(&swigconstTable, TCL_STRING_KEYS);
16422  swigconstTableinit = 1;
16423  }
16424  for (i = 0; constants[i].type; i++) {
16425  switch(constants[i].type) {
16426  case SWIG_TCL_POINTER:
16427  obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
16428  break;
16429  case SWIG_TCL_BINARY:
16430  obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
16431  break;
16432  default:
16433  obj = 0;
16434  break;
16435  }
16436  if (obj) {
16437  SWIG_Tcl_SetConstantObj(interp, constants[i].name, obj);
16438  }
16439  }
16440  }
16441 
16442  /* Create fast method lookup tables */
16443 
16444  SWIGINTERN void
16446  size_t i;
16447 
16448  for (i = 0; i < swig_module.size; ++i) {
16450  if (type->clientdata) {
16451  swig_class* klass = (swig_class*) type->clientdata;
16452  swig_method* meth;
16453  Tcl_InitHashTable(&(klass->hashtable), TCL_STRING_KEYS);
16454  for (meth = klass->methods; meth && meth->name; ++meth) {
16455  int newEntry;
16456  Tcl_HashEntry* hashentry = Tcl_CreateHashEntry(&(klass->hashtable), meth->name, &newEntry);
16457  Tcl_SetHashValue(hashentry, (ClientData)meth->method);
16458  }
16459  }
16460  }
16461  }
16462 
16463 #ifdef __cplusplus
16464 }
16465 #endif
16466 
16467 /* -----------------------------------------------------------------------------*
16468  * Partial Init method
16469  * -----------------------------------------------------------------------------*/
16470 
16471 SWIGEXPORT int SWIG_init(Tcl_Interp *interp) {
16472  size_t i;
16473  if (interp == 0) return TCL_ERROR;
16474 #ifdef USE_TCL_STUBS
16475  /* (char*) cast is required to avoid compiler warning/error for Tcl < 8.4. */
16476  if (Tcl_InitStubs(interp, (char*)SWIG_TCL_STUBS_VERSION, 0) == NULL) {
16477  return TCL_ERROR;
16478  }
16479 #endif
16480 #ifdef USE_TK_STUBS
16481  /* (char*) cast is required to avoid compiler warning/error. */
16482  if (Tk_InitStubs(interp, (char*)SWIG_TCL_STUBS_VERSION, 0) == NULL) {
16483  return TCL_ERROR;
16484  }
16485 #endif
16486 
16487  Tcl_PkgProvide(interp, (char*)SWIG_name, (char*)SWIG_version);
16488 
16489 #ifdef SWIG_namespace
16490  Tcl_Eval(interp, "namespace eval " SWIG_namespace " { }");
16491 #endif
16492 
16493  SWIG_InitializeModule((void *) interp);
16495 
16496  for (i = 0; swig_commands[i].name; i++) {
16497  Tcl_CreateObjCommand(interp, (char *) swig_commands[i].name, (swig_wrapper_func) swig_commands[i].wrapper,
16498  swig_commands[i].clientdata, NULL);
16499  }
16500  for (i = 0; swig_variables[i].name; i++) {
16501  Tcl_SetVar(interp, (char *) swig_variables[i].name, (char *) "", TCL_GLOBAL_ONLY);
16502  Tcl_TraceVar(interp, (char *) swig_variables[i].name, TCL_TRACE_READS | TCL_GLOBAL_ONLY,
16503  (Tcl_VarTraceProc *) swig_variables[i].get, (ClientData) swig_variables[i].addr);
16504  Tcl_TraceVar(interp, (char *) swig_variables[i].name, TCL_TRACE_WRITES | TCL_GLOBAL_ONLY,
16505  (Tcl_VarTraceProc *) swig_variables[i].set, (ClientData) swig_variables[i].addr);
16506  }
16507 
16510 
16511 
16512  return TCL_OK;
16513 }
16514 SWIGEXPORT int A_mechanics_SafeInit(Tcl_Interp *interp) {
16515  return SWIG_init(interp);
16516 }
16517 
a_block_2d3 * cb_2d3(a_block *b)
Definition: a_block_2d3.cxx:21
a_block_2d4 * cb_2d4(a_block *b)
Definition: a_block_2d4.cxx:21
a_block_2d5 * cb_2d5(a_block *b)
Definition: a_block_2d5.cxx:21
const double verysmall
Definition: a_contact.cxx:20
a_face_2d4 * cf_2d4(a_face *f)
Definition: a_face_2d4.cxx:26
SWIGINTERN int _wrap_a_block_2d3_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_twist_attributes[]
SWIGINTERN int _wrap_a_face_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_fcriteria(void *obj)
SWIGINTERN int _wrap_a_wrench_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_face
SWIGINTERN int _wrap_new_a_block_2d5__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_face_2d4To_p_a_face(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_a_ocriteria_H_base_names[]
SWIGINTERN int _wrap_a_block_2d4_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_std_vector_Sl_int_Sg__base_names[]
SWIGINTERN int _wrap_new_a_block_2d4__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
static swig_var_info swig_variables[]
SWIGINTERN int _wrap_a_face_Mx__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_max__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_in_max__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_From_std_string(const std::string &s)
SWIGINTERN int _wrap_new_a_fcriteria_coulomb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info * swig_cast_initial[]
static swig_type_info _swigt__p_a_block_2d3
static swig_type_info _swigt__p_std__vectorT_double_t
#define SWIGTYPE_p_a_trianglecloud
SWIGINTERN int _wrap_cf_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_fz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_pos(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_fcriteria_coulombTo_p_a_fcriteria(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME int SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_grow(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_contact_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_nodes(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_nx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_translate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_potential(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_ocriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN std::string a_structure_convert__SWIG_0(a_structure *self, std::string const &code)
SWIGINTERN int _wrap_a_fcriteria_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
a_twist * p2t(a_plucker *p)
static swig_type_info _swigt__p_a_block_2d5
static swig_method swig_a_plucker_methods[]
SWIGINTERN int _wrap_a_material_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_block_bases[]
static swig_class * swig_a_block_2d3_bases[]
SWIGINTERN int _wrap_a_contact_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_std_vector_Sl_int_Sg_
SWIGINTERN int _wrap_a_face_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d3_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_objective(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_wrench_bases[]
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
static swig_attribute swig_a_face_2d4_attributes[]
SWIGINTERN int _wrap_a_material_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_wrench
SWIGINTERN int _wrap_a_structure_clearinternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_point__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_p2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_MakePtr(c, ptr, ty, flags)
SWIGINTERN void swig_delete_a_twist(void *obj)
SWIGINTERN int _wrap_delete_a_block_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_slide(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_fe(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_deform(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_origin(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_fcriteria
SWIGINTERN void SWIG_Tcl_InstallConstants(Tcl_Interp *interp, swig_const_info constants[])
SWIGINTERN int _wrap_a_block_W__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_cb_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_ocriteria_HTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_TypeQuery(name)
SWIGINTERN int _wrap_a_block_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_std__vectorT_int_t
static const char * swig_a_face_2d4_base_names[]
SWIGINTERN int _wrap_a_block_entrance(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_ocriteria_H(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_s_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_POINTER_OWN
static swig_const_info swig_constants[]
SWIGINTERN int _wrap_a_contact_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_contactface(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
Tcl_Obj * SwigString_FromString(const std::string &s)
#define SWIG_SyntaxError
#define SWIGTYPE_p_a_plucker
static const char * swig_a_block_2d5_base_names[]
#define SWIG_ConvertPtr(oc, ptr, ty, flags)
static swig_class * swig_std_vector_Sl_int_Sg__bases[]
static swig_class _wrap_class_a_block_2d4
SWIGINTERN int _wrap_a_twist_dx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_fcriteria_in
#define SWIG_CheckState(r)
SWIGINTERN void swig_delete_a_ocriteria_H(void *obj)
#define SWIGTYPE_p_std__out_of_range
SWIGINTERN int _wrap_a_structure_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_ocriteria_H(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_fcriteria_coulomb[]
SWIGINTERN int _wrap_a_fcriteria_in_max__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_block_2d5(void *obj)
SWIGRUNTIME void SWIG_Tcl_Acquire(void *ptr)
static swig_cast_info _swigc__p_a_block_2d4[]
static void * _p_a_block_2d3To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_block_ai(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGINTERN int _wrap_a_face_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Sy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_wrench__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_structure(void *obj)
SWIGINTERN std::string a_structure_material__SWIG_1(a_structure *self)
static swig_cast_info _swigc__p_a_segment[]
#define SWIG_BUFFER_SIZE
struct swig_instance swig_instance
SWIGINTERN int _wrap_a_face_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TypeError
static swig_method swig_a_fcriteria_methods[]
SWIGINTERN int _wrap_a_block_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_wrench
SWIGINTERN int _wrap_new_a_wrench__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_rf(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_clearexternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_wrench
SWIGINTERN int _wrap_a_block_exit__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_ocriteria_base_names[]
SWIGINTERN int _wrap_a_block_clearinternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_ocriteria_exmax
SWIGINTERN int _wrap_a_block_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_fcriteria
static void * _p_a_ocriteria_exTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERNINLINE void SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char *mesg)
static swig_method swig_a_face_methods[]
#define SWIGTYPE_p_a_block_2d5
SWIGINTERN void SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
struct swig_cast_info swig_cast_info
#define SWIG_init
SWIGINTERN int _wrap_a_face_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_vectord(void *obj)
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewPackedObj(void *ptr, int sz, swig_type_info *type)
static swig_attribute swig_a_fcriteria_coulomb_attributes[]
SWIGRUNTIME int SWIG_Tcl_MethodCommand(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST _objv[])
SWIGINTERN int _wrap_a_structure_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
SWIGINTERN int _wrap_a_twist_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_exit__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d5_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_contact_bases[]
static swig_class _wrap_class_a_material
#define SWIGTYPE_p_a_fcriteria_in
SWIGINTERN int _wrap_a_block_g(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_fcriteria_bases[]
#define SWIGTYPE_p_a_ocriteria_ex
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
SWIGINTERN int _wrap_a_plucker_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_face_2d4
static swig_class _wrap_class_a_block_2d3
static swig_cast_info _swigc__p_a_plane[]
SWIGINTERN int _wrap_a_structure_compute(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d3_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_RuntimeError
static const char * swig_a_face_base_names[]
SWIGINTERN int _wrap_a_structure_add_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_exx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_material
#define SWIG_GetArgs
SWIGINTERN int _wrap_a_face_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_normale(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_rx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_ref(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_contact_methods[]
SWIGINTERN int _wrap_a_structure_polyline(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_command_info swig_commands[]
SWIGINTERN int _wrap_new_a_plucker(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_segment
SWIGINTERN int _wrap_a_block_2d4_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_contact_s(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_structure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_exit__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_wrench_methods[]
static const char * swig_a_plucker_base_names[]
static swig_cast_info _swigc__p_a_plucker[]
SWIGINTERN int _wrap_vectori_empty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_ry(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_face_2d4_methods[]
SWIGINTERN double std_vector_Sl_double_Sg__get(std::vector< double > *self, int i)
int(* swig_wrapper_func)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST[])
static swig_cast_info _swigc__p_a_face_2d4[]
SWIGINTERN int _wrap_new_a_block_2d3__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN const char * SWIG_Tcl_ErrorType(int code)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN int _wrap_a_face_f__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_2d4_segment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d5_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d5_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_g__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGRUNTIME
SWIGINTERN int _wrap_vectori_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_ocriteria_ex
SWIGINTERN int _wrap_a_face_exy__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_wrench__SWIG_5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_fcriteria_in_base_names[]
SWIGINTERN int _wrap_a_wrench_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_material_base_names[]
SWIGEXPORT int A_mechanics_SafeInit(Tcl_Interp *interp)
static swig_type_info * swig_types[36]
SWIGINTERN int SWIG_AsCharPtrAndSize(Tcl_Obj *obj, char **cptr, size_t *psize, int *alloc)
SWIGINTERN int _wrap_new_a_wrench(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_block_2d4__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_cl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_plucker_attributes[]
SWIGINTERN void swig_delete_a_block(void *obj)
SWIGINTERN int _wrap_a_block_v__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_version
#define SWIG_RUNTIME_VERSION
static swig_cast_info _swigc__p_a_ocriteria_H[]
static const char * swig_a_block_base_names[]
SWIGINTERN int _wrap_a_face_exy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_ocriteria_exmax_base_names[]
SWIGINTERN int _wrap_a_fcriteria_coulomb_c__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void SWIG_Tcl_SetErrorObj(Tcl_Interp *interp, const char *ctype, Tcl_Obj *obj)
#define SWIG_OLDOBJ
SWIGINTERN int _wrap_delete_a_fcriteria_coulomb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN int _wrap_new_a_block_2d5__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_ocriteria_H
static Tcl_HashTable swigconstTable
SWIGINTERN int _wrap_a_block_2d5_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_std_vector_Sl_double_Sg__bases[]
SWIGINTERN int _wrap_a_wrench_fy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_contact(void *obj)
#define SWIG_MethodCommand
SWIGINTERN int _wrap_vectord_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ValueError
SWIGINTERN int _wrap_cb_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fmt,...)
SWIGINTERNINLINE Tcl_Obj * SWIG_From_int(int value)
SWIGINTERN int _wrap_delete_a_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_fcriteria[]
static swig_cast_info _swigc__p_a_contact[]
SWIGINTERN int _wrap_a_wrench_my(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_wrench * a_face_f__SWIG_3(a_face *self)
static swig_class _wrap_class_std_vector_Sl_double_Sg_
static void * _p_a_twistTo_p_a_plucker(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_structure_minsteep(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_AddCast(r)
SWIGINTERN int _wrap_new_vectori__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_rb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_W(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__ostream[]
SWIGINTERN int _wrap_a_plucker_s_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_plane
SWIGINTERN int _wrap_a_block_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_s_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_IsNewObj(r)
SWIGINTERN int _wrap_a_face_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_plucker(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_ocriteria_exmax_attributes[]
static swig_cast_info _swigc__p_value_type[]
SWIGINTERN int _wrap_a_structure_objective__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_wrench__SWIG_6(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_std_vector_Sl_double_Sg__base_names[]
SWIGINTERN int _wrap_a_block_2d3_thickness__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_exception_fail(code, msg)
#define SWIGTYPE_p_a_material
static swig_attribute swig_a_face_attributes[]
SWIGINTERN int _wrap_a_face_av(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_2d4_exry(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__istream[]
SWIGINTERN int _wrap_new_vectord__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_coulomb_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d4_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_max(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int std_vector_Sl_int_Sg__get(std::vector< int > *self, int i)
static swig_type_info _swigt__p_std__istream
static const char * swig_a_structure_base_names[]
static void * _p_a_block_2d4To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_class * swig_a_fcriteria_in_bases[]
SWIGINTERN int _wrap_a_twist_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_x__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_difference_type[]
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static swig_cast_info _swigc__p_a_block_2d5[]
SWIGINTERN int _wrap_a_face_2d4_thickness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_AttributeError
SWIGINTERN int _wrap_a_structure_W(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_ocriteria(void *obj)
static swig_class * swig_a_block_2d5_bases[]
static swig_class * swig_a_twist_bases[]
#define SWIGTYPE_p_a_fcriteria_coulomb
static swig_cast_info _swigc__p_a_face[]
static swig_module_info swig_module
SWIGINTERN int _wrap_a_material_density__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_structure
static swig_type_info _swigt__p_a_block
static swig_cast_info _swigc__p_a_wrench[]
SWIGINTERN void swig_delete_vectori(void *obj)
static const char * swig_a_fcriteria_coulomb_base_names[]
SWIGINTERN int _wrap_a_block_av(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_wrench_attributes[]
SWIGINTERN int _wrap_vectori_push(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_lface__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_p1__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_fcriteria_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_min__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_ocriteria_bases[]
SWIGINTERN int _wrap_a_structure_connected(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_ocriteria_ex[]
SWIGINTERN int _wrap_delete_a_block(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN int _wrap_a_material_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN int _wrap_new_a_block_2d5__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_ocriteria_exmaxTo_p_a_ocriteria(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_a_twist[]
static swig_type_info _swigt__p_value_type
SWIGINTERN int _wrap_a_material_ref__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGUNUSEDPARM(p)
static swig_type_info _swigt__p_a_linecloud
#define SWIGTYPE_p_std__vectorT_double_t
SWIGINTERN void swig_delete_a_plucker(void *obj)
SWIGINTERN int _wrap_a_block_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int Tcl_GetBoolFromObj(Tcl_Interp *interp, Tcl_Obj *o, bool *val)
SWIGINTERN int _wrap_a_plucker_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_std__vectorT_int_t
SWIGINTERN int _wrap_a_wrench_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_face_2d4_bases[]
struct swig_class swig_class
#define SWIG_as_voidptr(a)
static swig_type_info _swigt__p_difference_type
SWIGINTERN int _wrap_a_structure_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_vectord__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_s_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGUNUSED
static void * _p_a_wrenchTo_p_a_plucker(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_type_info _swigt__p_a_fcriteria
SWIGINTERN int _wrap_a_block_ft__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_block_2d4__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_twist
SWIGINTERN std::string a_block_print(a_block *self)
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static swig_attribute swig_a_block_2d4_attributes[]
SWIGINTERN int _wrap_new_a_fcriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_block_2d4(void *obj)
SWIGRUNTIME void SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module)
static swig_type_info _swigt__p_size_type
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGRUNTIMEINLINE int SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, swig_type_info *ty, int flags)
SWIGINTERN int _wrap_a_face_exn(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_ocriteria_ex(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_density(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_exx__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_const_info swig_const_info
SWIGINTERN int _wrap_a_face_exx__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_block_2d3(void *obj)
SWIGINTERN int _wrap_delete_a_wrench(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_ocriteria_H_bases[]
SWIGINTERN int _wrap_a_contact_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_material_methods[]
SWIGINTERN int _wrap_a_twist_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_set__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_penalty_factor__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_translate__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_exit(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d4_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_ft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_twist
SWIGRUNTIME int SWIG_Tcl_Thisown(void *ptr)
SWIGINTERN int _wrap_a_block_convert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_lface(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_F(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_block_2d5To_p_a_block(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_type_info _swigt__p_a_plane
SWIGINTERN int _wrap_a_structure_criteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_block
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
SWIGINTERN int _wrap_a_block_2d5_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_vectord_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
static swig_class _wrap_class_a_plucker
SWIGINTERN int _wrap_a_face_f__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_point
SWIGINTERN void SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char *name, Tcl_Obj *obj)
SWIGINTERN int _wrap_a_block_clearall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_M(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_link_blocks(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_x__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_structure[]
SWIGRUNTIMEINLINE Tcl_Obj * SWIG_Tcl_NewPointerObj(void *ptr, swig_type_info *type, int flags)
static swig_attribute swig_std_vector_Sl_double_Sg__attributes[]
SWIGINTERN int _wrap_a_block_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_N__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Mx__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_char[]
static swig_type_info _swigt__p_a_face_2d4
SWIGINTERN int _wrap_a_structure_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
SWIGINTERN int _wrap_delete_a_face(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d3_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_dy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_verysmall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_S(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_structure_methods[]
static swig_class _wrap_class_a_face
static swig_attribute swig_a_structure_attributes[]
SWIGINTERN int _wrap_a_structure_penalty_factor__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int std_vector_Sl_int_Sg__pop(std::vector< int > *self)
SWIGINTERN int _wrap_delete_a_block_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGINTERN
#define SWIGTYPE_p_a_block
#define SWIGTYPE_p_a_linecloud
SWIGINTERN int _wrap_new_a_ocriteria_ex(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_block[]
SWIGINTERN int _wrap_a_face_2d4_exrx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_vectord__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_ocriteria_exmax
SWIGINTERN std::string a_face_print(a_face *self)
#define SWIG_From_double
SWIGINTERN int _wrap_a_twist_dz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_ax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_vl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int SwigString_AsString(Tcl_Interp *interp, Tcl_Obj *o, std::string *val)
static swig_type_info _swigt__p_a_trianglecloud
SWIGINTERN int _wrap_new_a_ocriteria_exmax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_verysmall__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_ocriteria
SWIGINTERN int _wrap_a_block_2d3_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_ocriteria_H_methods[]
SWIGINTERN int _wrap_a_face_ay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_vectori(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_My(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ArgError(r)
SWIGINTERN int _wrap_a_wrench_torque(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_2d4_ptsinplane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_size_type[]
SWIGINTERN int _wrap_a_face_dxM(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_ni(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGINTERN int _wrap_a_block_ok(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_convert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Qx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_structure_bases[]
SWIGINTERN int _wrap_a_structure_rotate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_Thisown(ptr)
SWIGINTERN int _wrap_a_fcriteria_coulomb_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
SWIGINTERN int _wrap_a_face_Qy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_fcriteria_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
void *(* swig_converter_func)(void *, int *)
#define SWIG_POINTER_NO_NULL
SWIGINTERN int _wrap_new_a_material(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_p2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Sx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_p2w(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_out(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_slide(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_ocriteria_ex_methods[]
static swig_type_info _swigt__p_std__ostream
static swig_type_info _swigt__p_a_fcriteria_coulomb
static swig_type_info _swigt__p_a_plucker
SWIGINTERN int _wrap_a_structure_Ws(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_twist__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_ocriteria_exmax_bases[]
#define SWIG_IOError
SWIGINTERN int _wrap_a_twist_rz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewInstanceObj(Tcl_Interp *interp, void *thisvalue, swig_type_info *type, int flags)
SWIGINTERN int _wrap_a_wrench_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NullReferenceError
SWIGINTERN int _wrap_a_face_dy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_face
SWIGINTERN int _wrap_a_face_ny(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_cl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_ocriteria_attributes[]
static const char * swig_a_wrench_base_names[]
SWIGINTERN int _wrap_a_structure_rotate__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_torque__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_potential(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_ft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_POINTER_DISOWN
SWIGINTERN int _wrap_a_twist_r(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_type_info swig_type_info
static swig_class _wrap_class_a_contact
SWIGINTERN int _wrap_a_block_m(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_density__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_ocriteria_H
SWIGINTERN int _wrap_new_vectori__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_vectori__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_vectori_pop(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_contactsegment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_i__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_block_2d3_methods[]
static swig_class _wrap_class_a_fcriteria_coulomb
SWIGINTERN int _wrap_new_vectori(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_contacttype(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_twist
SWIGINTERN int _wrap_a_fcriteria_coulomb_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME char * SWIG_Tcl_PointerTypeFromString(char *c)
SWIGINTERN int _wrap_a_block_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Mt(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__vectorT_double_t[]
SWIGINTERN int _wrap_a_block_v__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d4_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_p2t(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_twist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_std__out_of_range
#define SWIG_From_bool
SWIGINTERN int _wrap_a_block_exit(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_compute__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_Ws(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_vectord(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_in_max(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NEWOBJ
SWIGINTERN int _wrap_new_a_twist__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_contact
SWIGINTERN int _wrap_vectord_size(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_fcriteria_coulomb(void *obj)
SWIGRUNTIME int SWIG_Tcl_Disown(void *ptr)
SWIGINTERNINLINE Tcl_Obj * SWIG_From_unsigned_SS_long(unsigned long value)
SWIGINTERN int _wrap_a_structure_convert__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN double std_vector_Sl_double_Sg__pop(std::vector< double > *self)
SWIGINTERN int _wrap_a_material_ref__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ObjectDelete
SWIGINTERN int _wrap_a_block_place(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_exy__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d5_copy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_twist__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_wrench(void *obj)
SWIGINTERN int _wrap_new_a_wrench__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_p1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d4_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NewPackedObj(ptr, sz, type)
SWIGINTERN int _wrap_a_face_in(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_cb_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_material_attributes[]
SWIGINTERN int _wrap_vectori_size(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_ocriteria
SWIGINTERN int _wrap_a_fcriteria_coulomb_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_block_2d5
static swig_class _wrap_class_a_structure
SWIGINTERN int _wrap_a_structure_clearall(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Mx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_contact_f__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_W__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_GetModule(clientdata)
SWIGINTERN int _wrap_a_fcriteria_coulomb_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_face_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_fail
SWIGINTERN int _wrap_a_plucker_p2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plucker_p1__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_V(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN int _wrap_a_twist_m___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d3_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_block_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static swig_cast_info _swigc__p_a_point[]
SWIGINTERN Tcl_Obj * SWIG_Tcl_GetConstantObj(const char *key)
SWIGINTERN int _wrap_new_vectord__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_ocriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_structure
SWIGINTERN int _wrap_a_block_i__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_point
static swig_class * swig_a_face_bases[]
SWIGINTERN int _wrap_a_twist_reset(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_block_2d5_methods[]
SWIGINTERN int _wrap_a_face_contactpoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_nextblock(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_compute(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__std__ptrdiff_t[]
SWIGINTERN std::string a_contact_print(a_contact *self)
SWIGINTERN int _wrap_a_plucker_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGINTERN int _wrap_a_structure_max__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_hinge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_fcriteria_base_names[]
SWIGINTERN int _wrap_a_face_exit__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_contact
static swig_class _wrap_class_a_ocriteria_exmax
SWIGINTERN int _wrap_new_a_block_2d3__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_g__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_point__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_ocriteria_exmax(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_convert__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TYPE_TABLE_NAME
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN int _wrap_a_structure_nb(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_dyM(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_verysmall__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_material__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_f__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_block_2d4_base_names[]
SWIGINTERN void swig_delete_a_face_2d4(void *obj)
SWIGINTERN int _wrap_a_block_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_segment
SWIGINTERN int _wrap_a_structure_penalty_factor(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_fcriteria_inTo_p_a_fcriteria(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME swig_module_info * SWIG_Tcl_GetModule(Tcl_Interp *interp)
SWIGINTERN int _wrap_a_face_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_module_info swig_module_info
static const char * swig_a_contact_base_names[]
SWIGINTERN int _wrap_a_wrench_mz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_torque__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TCL_POINTER
static swig_cast_info _swigc__p_std__out_of_range[]
static swig_cast_info _swigc__p_a_linecloud[]
SWIGINTERN std::string a_block_convert(a_block *self, std::string const &code)
#define SWIG_Acquire(ptr)
SWIGINTERN void std_vector_Sl_int_Sg__set(std::vector< int > *self, int i, int x)
SWIGINTERN int _wrap_a_wrench_pierce(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_contact_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d5_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_ObjectDelete(ClientData clientData)
SWIGINTERN int _wrap_a_wrench_mx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ERROR
#define SWIG_TCL_HASHTABLE_INIT
#define SWIG_name
SWIGINTERN int _wrap_a_face_2d4_length(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_ConvertPacked(Tcl_Interp *SWIGUNUSEDPARM(interp), Tcl_Obj *obj, void *ptr, int sz, swig_type_info *ty)
SWIGINTERN int _wrap_a_face_lface__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_2d4_intersect(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ObjectConstructor
static swig_cast_info _swigc__std__size_t[]
static void * _p_a_fcriteria_coulombTo_p_a_fcriteria_in(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_NewInstanceObj(thisvalue, type, flags)
#define SWIG_Disown(ptr)
SWIGINTERN int _wrap_a_block_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_From_unsigned_SS_int(unsigned int value)
SWIGINTERN int _wrap_delete_a_block_2d5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_ocriteria_ex(void *obj)
SWIGINTERN void swig_delete_a_material(void *obj)
SWIGINTERN int _wrap_new_vectori__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_wrench__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_std_vector_Sl_int_Sg__attributes[]
SWIGINTERN int _wrap_a_structure_trianglecloud(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info * swig_type_initial[]
static swig_class _wrap_class_a_fcriteria_in
SWIGINTERN int _wrap_a_block_ft__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_twist__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_wrench__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_min(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_fcriteria(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_std__ostream
static swig_method swig_std_vector_Sl_int_Sg__methods[]
static int swigconstTableinit
struct swig_attribute swig_attribute
SWIGINTERN int _wrap_a_face_2d4_plane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_penalty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void a_structure_convert__SWIG_1(a_structure *self, std::string const &code, std::string const &name)
void(* swig_delete_func)(ClientData)
SWIGINTERN int _wrap_new_a_block_2d3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN std::string a_material_print(a_material *self)
SWIGINTERN int _wrap_vectord_empty(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_i(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME Tcl_HashTable * SWIG_Tcl_ObjectTable(void)
SWIGINTERN int _wrap_new_a_block_2d4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_ocriteria_ex_base_names[]
a_wrench * p2w(a_plucker *p)
static swig_class * swig_a_block_2d4_bases[]
static swig_attribute swig_a_contact_attributes[]
static const char * swig_a_twist_base_names[]
SWIGRUNTIME int SWIG_Tcl_ConvertPtrFromString(Tcl_Interp *interp, const char *c, void **ptr, swig_type_info *ty, int flags)
static swig_class * swig_a_plucker_bases[]
static swig_method swig_a_block_methods[]
SWIGINTERN int _wrap_a_block_material__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
SWIGINTERN int _wrap_a_structure_compute__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_twist__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_block_2d3__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_point(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_N(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_objective__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_fcriteria_coulomb_bases[]
SWIGINTERN int _wrap_a_block_2d5_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_fcriteria_in_attributes[]
static swig_attribute swig_a_ocriteria_H_attributes[]
static swig_class _wrap_class_a_face_2d4
SWIGINTERN int _wrap_a_structure_min__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_block_2d3_attributes[]
#define SWIG_MemoryError
static swig_method swig_a_ocriteria_methods[]
SWIGINTERN int _wrap_delete_a_twist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_ocriteria_exmax_methods[]
SWIGINTERN int _wrap_a_wrench_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_b(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_face(void *obj)
static swig_type_info _swigt__std__ptrdiff_t
SWIGINTERN int _wrap_a_face_nv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
#define SWIGTYPE_p_a_block_2d4
static swig_class * swig_a_material_bases[]
SWIGINTERN void swig_delete_a_ocriteria_exmax(void *obj)
#define SWIG_SystemError
SWIGINTERN int _wrap_vectord_pop(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_block_2d4_methods[]
#define SWIG_DivisionByZero
SWIGINTERN int _wrap_a_block_2d4_thickness__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_v(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_contact(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_twist_methods[]
static swig_method swig_std_vector_Sl_double_Sg__methods[]
SWIGINTERN int _wrap_vectord_push(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_clearexternal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_char
struct swig_method swig_method
static swig_cast_info _swigc__p_a_fcriteria_in[]
static swig_attribute swig_a_ocriteria_ex_attributes[]
#define SWIG_TCL_DECL_ARGS_2(arg1, arg2)
SWIGINTERN int _wrap_new_a_structure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_coulomb_c__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_dxm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_Sz(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_OverflowError
#define SWIGEXPORT
#define SWIGTYPE_p_a_ocriteria_H
static const char * swig_a_block_2d3_base_names[]
#define SWIG_IsOK(r)
static swig_type_info _swigt__p_a_ocriteria
static swig_attribute swig_a_fcriteria_attributes[]
int(* swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST[])
SWIGINTERN int _wrap_a_structure_fe(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_2d4_contains(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_From_long(long value)
SWIGRUNTIME void SWIG_Tcl_MakePtr(char *c, void *ptr, swig_type_info *ty, int SWIGUNUSEDPARM(flags))
static swig_cast_info _swigc__p_a_ocriteria[]
struct swig_type_info *(* swig_dycast_func)(void **)
#define SWIG_TCL_CALL_ARGS_2(arg1, arg2)
SWIGINTERN int _wrap_vectord_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_ocriteria_ex
static swig_attribute swig_a_block_attributes[]
SWIGINTERN int _wrap_a_wrench_d0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int SwigDouble_As(Tcl_Interp *interp, Tcl_Obj *o, Type *val)
static swig_attribute swig_a_block_2d5_attributes[]
#define SWIG_IndexError
SWIGINTERN void SWIG_Tcl_InstallMethodLookupTables(void)
#define SWIG_TCL_STUBS_VERSION
static swig_cast_info _swigc__p_a_block_2d3[]
#define SWIG_prefix
int SwigInt_As(Tcl_Interp *interp, Tcl_Obj *o, Type *val)
SWIGINTERN int _wrap_a_block_V(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_wrench_fx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_ocriteria_ex_bases[]
SWIGINTERN int _wrap_a_face_2d4_v3d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_name__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_twist_d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_face_My__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_ocriteria_exmax[]
SWIGINTERN int _wrap_a_block_2d4_deepcopy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__std__size_t
SWIGINTERN int _wrap_a_face_dx(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__vectorT_int_t[]
SWIGINTERN int _wrap_a_structure_objectivep(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TCL_BINARY
SWIGINTERN int _wrap_a_face_rv(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGINTERN int _wrap_a_material_name__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_vectori_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_material[]
static swig_cast_info _swigc__p_a_trianglecloud[]
SWIGINTERN int _wrap_a_face_My__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_OK
SWIGINTERN int _wrap_a_face_dym(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_block_2d3
SWIGINTERN void swig_delete_a_fcriteria_in(void *obj)
SWIGINTERN int _wrap_vectori_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void std_vector_Sl_double_Sg__set(std::vector< double > *self, int i, double x)
SWIGINTERN int _wrap_new_vectord(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_std__istream
#define SWIGINTERNINLINE
SWIGINTERN int _wrap_a_face_N__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_fcriteria_coulomb_methods[]
static swig_method swig_a_fcriteria_in_methods[]
SWIGINTERN std::string a_plucker_print(a_plucker *self)
SWIGINTERN int _wrap_a_block_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_block_2d4
SWIGINTERN int _wrap_a_ocriteria_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_structure_clear(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_material_name(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_block_2d3_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGRUNTIMEINLINE
SWIGINTERN int _wrap_delete_a_contact(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_fcriteria_in_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
a_point normal() const
normal to the definition plan of the block (world coordinates)
static const std::string help()
get information about the class
Definition: a_block_2d3.cxx:62
static const std::string help()
get information about the class
Definition: a_block_2d4.cxx:63
a_point normal() const
normal to the definition plan of the block (world coordinates)
a_point normal() const
normal to the definition plan of the block (world coordinates)
static const std::string help()
get information about the class
Definition: a_block_2d5.cxx:64
a_block * compute()
compute the exit force from all the forces on the block, return next block or 0 if last one or proble...
Definition: a_block.cxx:310
static const std::string help()
get information about the class
Definition: a_block.cxx:46
std::vector< int > in() const
return inside faces
Definition: a_block.cxx:373
virtual std::string name() const
Definition: a_block.h:47
void exit(int ref)
set exit face
Definition: a_block.cxx:397
std::vector< int > out() const
return outside faces
Definition: a_block.cxx:385
a_plane plane() const
plane defined by face
Definition: a_face_2d4.h:51
Definition: a_face.h:33
virtual a_point normal() const =0
normal to the face (in world coordinate)
virtual a_point contactpoint() const =0
return point of contact if faces just touch by one point
virtual a_point nx() const =0
direction of face (in world coordinate)
a_point hinge() const
hinge opening: rotation vector
Definition: a_face.cxx:475
void lface(a_face *f)
set connected face
Definition: a_face.h:153
virtual a_segment contactsegment() const =0
return edge of contact if faces touch by one edge: hinge
a_point c() const
centre of mass (in world coordinate)
Definition: a_face.cxx:311
virtual a_point x() const
application point of f on face
Definition: a_face.cxx:400
static const std::string help()
get information about the class
Definition: a_face.cxx:54
virtual a_point ny() const =0
normal to the vertices of the block (in world coordinate)
virtual a_point cl() const =0
centre of mass (in local system)
static const std::string help()
get information about the class
static const std::string help()
get information about the class
void verysmall(const double small)
small value
Definition: a_fcriteria.h:37
static const std::string help()
get information about the class
Definition: a_fcriteria.cxx:22
void name(const std::string name)
Definition: a_material.h:35
static const std::string help()
get information about the class
Definition: a_material.cxx:18
a plucker class
Definition: a_plucker.h:31
virtual std::string name() const
Definition: a_plucker.h:39
a_point p2() const
Definition: a_plucker.h:42
a_point p1() const
Definition: a_plucker.h:41
structure class
Definition: a_structure.h:33
std::vector< int > nodes() const
get list of blocks connected to more than 2 other blocks (sources of hyperstaticity)
std::vector< int > out() const
get list of extreme blocks (blocks connected only to 1 other block)
static const std::string help()
get information about the class
Definition: a_structure.cxx:54
std::vector< int > in() const
get list of internal blocks (blocks connected at least to 2 other blocks)
a_point c() const
get centre of mass
a twist class
Definition: a_twist.h:31
std::string name() const
Definition: a_twist.h:46
static const std::string help()
get information about the class
Definition: a_twist.cxx:112
a wrench class
Definition: a_wrench.h:30
std::string name() const
Definition: a_wrench.h:37
a_point M() const
torque
Definition: a_wrench.h:59
a_point F() const
force
Definition: a_wrench.h:51
static const std::string help()
get information about the class
Definition: a_wrench.cxx:28
a_point d0() const
point where wrench reduces to a pure force, return origin if f=0
Definition: a_wrench.cxx:144
swig_type_info * type
swig_converter_func converter
struct swig_cast_info * next
struct swig_cast_info * prev
swig_attribute * attributes
const char ** base_names
Tcl_HashTable hashtable
void(* destructor)(void *)
struct swig_class ** bases
swig_wrapper constructor
swig_module_info * module
swig_type_info ** type
swig_method * methods
swig_type_info ** ptype
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
swig_type_info ** types
swig_dycast_func dcast
struct swig_cast_info * cast