19 template<
typename T>
class SwigValueWrapper {
20 struct SwigMovePointer {
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; }
26 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
27 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
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; }
35 template <
typename T> T SwigValueInit() {
46 #ifndef SWIGTEMPLATEDISAMBIGUATOR
47 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
48 # define SWIGTEMPLATEDISAMBIGUATOR template
49 # elif defined(__HP_aCC)
52 # define SWIGTEMPLATEDISAMBIGUATOR template
54 # define SWIGTEMPLATEDISAMBIGUATOR
60 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
61 # define SWIGINLINE inline
69 # if defined(__GNUC__)
70 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
71 # define SWIGUNUSED __attribute__ ((__unused__))
76 # define SWIGUNUSED __attribute__ ((__unused__))
82 #ifndef SWIG_MSC_UNSUPPRESS_4505
83 # if defined(_MSC_VER)
84 # pragma warning(disable : 4505)
88 #ifndef SWIGUNUSEDPARM
90 # define SWIGUNUSEDPARM(p)
92 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
98 # define SWIGINTERN static SWIGUNUSED
102 #ifndef SWIGINTERNINLINE
103 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
107 #if defined(__GNUC__)
108 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
109 # ifndef GCC_HASCLASSVISIBILITY
110 # define GCC_HASCLASSVISIBILITY
116 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
117 # if defined(STATIC_LINKED)
120 # define SWIGEXPORT __declspec(dllexport)
123 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
124 # define SWIGEXPORT __attribute__ ((visibility("default")))
133 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
134 # define SWIGSTDCALL __stdcall
141 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
142 # define _CRT_SECURE_NO_DEPRECATE
146 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
147 # define _SCL_SECURE_NO_DEPRECATE
151 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
152 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
160 #ifdef __INTEL_COMPILER
161 # pragma warning disable 592
181 #define SWIG_RUNTIME_VERSION "4"
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)
189 # define SWIG_TYPE_TABLE_NAME
202 # define SWIGRUNTIME SWIGINTERN
205 #ifndef SWIGRUNTIMEINLINE
206 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
210 #ifndef SWIG_BUFFER_SIZE
211 # define SWIG_BUFFER_SIZE 1024
215 #define SWIG_POINTER_DISOWN 0x1
216 #define SWIG_CAST_NEW_MEMORY 0x2
217 #define SWIG_POINTER_NO_NULL 0x4
220 #define SWIG_POINTER_OWN 0x1
303 #define SWIG_ERROR (-1)
304 #define SWIG_IsOK(r) (r >= 0)
305 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
308 #define SWIG_CASTRANKLIMIT (1 << 8)
310 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
312 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
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)
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))
327 #if defined(SWIG_CASTRANK_MODE)
328 # ifndef SWIG_TypeRank
329 # define SWIG_TypeRank unsigned long
331 # ifndef SWIG_MAXCASTRANK
332 # define SWIG_MAXCASTRANK (2)
334 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
335 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
340 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
343 # define SWIG_AddCast(r) (r)
344 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
354 typedef void *(*swig_converter_func)(
void *,
int *);
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;
402 return (
int)((l1 - f1) - (l2 - f2));
412 const char* te = tb + strlen(tb);
414 while (equiv != 0 && *ne) {
415 for (nb = ne; *ne; ++ne) {
416 if (*ne ==
'|')
break;
441 if (strcmp(iter->
type->
name, c) == 0) {
442 if (iter == ty->
cast)
468 if (iter->
type == from) {
469 if (iter == ty->
cast)
501 if (!ty || !ty->
dcast)
return ty;
502 while (ty && (ty->
dcast)) {
503 ty = (*ty->
dcast)(ptr);
527 if (!type)
return NULL;
528 if (type->
str != NULL) {
529 const char *last_name = type->
str;
531 for (s = type->
str; *s; s++)
532 if (*s ==
'|') last_name = s+1;
580 size_t r = iter->
size - 1;
583 size_t i = (l + r) >> 1;
584 const char *iname = iter->
types[i]->
name;
586 int compare = strcmp(name, iname);
588 return iter->
types[i];
589 }
else if (compare < 0) {
595 }
else if (compare > 0) {
604 }
while (iter != end);
631 for (; i < iter->
size; ++i) {
633 return iter->
types[i];
636 }
while (iter != end);
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];
664 unsigned char *u = (
unsigned char *) ptr;
665 const unsigned char *eu = u + sz;
666 for (; u != eu; ++u) {
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);
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));
693 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
696 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
704 if (strcmp(c,
"NULL") == 0) {
717 size_t lname = (name ? strlen(name) : 0);
718 if ((2*sz + 2 + lname) > bsz)
return 0;
722 strncpy(r,name,lname+1);
732 if (strcmp(c,
"NULL") == 0) {
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
769 const char* type = 0;
772 type =
"MemoryError";
778 type =
"RuntimeError";
787 type =
"ZeroDivisionError";
790 type =
"OverflowError";
793 type =
"SyntaxError";
799 type =
"SystemError";
802 type =
"AttributeError";
805 type =
"RuntimeError";
814 Tcl_ResetResult(interp);
815 Tcl_SetObjResult(interp, obj);
816 Tcl_SetErrorCode(interp,
"SWIG", ctype, NULL);
822 Tcl_ResetResult(interp);
823 Tcl_SetErrorCode(interp,
"SWIG", ctype, NULL);
824 Tcl_AppendResult(interp, ctype,
" ", mesg, NULL);
835 Tcl_AddErrorInfo(interp, mesg);
852 #define SWIG_TCL_POINTER 4
853 #define SWIG_TCL_BINARY 5
865 typedef int (*
swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
867 typedef char *(*swig_variable_func)(ClientData, Tcl_Interp *,
char *,
char *, int);
905 int (*wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
906 ClientData clientdata;
913 char * (*get)(ClientData, Tcl_Interp *,
char *,
char *, int);
914 char * (*set)(ClientData, Tcl_Interp *,
char *,
char *, int);
928 Tcl_ObjSetVar2(interp,Tcl_NewStringObj(name,-1), NULL, obj, TCL_GLOBAL_ONLY);
929 Tcl_SetHashValue(Tcl_CreateHashEntry(&
swigconstTable, name, &newobj), (ClientData) obj);
934 Tcl_HashEntry *entryPtr;
938 return (Tcl_Obj *) Tcl_GetHashValue(entryPtr);
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)
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)
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)
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)
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)
981 #define SWIG_GetModule(clientdata) SWIG_Tcl_GetModule((Tcl_Interp *) (clientdata))
982 #define SWIG_SetModule(clientdata, pointer) SWIG_Tcl_SetModule((Tcl_Interp *) (clientdata), pointer)
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
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
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)
1014 #define SWIG_POINTER_EXCEPTION 0
1015 #define SWIG_GetConstant SWIG_GetConstantObj
1016 #define SWIG_Tcl_GetConstant SWIG_Tcl_GetConstantObj
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}
1021 #define SWIG_TCL_HASHTABLE_INIT {0}
1034 static Tcl_HashTable swigobjectTable;
1035 static int swigobjectTableinit = 0;
1036 if (!swigobjectTableinit) {
1037 Tcl_InitHashTable(&swigobjectTable, TCL_ONE_WORD_KEYS);
1038 swigobjectTableinit = 1;
1040 return &swigobjectTable;
1063 Tcl_DeleteHashEntry(entryPtr);
1076 if (strcmp(c,
"NULL") == 0)
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) {
1090 Tcl_ResetResult(interp);
1096 Tcl_ResetResult(interp);
1101 if (Tcl_VarEval(interp,c,
" cget -this", (
char *) NULL) != TCL_OK) {
1102 Tcl_ResetResult(interp);
1106 c = Tcl_GetStringFromObj(Tcl_GetObjResult(interp), NULL);
1145 if (!(((d >=
'0') && (d <=
'9')) || ((d >=
'a') && (d <=
'f'))))
break;
1157 if (!obj)
goto type_error;
1158 c = Tcl_GetStringFromObj(obj,NULL);
1160 if (*c !=
'_')
goto type_error;
1165 if (!tc)
goto type_error;
1193 robj = Tcl_NewStringObj(result,-1);
1201 if ((2*sz + 1 + strlen(type->
name)) > 1000)
return 0;
1204 strcpy(r,type->
name);
1205 return Tcl_NewStringObj(result,-1);
1251 Tcl_DecrRefCount(si->
thisptr);
1258 char *method, *attrname;
1267 int cls_stack_bi[64];
1268 int cls_stack_top = 0;
1272 objv = (Tcl_Obj **) _objv;
1274 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1277 method = Tcl_GetStringFromObj(objv[1],NULL);
1278 if (strcmp(method,
"-acquire") == 0) {
1283 if (strcmp(method,
"-disown") == 0) {
1290 if (strcmp(method,
"-delete") == 0) {
1291 Tcl_DeleteCommandFromToken(interp,inst->
cmdtok);
1294 cls_stack[cls_stack_top] = inst->
classptr;
1295 cls_stack_bi[cls_stack_top] = -1;
1297 Tcl_HashEntry* hashentry;
1298 bi = cls_stack_bi[cls_stack_top];
1299 cls = cls_stack[cls_stack_top];
1306 cls = cls->
bases[bi];
1308 cls_stack_bi[cls_stack_top]++;
1310 cls_stack[cls_stack_top] = cls;
1311 cls_stack_bi[cls_stack_top] = -1;
1317 if (cls_stack_top < 0)
break;
1320 cls_stack_bi[cls_stack_top]++;
1322 hashentry = Tcl_FindHashEntry(&(cls->
hashtable), method);
1324 ClientData cd = Tcl_GetHashValue(hashentry);
1328 Tcl_IncrRefCount(inst->
thisptr);
1329 rcode = (method_wrapper)(clientData,interp,objc,objv);
1331 Tcl_DecrRefCount(inst->
thisptr);
1335 if (strcmp(method,
"cget") == 0) {
1337 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1340 attrname = Tcl_GetStringFromObj(objv[2],NULL);
1342 while (attr && attr->
name) {
1343 if ((strcmp(attr->
name, attrname) == 0) && (attr->
getmethod)) {
1346 Tcl_IncrRefCount(inst->
thisptr);
1347 rcode = (*attr->
getmethod)(clientData,interp,2, objv);
1349 Tcl_DecrRefCount(inst->
thisptr);
1354 if (strcmp(attrname,
"-this") == 0) {
1355 Tcl_SetObjResult(interp, Tcl_DuplicateObj(inst->
thisptr));
1358 if (strcmp(attrname,
"-thisown") == 0) {
1360 Tcl_SetResult(interp,(
char*)
"1",TCL_STATIC);
1362 Tcl_SetResult(interp,(
char*)
"0",TCL_STATIC);
1366 }
else if (strcmp(method,
"configure") == 0) {
1369 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1374 attrname = Tcl_GetStringFromObj(objv[i],NULL);
1376 while (attr && attr->
name) {
1377 if ((strcmp(attr->
name, attrname) == 0) && (attr->
setmethod)) {
1380 Tcl_IncrRefCount(inst->
thisptr);
1381 rcode = (*attr->
setmethod)(clientData,interp,3, &objv[i-1]);
1383 Tcl_DecrRefCount(inst->
thisptr);
1384 if (rcode != TCL_OK)
return rcode;
1393 if (strcmp(method,
"configure") == 0) {
1394 if (numconf >= objc) {
1397 Tcl_SetResult(interp,(
char *)
"Invalid attribute name.", TCL_STATIC);
1401 if (strcmp(method,
"cget") == 0) {
1402 Tcl_SetResult(interp,(
char *)
"Invalid attribute name.", TCL_STATIC);
1405 Tcl_SetResult(interp, (
char *)
"Invalid method. Must be one of: configure cget -acquire -disown -delete", TCL_STATIC);
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,
':');
1415 where = strstr(where, meth->
name);
1417 if(where[-1] ==
' ' && (where[meth_len] ==
' ' || where[meth_len]==0)) {
1426 Tcl_AppendElement(interp, (
char *) meth->
name);
1439 if (thisvalue && (type->
clientdata) && (interp)) {
1442 name = Tcl_GetStringFromObj(robj,NULL);
1443 if (!Tcl_GetCommandInfo(interp,name, &ci) || (flags)) {
1445 newinst->
thisptr = Tcl_DuplicateObj(robj);
1446 Tcl_IncrRefCount(newinst->
thisptr);
1462 Tcl_Obj *newObj = 0;
1463 void *thisvalue = 0;
1473 Tcl_SetResult(interp, (
char *)
"swig: internal runtime error. No class object defined.", TCL_STATIC);
1478 char *s = Tcl_GetStringFromObj(objv[1],NULL);
1479 if (strcmp(s,
"-this") == 0) {
1482 }
else if (strcmp(s,
"-args") == 0) {
1484 }
else if (objc == 2) {
1487 }
else if (objc >= 3) {
1490 s1 = Tcl_GetStringFromObj(objv[2],NULL);
1491 if (strcmp(s1,
"-this") == 0) {
1501 result = (*cons)(0, interp, objc-firstarg, &objv[firstarg]);
1502 if (result != TCL_OK) {
1505 newObj = Tcl_DuplicateObj(Tcl_GetObjResult(interp));
1506 if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
1507 }
else if (thisarg > 0) {
1508 if (thisarg < objc) {
1510 newObj = Tcl_DuplicateObj(objv[thisarg]);
1511 if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
1513 Tcl_SetResult(interp, (
char *)
"wrong # args.", TCL_STATIC);
1517 Tcl_SetResult(interp, (
char *)
"No constructor available.", TCL_STATIC);
1521 Tcl_DecrRefCount(newObj);
1526 Tcl_IncrRefCount(newObj);
1542 int argno = 0, opt = 0;
1552 for (c = fmt; (*c && (*c !=
':') && (*c !=
';')); c++,argno++) {
1557 if (argno >= (objc-1)) {
1559 Tcl_SetResult(interp, (
char *)
"Wrong number of arguments ", TCL_STATIC);
1567 vptr = va_arg(ap,
void *);
1571 if (!obj) obj = objv[argno+1];
1573 obj = objv[argno+1];
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;
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;
1593 if (*(c+1) ==
'#') {
1594 int *vlptr = (
int *) va_arg(ap,
void *);
1595 *((
char **) vptr) = Tcl_GetStringFromObj(obj, vlptr);
1598 *((
char **)vptr) = Tcl_GetStringFromObj(obj,NULL);
1602 *((
char *)vptr) = *(Tcl_GetStringFromObj(obj,NULL));
1609 *((Tcl_Obj **)vptr) = objv[argno+1];
1617 if ((*c !=
';') && ((objc-1) > argno)) {
1618 Tcl_SetResult(interp, (
char *)
"Wrong # args.", TCL_STATIC);
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);
1643 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1645 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1651 #define SWIGTYPE_p_UI swig_types[0]
1652 #define SWIGTYPE_p_a_2dh swig_types[1]
1653 #define SWIGTYPE_p_a_3dh swig_types[2]
1654 #define SWIGTYPE_p_a_base swig_types[3]
1655 #define SWIGTYPE_p_a_intern swig_types[4]
1656 #define SWIGTYPE_p_a_mat swig_types[5]
1657 #define SWIGTYPE_p_a_mat_base swig_types[6]
1658 #define SWIGTYPE_p_a_mat_c swig_types[7]
1659 #define SWIGTYPE_p_a_pmat swig_types[8]
1660 #define SWIGTYPE_p_a_point swig_types[9]
1661 #define SWIGTYPE_p_a_point2 swig_types[10]
1662 #define SWIGTYPE_p_a_pos swig_types[11]
1663 #define SWIGTYPE_p_a_quaternion swig_types[12]
1664 #define SWIGTYPE_p_char swig_types[13]
1665 #define SWIGTYPE_p_double swig_types[14]
1668 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1669 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1673 #define SWIG_init A_mat_Init
1674 #define SWIG_name "a_mat"
1675 #define SWIG_prefix ""
1676 #define SWIG_version "0.0"
1678 #define SWIGVERSION 0x040002
1679 #define SWIG_VERSION SWIGVERSION
1682 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
1683 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
1686 #include <stdexcept>
1705 #ifndef SWIG_TCL_STUBS_VERSION
1706 #define SWIG_TCL_STUBS_VERSION "8.1"
1720 #if !defined(SWIG_NO_LLONG_MAX)
1721 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1722 # define LLONG_MAX __LONG_LONG_MAX__
1723 # define LLONG_MIN (-LLONG_MAX - 1LL)
1724 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1732 return (size < INT_MAX) ? Tcl_NewStringObj(carray,
static_cast< int >(size)) : NULL;
1747 if (Tcl_GetDoubleFromObj(0, obj, &v) == TCL_OK) {
1755 #define SWIG_From_double Tcl_NewDoubleObj
1758 std::ostringstream out;
1773 if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
1774 if (
val) *
val = (long) v;
1787 if ((v < INT_MIN || v > INT_MAX)) {
1790 if (
val) *
val =
static_cast< int >(v);
1804 std::ostringstream out;
1812 std::ostringstream out;
1831 std::ostringstream out;
1850 arg1 =
reinterpret_cast< a_base *
>(argp1);
1851 result = (arg1)->classname();
1881 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_base_small self tol ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
1886 arg1 =
reinterpret_cast< a_base *
>(argp1);
1891 arg2 =
static_cast< double >(val2);
1892 (arg1)->small(arg2);
1912 arg1 =
reinterpret_cast< a_base *
>(argp1);
1913 result = (double)((
a_base const *)arg1)->small();
1923 Tcl_Obj *CONST *argv = objv+1;
1950 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_base_small'.\n"
1951 " Possible C/C++ prototypes are:\n"
1952 " a_base::small(double)\n"
1953 " a_base::small() const\n", TCL_STATIC);
1970 arg1 =
reinterpret_cast< a_base *
>(argp1);
2003 arg1 =
reinterpret_cast< a_base *
>(argp1);
2035 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_mat_base_classname self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
2040 arg1 =
reinterpret_cast< a_mat_base *
>(argp1);
2041 result = (arg1)->classname();
2086 arg1 =
reinterpret_cast< a_mat_base *
>(argp1);
2122 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_mat i j v ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2131 arg1 = *(
reinterpret_cast< UI *
>(argp1));
2142 arg2 = *(
reinterpret_cast< UI *
>(argp2));
2149 arg3 =
static_cast< double >(val3);
2168 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_mat i j ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2177 arg1 = *(
reinterpret_cast< UI *
>(argp1));
2188 arg2 = *(
reinterpret_cast< UI *
>(argp2));
2212 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_mat i j v ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2217 arg1 =
static_cast< int >(val1);
2222 arg2 =
static_cast< int >(val2);
2227 arg3 =
static_cast< double >(val3);
2246 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_mat i j ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2251 arg1 =
static_cast< int >(val1);
2256 arg2 =
static_cast< int >(val2);
2280 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2291 Tcl_Obj *CONST *argv = objv+1;
2375 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_mat'.\n"
2376 " Possible C/C++ prototypes are:\n"
2377 " a_mat::a_mat(UI,UI,double)\n"
2378 " a_mat::a_mat(UI,UI)\n"
2379 " a_mat::a_mat(int,int,double)\n"
2380 " a_mat::a_mat(int,int)\n"
2381 " a_mat::a_mat(a_mat const &)\n", TCL_STATIC);
2397 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2418 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2439 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2460 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2479 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_mat_= self m ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2484 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2492 arg2 =
reinterpret_cast< a_mat *
>(argp2);
2493 result = (
a_mat *) &(arg1)->operator =((
a_mat const &)*arg2);
2513 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2514 result = (
a_mat *) &(arg1)->operator -();
2530 SwigValueWrapper< a_mat > result;
2532 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_mat_+ self a ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2537 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2545 arg2 =
reinterpret_cast< a_mat *
>(argp2);
2546 result = (arg1)->
operator +((
a_mat const &)*arg2);
2562 SwigValueWrapper< a_mat > result;
2564 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_mat_* self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2569 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2574 arg2 =
static_cast< double >(val2);
2575 result = (arg1)->
operator *(arg2);
2591 SwigValueWrapper< a_mat > result;
2593 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_mat_/ self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2598 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2603 arg2 =
static_cast< double >(val2);
2604 result = (arg1)->
operator /(arg2);
2617 SwigValueWrapper< a_mat > result;
2624 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2625 result = (arg1)->transpose();
2645 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_mat_swapc self c1 c2 ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2650 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2659 arg2 = *(
reinterpret_cast< UI *
>(argp2));
2670 arg3 = *(
reinterpret_cast< UI *
>(argp3));
2673 (arg1)->swapc(arg2,arg3);
2693 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_mat_swapr self r1 r2 ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2698 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2707 arg2 = *(
reinterpret_cast< UI *
>(argp2));
2718 arg3 = *(
reinterpret_cast< UI *
>(argp3));
2721 (arg1)->swapr(arg2,arg3);
2740 SwigValueWrapper< a_mat > result;
2742 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_mat_sub_matrix self i j ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2747 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2756 arg2 = *(
reinterpret_cast< UI *
>(argp2));
2767 arg3 = *(
reinterpret_cast< UI *
>(argp3));
2770 result = ((
a_mat const *)arg1)->sub_matrix(arg2,arg3);
2813 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_mat_c i v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2822 arg1 = *(
reinterpret_cast< UI *
>(argp1));
2829 arg2 =
static_cast< double >(val2);
2854 arg1 = *(
reinterpret_cast< UI *
>(argp1));
2875 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_mat_c i v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2880 arg1 =
static_cast< int >(val1);
2885 arg2 =
static_cast< double >(val2);
2906 arg1 =
static_cast< int >(val1);
2917 Tcl_Obj *CONST *argv = objv+1;
2970 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_mat_c'.\n"
2971 " Possible C/C++ prototypes are:\n"
2972 " a_mat_c::a_mat_c(UI,double)\n"
2973 " a_mat_c::a_mat_c(UI)\n"
2974 " a_mat_c::a_mat_c(int,double)\n"
2975 " a_mat_c::a_mat_c(int)\n", TCL_STATIC);
2990 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_mat_c_= self m ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2995 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3003 arg2 =
reinterpret_cast< a_mat *
>(argp2);
3004 result = (
a_mat_c *) &(arg1)->operator =((
a_mat const &)*arg2);
3024 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3025 result = (double)((
a_mat_c const *)arg1)->sumsq();
3045 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3046 result = (double)((
a_mat_c const *)arg1)->norm();
3065 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3066 (arg1)->normalise();
3085 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3119 SwigValueWrapper< a_mat_c > result;
3121 if (
SWIG_GetArgs(interp, objc, objv,
"oo:cross a_mat_c & a_mat_c & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3129 arg1 =
reinterpret_cast< a_mat_c *
>(argp1);
3137 arg2 =
reinterpret_cast< a_mat_c *
>(argp2);
3138 result =
cross(*arg1,*arg2);
3172 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_2dh x y t ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3177 arg1 =
static_cast< double >(val1);
3182 arg2 =
static_cast< double >(val2);
3187 arg3 =
static_cast< double >(val3);
3206 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_2dh x y ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3211 arg1 =
static_cast< double >(val1);
3216 arg2 =
static_cast< double >(val2);
3232 if (
SWIG_GetArgs(interp, objc, objv,
"o:new_a_2dh a_point2 const & ",(
void *)0) == TCL_ERROR)
SWIG_fail;
3240 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
3264 arg1 =
reinterpret_cast< a_mat *
>(argp1);
3275 Tcl_Obj *CONST *argv = objv+1;
3337 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_2dh'.\n"
3338 " Possible C/C++ prototypes are:\n"
3340 " a_2dh::a_2dh(double,double,double)\n"
3341 " a_2dh::a_2dh(double,double)\n"
3342 " a_2dh::a_2dh(a_point2 const &)\n"
3343 " a_2dh::a_2dh(a_mat const &)\n", TCL_STATIC);
3376 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_2dh_set self x y t ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3381 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3386 arg2 =
static_cast< double >(val2);
3391 arg3 =
static_cast< double >(val3);
3396 arg4 =
static_cast< double >(val4);
3397 (arg1)->set(arg2,arg3,arg4);
3417 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_2dh_set self x y ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3422 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3427 arg2 =
static_cast< double >(val2);
3432 arg3 =
static_cast< double >(val3);
3433 (arg1)->set(arg2,arg3);
3450 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_2dh_set self a_point2 const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3455 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3463 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
3464 (arg1)->set((
a_point2 const &)*arg2);
3474 Tcl_Obj *CONST *argv = objv+1;
3539 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_2dh_set'.\n"
3540 " Possible C/C++ prototypes are:\n"
3541 " a_2dh::set(double,double,double)\n"
3542 " a_2dh::set(double,double)\n"
3543 " a_2dh::set(a_point2 const &)\n", TCL_STATIC);
3560 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3561 result = ((
a_2dh const *)arg1)->point2();
3578 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_2dh_X self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3583 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3588 arg2 =
static_cast< double >(val2);
3606 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_2dh_Y self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3611 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3616 arg2 =
static_cast< double >(val2);
3634 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_2dh_T self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3639 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3644 arg2 =
static_cast< double >(val2);
3665 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3666 result = (double)((
a_2dh const *)arg1)->X();
3676 Tcl_Obj *CONST *argv = objv+1;
3703 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_2dh_X'.\n"
3704 " Possible C/C++ prototypes are:\n"
3705 " a_2dh::X(double)\n"
3706 " a_2dh::X() const\n", TCL_STATIC);
3723 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3724 result = (double)((
a_2dh const *)arg1)->Y();
3734 Tcl_Obj *CONST *argv = objv+1;
3761 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_2dh_Y'.\n"
3762 " Possible C/C++ prototypes are:\n"
3763 " a_2dh::Y(double)\n"
3764 " a_2dh::Y() const\n", TCL_STATIC);
3781 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3782 result = (double)((
a_2dh const *)arg1)->T();
3792 Tcl_Obj *CONST *argv = objv+1;
3819 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_2dh_T'.\n"
3820 " Possible C/C++ prototypes are:\n"
3821 " a_2dh::T(double)\n"
3822 " a_2dh::T() const\n", TCL_STATIC);
3839 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3840 result = (double)((
a_2dh const *)arg1)->x();
3860 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3861 result = (double)((
a_2dh const *)arg1)->y();
3881 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3901 arg1 =
reinterpret_cast< a_2dh *
>(argp1);
3960 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:new_a_3dh x y z t ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3965 arg1 =
static_cast< double >(val1);
3970 arg2 =
static_cast< double >(val2);
3975 arg3 =
static_cast< double >(val3);
3980 arg4 =
static_cast< double >(val4);
3981 result = (
a_3dh *)
new a_3dh(arg1,arg2,arg3,arg4);
4002 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_3dh x y z ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4007 arg1 =
static_cast< double >(val1);
4012 arg2 =
static_cast< double >(val2);
4017 arg3 =
static_cast< double >(val3);
4028 double *arg1 = (
double *) 0 ;
4038 arg1 =
reinterpret_cast< double *
>(argp1);
4054 if (
SWIG_GetArgs(interp, objc, objv,
"o:new_a_3dh a_point const & ",(
void *)0) == TCL_ERROR)
SWIG_fail;
4062 arg1 =
reinterpret_cast< a_point *
>(argp1);
4086 arg1 =
reinterpret_cast< a_mat *
>(argp1);
4097 Tcl_Obj *CONST *argv = objv+1;
4180 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_3dh'.\n"
4181 " Possible C/C++ prototypes are:\n"
4183 " a_3dh::a_3dh(double,double,double,double)\n"
4184 " a_3dh::a_3dh(double,double,double)\n"
4185 " a_3dh::a_3dh(double *)\n"
4186 " a_3dh::a_3dh(a_point const &)\n"
4187 " a_3dh::a_3dh(a_mat const &)\n", TCL_STATIC);
4214 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_X self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4219 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4224 arg2 =
static_cast< double >(val2);
4242 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_Y self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4247 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4252 arg2 =
static_cast< double >(val2);
4270 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_Z self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4275 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4280 arg2 =
static_cast< double >(val2);
4298 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_T self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4303 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4308 arg2 =
static_cast< double >(val2);
4329 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4330 result = (double)((
a_3dh const *)arg1)->X();
4340 Tcl_Obj *CONST *argv = objv+1;
4367 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_X'.\n"
4368 " Possible C/C++ prototypes are:\n"
4369 " a_3dh::X(double)\n"
4370 " a_3dh::X() const\n", TCL_STATIC);
4387 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4388 result = (double)((
a_3dh const *)arg1)->Y();
4398 Tcl_Obj *CONST *argv = objv+1;
4425 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_Y'.\n"
4426 " Possible C/C++ prototypes are:\n"
4427 " a_3dh::Y(double)\n"
4428 " a_3dh::Y() const\n", TCL_STATIC);
4445 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4446 result = (double)((
a_3dh const *)arg1)->Z();
4456 Tcl_Obj *CONST *argv = objv+1;
4483 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_Z'.\n"
4484 " Possible C/C++ prototypes are:\n"
4485 " a_3dh::Z(double)\n"
4486 " a_3dh::Z() const\n", TCL_STATIC);
4503 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4504 result = (double)((
a_3dh const *)arg1)->T();
4514 Tcl_Obj *CONST *argv = objv+1;
4541 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_T'.\n"
4542 " Possible C/C++ prototypes are:\n"
4543 " a_3dh::T(double)\n"
4544 " a_3dh::T() const\n", TCL_STATIC);
4561 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4562 result = (double)((
a_3dh const *)arg1)->x();
4582 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4583 result = (double)((
a_3dh const *)arg1)->y();
4603 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4604 result = (double)((
a_3dh const *)arg1)->z();
4630 if (
SWIG_GetArgs(interp, objc, objv,
"ooooo:a_3dh_set self x y z t ",(
void *)0,(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4635 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4640 arg2 =
static_cast< double >(val2);
4645 arg3 =
static_cast< double >(val3);
4650 arg4 =
static_cast< double >(val4);
4655 arg5 =
static_cast< double >(val5);
4656 (arg1)->set(arg2,arg3,arg4,arg5);
4679 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_3dh_set self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4684 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4689 arg2 =
static_cast< double >(val2);
4694 arg3 =
static_cast< double >(val3);
4699 arg4 =
static_cast< double >(val4);
4700 (arg1)->set(arg2,arg3,arg4);
4711 double *arg2 = (
double *) 0 ;
4717 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_set self x ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4722 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4727 arg2 =
reinterpret_cast< double *
>(argp2);
4745 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_set self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4750 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4758 arg2 =
reinterpret_cast< a_point *
>(argp2);
4759 (arg1)->set((
a_point const &)*arg2);
4769 Tcl_Obj *CONST *argv = objv+1;
4860 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_set'.\n"
4861 " Possible C/C++ prototypes are:\n"
4862 " a_3dh::set(double,double,double,double)\n"
4863 " a_3dh::set(double,double,double)\n"
4864 " a_3dh::set(double *)\n"
4865 " a_3dh::set(a_point const &)\n", TCL_STATIC);
4882 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4883 result = ((
a_3dh const *)arg1)->point();
4903 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4923 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
4983 arg1 =
reinterpret_cast< a_mat *
>(argp1);
4994 Tcl_Obj *CONST *argv = objv+1;
5009 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_intern'.\n"
5010 " Possible C/C++ prototypes are:\n"
5011 " a_intern::a_intern()\n"
5012 " a_intern::a_intern(a_mat const &)\n", TCL_STATIC);
5039 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_s self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5044 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5049 arg2 =
static_cast< double >(val2);
5067 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_sx self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5072 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5077 arg2 =
static_cast< double >(val2);
5095 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_sy self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5100 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5105 arg2 =
static_cast< double >(val2);
5123 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_stheta self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5128 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5133 arg2 =
static_cast< double >(val2);
5134 (arg1)->stheta(arg2);
5151 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_u0 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5156 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5161 arg2 =
static_cast< double >(val2);
5179 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_intern_v0 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5184 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5189 arg2 =
static_cast< double >(val2);
5210 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5211 result = (double)(arg1)->
sx();
5221 Tcl_Obj *CONST *argv = objv+1;
5248 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_intern_sx'.\n"
5249 " Possible C/C++ prototypes are:\n"
5250 " a_intern::sx(double)\n"
5251 " a_intern::sx()\n", TCL_STATIC);
5268 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5269 result = (double)(arg1)->
sy();
5279 Tcl_Obj *CONST *argv = objv+1;
5306 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_intern_sy'.\n"
5307 " Possible C/C++ prototypes are:\n"
5308 " a_intern::sy(double)\n"
5309 " a_intern::sy()\n", TCL_STATIC);
5326 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5327 result = (double)(arg1)->
stheta();
5337 Tcl_Obj *CONST *argv = objv+1;
5364 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_intern_stheta'.\n"
5365 " Possible C/C++ prototypes are:\n"
5366 " a_intern::stheta(double)\n"
5367 " a_intern::stheta()\n", TCL_STATIC);
5384 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5385 result = (double)(arg1)->
u0();
5395 Tcl_Obj *CONST *argv = objv+1;
5422 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_intern_u0'.\n"
5423 " Possible C/C++ prototypes are:\n"
5424 " a_intern::u0(double)\n"
5425 " a_intern::u0()\n", TCL_STATIC);
5442 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5443 result = (double)(arg1)->
v0();
5453 Tcl_Obj *CONST *argv = objv+1;
5480 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_intern_v0'.\n"
5481 " Possible C/C++ prototypes are:\n"
5482 " a_intern::v0(double)\n"
5483 " a_intern::v0()\n", TCL_STATIC);
5499 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5555 arg1 =
reinterpret_cast< a_intern *
>(argp1);
5579 arg1 =
reinterpret_cast< a_mat *
>(argp1);
5590 Tcl_Obj *CONST *argv = objv+1;
5614 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_pmat'.\n"
5615 " Possible C/C++ prototypes are:\n"
5616 " a_pmat::a_pmat()\n"
5617 " a_pmat::a_pmat(a_intern const &)\n"
5618 " a_pmat::a_pmat(a_mat const &)\n", TCL_STATIC);
5633 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pmat_= self m ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5638 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5646 arg2 =
reinterpret_cast< a_mat *
>(argp2);
5647 result = (
a_pmat *) &(arg1)->operator =((
a_mat const &)*arg2);
5677 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pmat_intern self in ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5682 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5690 arg2 =
reinterpret_cast< a_intern *
>(argp2);
5691 (arg1)->intern((
a_intern const &)*arg2);
5710 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5728 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pmat_move self m ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5733 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5741 arg2 =
reinterpret_cast< a_pos *
>(argp2);
5742 (arg1)->move((
a_pos const &)*arg2);
5760 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pmat_project self p3d ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5765 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5773 arg2 =
reinterpret_cast< a_3dh *
>(argp2);
5774 result = ((
a_pmat const *)arg1)->project((
a_3dh const &)*arg2);
5793 arg1 =
reinterpret_cast< a_pmat *
>(argp1);
5848 arg1 =
reinterpret_cast< a_mat *
>(argp1);
5859 Tcl_Obj *CONST *argv = objv+1;
5874 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_pos'.\n"
5875 " Possible C/C++ prototypes are:\n"
5877 " a_pos::a_pos(a_mat const &)\n", TCL_STATIC);
5911 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_pos_translate self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5916 arg1 =
reinterpret_cast< a_pos *
>(argp1);
5921 arg2 =
static_cast< double >(val2);
5926 arg3 =
static_cast< double >(val3);
5931 arg4 =
static_cast< double >(val4);
5950 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_translate self t ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5955 arg1 =
reinterpret_cast< a_pos *
>(argp1);
5964 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
5977 Tcl_Obj *CONST *argv = objv+1;
6021 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_pos_translate'.\n"
6022 " Possible C/C++ prototypes are:\n"
6023 " a_pos::translate(double,double,double)\n"
6024 " a_pos::translate(a_point)\n", TCL_STATIC);
6039 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_rotateX self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6044 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6049 arg2 =
static_cast< double >(val2);
6068 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_rotateY self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6073 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6078 arg2 =
static_cast< double >(val2);
6097 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_rotateZ self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6102 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6107 arg2 =
static_cast< double >(val2);
6126 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_orient self dir ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6131 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6140 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
6161 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_pos_rotate self q ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6166 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6194 arg1 =
reinterpret_cast< a_pos *
>(argp1);
6247 arg1 =
static_cast< double >(val1);
6272 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:new_a_quaternion r i j k ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6277 arg1 =
static_cast< double >(val1);
6282 arg2 =
static_cast< double >(val2);
6287 arg3 =
static_cast< double >(val3);
6292 arg4 =
static_cast< double >(val4);
6327 Tcl_Obj *CONST *argv = objv+1;
6380 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_quaternion'.\n"
6381 " Possible C/C++ prototypes are:\n"
6382 " a_quaternion::a_quaternion()\n"
6383 " a_quaternion::a_quaternion(double)\n"
6384 " a_quaternion::a_quaternion(double,double,double,double)\n"
6385 " a_quaternion::a_quaternion(a_quaternion const &)\n", TCL_STATIC);
6483 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_r self r ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6493 arg2 =
static_cast< double >(val2);
6504 Tcl_Obj *CONST *argv = objv+1;
6531 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_r'.\n"
6532 " Possible C/C++ prototypes are:\n"
6533 " a_quaternion::r() const\n"
6534 " a_quaternion::r(double)\n", TCL_STATIC);
6548 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_i self i ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6558 arg2 =
static_cast< double >(val2);
6569 Tcl_Obj *CONST *argv = objv+1;
6596 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_i'.\n"
6597 " Possible C/C++ prototypes are:\n"
6598 " a_quaternion::i() const\n"
6599 " a_quaternion::i(double)\n", TCL_STATIC);
6613 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_j self j ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6623 arg2 =
static_cast< double >(val2);
6634 Tcl_Obj *CONST *argv = objv+1;
6661 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_j'.\n"
6662 " Possible C/C++ prototypes are:\n"
6663 " a_quaternion::j() const\n"
6664 " a_quaternion::j(double)\n", TCL_STATIC);
6678 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_k self k ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6688 arg2 =
static_cast< double >(val2);
6699 Tcl_Obj *CONST *argv = objv+1;
6726 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_k'.\n"
6727 " Possible C/C++ prototypes are:\n"
6728 " a_quaternion::k() const\n"
6729 " a_quaternion::k(double)\n", TCL_STATIC);
6783 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_quaternion_negate self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
6804 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_quaternion_conjugate self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
6825 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_quaternion_square self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
6846 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_quaternion_invert self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
6870 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_+ self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6884 result = (arg1)->
operator +((
a_quaternion const &)*arg2);
6902 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_- self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6916 result = (arg1)->
operator -((
a_quaternion const &)*arg2);
6934 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_* self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6944 arg2 =
static_cast< double >(val2);
6945 result = (arg1)->
operator *(arg2);
6963 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_/ self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6973 arg2 =
static_cast< double >(val2);
6974 result = (arg1)->
operator /(arg2);
6992 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_* self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7006 result = (arg1)->
operator *((
a_quaternion const &)*arg2);
7016 Tcl_Obj *CONST *argv = objv+1;
7048 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_*'.\n"
7049 " Possible C/C++ prototypes are:\n"
7050 " a_quaternion::operator *(double const)\n"
7051 " a_quaternion::operator *(a_quaternion const &)\n", TCL_STATIC);
7066 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_quaternion_/ self b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7080 result = (arg1)->
operator /((
a_quaternion const &)*arg2);
7090 Tcl_Obj *CONST *argv = objv+1;
7122 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_quaternion_/'.\n"
7123 " Possible C/C++ prototypes are:\n"
7124 " a_quaternion::operator /(double const)\n"
7125 " a_quaternion::operator /(a_quaternion const &)\n", TCL_STATIC);
7137 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_quaternion_print self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
7157 if (
SWIG_GetArgs(interp, objc, objv,
"o:delete_a_quaternion self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
7428 static swig_cast_info _swigc__p_a_base[] = { {&
_swigt__p_a_mat,
_p_a_matTo_p_a_base, 0, 0}, {&
_swigt__p_a_2dh,
_p_a_2dhTo_p_a_base, 0, 0}, {&
_swigt__p_a_base, 0, 0, 0}, {&
_swigt__p_a_mat_c,
_p_a_mat_cTo_p_a_base, 0, 0}, {&
_swigt__p_a_3dh,
_p_a_3dhTo_p_a_base, 0, 0}, {&
_swigt__p_a_intern,
_p_a_internTo_p_a_base, 0, 0}, {&
_swigt__p_a_pmat,
_p_a_pmatTo_p_a_base, 0, 0}, {&
_swigt__p_a_pos,
_p_a_posTo_p_a_base, 0, 0}, {&
_swigt__p_a_mat_base,
_p_a_mat_baseTo_p_a_base, 0, 0},{0, 0, 0, 0}};
7430 static swig_cast_info _swigc__p_a_mat[] = { {&
_swigt__p_a_mat, 0, 0, 0}, {&
_swigt__p_a_2dh,
_p_a_2dhTo_p_a_mat, 0, 0}, {&
_swigt__p_a_mat_c,
_p_a_mat_cTo_p_a_mat, 0, 0}, {&
_swigt__p_a_3dh,
_p_a_3dhTo_p_a_mat, 0, 0}, {&
_swigt__p_a_intern,
_p_a_internTo_p_a_mat, 0, 0}, {&
_swigt__p_a_pmat,
_p_a_pmatTo_p_a_mat, 0, 0}, {&
_swigt__p_a_pos,
_p_a_posTo_p_a_mat, 0, 0},{0, 0, 0, 0}};
7431 static swig_cast_info _swigc__p_a_mat_base[] = { {&
_swigt__p_a_mat,
_p_a_matTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_2dh,
_p_a_2dhTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_mat_c,
_p_a_mat_cTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_3dh,
_p_a_3dhTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_intern,
_p_a_internTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_pmat,
_p_a_pmatTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_pos,
_p_a_posTo_p_a_mat_base, 0, 0}, {&
_swigt__p_a_mat_base, 0, 0, 0},{0, 0, 0, 0}};
7432 static swig_cast_info _swigc__p_a_mat_c[] = { {&
_swigt__p_a_2dh,
_p_a_2dhTo_p_a_mat_c, 0, 0}, {&
_swigt__p_a_mat_c, 0, 0, 0}, {&
_swigt__p_a_3dh,
_p_a_3dhTo_p_a_mat_c, 0, 0},{0, 0, 0, 0}};
7514 #define SWIGRUNTIME_DEBUG
7550 }
while (iter!= module_head);
7561 if (init == 0)
return;
7564 #ifdef SWIGRUNTIME_DEBUG
7565 printf(
"SWIG_InitializeModule: size %lu\n", (
unsigned long)
swig_module.
size);
7572 #ifdef SWIGRUNTIME_DEBUG
7582 #ifdef SWIGRUNTIME_DEBUG
7583 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
7587 #ifdef SWIGRUNTIME_DEBUG
7588 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
7597 while (cast->
type) {
7600 #ifdef SWIGRUNTIME_DEBUG
7601 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
7605 #ifdef SWIGRUNTIME_DEBUG
7606 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
7611 #ifdef SWIGRUNTIME_DEBUG
7612 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
7619 #ifdef SWIGRUNTIME_DEBUG
7620 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
7622 if (!ocast) ret = 0;
7627 #ifdef SWIGRUNTIME_DEBUG
7628 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
7643 #ifdef SWIGRUNTIME_DEBUG
7644 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
7649 while (cast->
type) {
7650 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
7654 printf(
"---- Total casts: %d\n",j);
7656 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
7669 static int init_run = 0;
7671 if (init_run)
return;
7682 equiv = equiv->
next;
7716 for (i = 0; constants[i].
type; i++) {
7717 switch(constants[i].type) {
7722 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
7745 Tcl_InitHashTable(&(klass->
hashtable), TCL_STRING_KEYS);
7746 for (meth = klass->
methods; meth && meth->
name; ++meth) {
7748 Tcl_HashEntry* hashentry = Tcl_CreateHashEntry(&(klass->
hashtable), meth->name, &newEntry);
7749 Tcl_SetHashValue(hashentry, (ClientData)meth->method);
7765 if (interp == 0)
return TCL_ERROR;
7766 #ifdef USE_TCL_STUBS
7781 #ifdef SWIG_namespace
7782 Tcl_Eval(interp,
"namespace eval " SWIG_namespace
" { }");
7793 Tcl_SetVar(interp, (
char *)
swig_variables[i].name, (
char *)
"", TCL_GLOBAL_ONLY);
7794 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_READS | TCL_GLOBAL_ONLY,
7796 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_WRITES | TCL_GLOBAL_ONLY,
7805 printf(
"Points&forces a_mat module.\n");
static swig_type_info _swigt__p_UI
static swig_class * swig_a_mat_bases[]
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
static swig_var_info swig_variables[]
SWIGINTERN int _wrap_new_a_mat__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_Z__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_mat_c
SWIGINTERNINLINE Tcl_Obj * SWIG_From_std_string(const std::string &s)
SWIGINTERN int _wrap_a_mat_c_sumsq(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info * swig_types[16]
static swig_cast_info * swig_cast_initial[]
SWIGINTERN int _wrap_a_pos_orient(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_pmat__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_pos_bases[]
SWIGRUNTIME int SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_size(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_3dh_base_names[]
static void * _p_a_posTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_2dh_T__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_d___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN int _wrap_a_intern_v0__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_mat_base_attributes[]
SWIGINTERN int _wrap_a_3dh_T__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_MakePtr(c, ptr, ty, flags)
SWIGINTERN int _wrap_new_a_2dh__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_mat_c_bases[]
SWIGINTERN int _wrap_a_mat_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_base_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_mat__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_5(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_3dh[]
SWIGINTERN void SWIG_Tcl_InstallConstants(Tcl_Interp *interp, swig_const_info constants[])
SWIGINTERN int _wrap_delete_a_mat_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_pos
static swig_class * swig_a_pmat_bases[]
static swig_attribute swig_a_quaternion_attributes[]
#define SWIGTYPE_p_a_point2
static swig_const_info swig_constants[]
SWIGINTERN int _wrap_a_quaternion_r__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_T__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_pmat(void *obj)
#define SWIG_ConvertPtr(oc, ptr, ty, flags)
static void * _p_a_pmatTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_UI[]
#define SWIG_CheckState(r)
static swig_class * swig_a_mat_base_bases[]
static swig_attribute swig_a_mat_attributes[]
SWIGINTERN int _wrap_a_mat_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_Acquire(void *ptr)
SWIGINTERN int _wrap_new_a_quaternion(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_pmat_intern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_mat_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_norm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN std::string a_base_print(a_base *self)
SWIGINTERN int _wrap_delete_a_2dh(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_3dhTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
struct swig_instance swig_instance
SWIGINTERN void swig_delete_a_mat(void *obj)
SWIGINTERN int _wrap_a_intern_u0__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_internTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_method swig_a_pmat_methods[]
static swig_cast_info _swigc__p_double[]
SWIGINTERN int _wrap_a_pos_rotateY(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pmat_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_mat_c
SWIGINTERNINLINE void SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char *mesg)
SWIGINTERN void SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
static swig_class _wrap_class_a_3dh
struct swig_cast_info swig_cast_info
SWIGINTERN int _wrap_new_a_3dh__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewPackedObj(void *ptr, int sz, swig_type_info *type)
SWIGINTERN int _wrap_a_2dh_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_MethodCommand(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST _objv[])
SWIGINTERN int _wrap_a_quaternion_k__SWIG_0(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 void swig_delete_a_mat_base(void *obj)
SWIGINTERN int _wrap_new_a_3dh__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_internTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_method swig_a_2dh_methods[]
SWIGINTERN int _wrap_a_2dh_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_pmat(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_intern_attributes[]
SWIGINTERN int _wrap_a_mat_maxi(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
SWIGINTERN int _wrap_a_mat_base_classname(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_Y__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_3dh(void *obj)
SWIGINTERN int _wrap_a_quaternion_d_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_RuntimeError
SWIGINTERN int _wrap_a_intern_v0__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_v0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_base_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_pmatTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN std::string a_3dh_print(a_3dh *self)
static swig_command_info swig_commands[]
static void * _p_a_2dhTo_p_a_mat_c(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_delete_a_intern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_2dhTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_quaternion_k__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_X__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_base_small__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_T(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_m_____SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_3dhTo_p_a_mat_c(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_3dh_X__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int(* swig_wrapper_func)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST[])
SWIGINTERN const char * SWIG_Tcl_ErrorType(int code)
static void * _p_a_matTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGEXPORT int A_mat_SafeInit(Tcl_Interp *interp)
static void * _p_a_mat_cTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_class _wrap_class_a_quaternion
SWIGINTERN int _wrap_new_a_2dh(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_mat_base_methods[]
SWIGINTERN int _wrap_a_quaternion_negate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_base_methods[]
SWIGINTERN int _wrap_new_a_pos__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_intern
static swig_type_info _swigt__p_a_mat
SWIGINTERN int _wrap_a_mat_maxj(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_mat_cTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_new_a_mat__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_RUNTIME_VERSION
SWIGINTERN int _wrap_new_a_mat(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_m___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_mat_base[]
SWIGINTERN void SWIG_Tcl_SetErrorObj(Tcl_Interp *interp, const char *ctype, Tcl_Obj *obj)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static Tcl_HashTable swigconstTable
SWIGINTERN int _wrap_new_a_pmat__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_MethodCommand
SWIGINTERN int _wrap_a_pos_translate__SWIG_1(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,...)
SWIGINTERN std::string a_2dh_print(a_2dh *self)
SWIGINTERN int _wrap_new_a_intern__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_X__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_X__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_m_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_2dh__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_mat_methods[]
static swig_method swig_a_3dh_methods[]
SWIGINTERN int _wrap_a_3dh_Y__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_pos__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_stheta__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_2dh_bases[]
SWIGINTERN int _wrap_new_a_mat_c__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_conjugate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_exception_fail(code, msg)
SWIGINTERN int _wrap_a_3dh_set__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_base_small(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_u0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_intern_base_names[]
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static swig_cast_info _swigc__p_a_base[]
#define SWIG_AttributeError
static swig_cast_info _swigc__p_a_2dh[]
SWIGINTERN int _wrap_delete_a_quaternion(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_3dh
SWIGINTERN int _wrap_a_intern_s(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_module_info swig_module
static void * _p_a_2dhTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_base_small__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_mat_c
SWIGINTERN int _wrap_new_a_mat_c__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_mat_base
static swig_type_info _swigt__p_double
SWIGINTERN int _wrap_new_a_3dh__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_mat_c_methods[]
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN int _wrap_a_quaternion_i(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_quaternion_bases[]
SWIGINTERN int _wrap_a_quaternion_k(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_2dh__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
static swig_class _wrap_class_a_mat
SWIGINTERN int _wrap_a_3dh_Y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_point2
SWIGINTERN int _wrap_new_a_quaternion__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_sx__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGUNUSEDPARM(p)
SWIGINTERN int _wrap_a_2dh_T(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_class swig_class
#define SWIG_as_voidptr(a)
SWIGINTERN int _wrap_a_3dh_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_quaternion[]
SWIGINTERN int _wrap_a_mat_c_normalise(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_pos
SWIGINTERN int _wrap_new_a_2dh__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_base(void *obj)
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN int _wrap_a_pos_rotateX(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_pmatTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_a_posTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module)
SWIGINTERN int _wrap_delete_a_pos(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
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_pmat_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_quaternion__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_const_info swig_const_info
static swig_type_info _swigt__p_a_intern
static swig_attribute swig_a_mat_c_attributes[]
static swig_class * swig_a_intern_bases[]
SWIGINTERN int _wrap_new_a_3dh__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_Y__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_transpose(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pmat_parallel(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_2dh_attributes[]
SWIGINTERN int _wrap_a_quaternion_j__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_Thisown(void *ptr)
SWIGINTERN int _wrap_a_quaternion_i__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
SWIGINTERN int _wrap_a_intern_sy__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_set__SWIG_1(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)
#define SWIGTYPE_p_a_mat_base
static swig_type_info _swigt__p_a_point
SWIGINTERN void SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char *name, Tcl_Obj *obj)
static swig_type_info _swigt__p_a_2dh
static const char * swig_a_quaternion_base_names[]
static swig_class _wrap_class_a_2dh
static swig_method swig_a_pos_methods[]
SWIGINTERN void swig_delete_a_pos(void *obj)
SWIGINTERN int _wrap_a_3dh_y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_sub_matrix(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIMEINLINE Tcl_Obj * SWIG_Tcl_NewPointerObj(void *ptr, swig_type_info *type, int flags)
SWIGINTERN void swig_delete_a_intern(void *obj)
static swig_attribute swig_a_pos_attributes[]
static swig_cast_info _swigc__p_char[]
static swig_cast_info _swigc__p_a_point2[]
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
SWIGINTERN int _wrap_a_base_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_2dh__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_c_norm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_2dh(void *obj)
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGINTERN int _wrap_new_a_mat_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_r__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_Thisown(ptr)
SWIGINTERN int _wrap_a_intern_help(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_new_a_3dh(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_set__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_sx(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_a_mat_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_mat_base_names[]
static void * _p_a_matTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_intern_sy(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_3dhTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN std::string a_quaternion_print(a_quaternion *self)
SWIGRUNTIME Tcl_Obj * SWIG_Tcl_NewInstanceObj(Tcl_Interp *interp, void *thisvalue, swig_type_info *type, int flags)
SWIGINTERN int _wrap_delete_a_mat_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NullReferenceError
SWIGINTERN int _wrap_a_quaternion_j(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_quaternion(void *obj)
SWIGINTERN int _wrap_a_3dh_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pos_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pos_rotateZ(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_POINTER_DISOWN
struct swig_type_info swig_type_info
SWIGINTERN int _wrap_cross(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_quaternion
SWIGINTERN int _wrap_new_a_mat_c__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_Z(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_Z__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_intern[]
SWIGRUNTIME char * SWIG_Tcl_PointerTypeFromString(char *c)
SWIGINTERN int _wrap_new_a_quaternion__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_pmat[]
SWIGINTERN int _wrap_new_a_mat__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_3dh_attributes[]
SWIGINTERN int _wrap_a_pos_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_m___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_Disown(void *ptr)
SWIGINTERN int _wrap_a_intern_sy__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pos_translate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ObjectDelete
SWIGINTERN int _wrap_a_quaternion_a___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_point(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NewPackedObj(ptr, sz, type)
SWIGINTERN int _wrap_a_intern_stheta(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_mat_swapc(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_3dh(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_posTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_GetModule(clientdata)
static swig_method swig_a_intern_methods[]
SWIGINTERN int _wrap_a_mat_c_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_d_____SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_T__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static swig_cast_info _swigc__p_a_point[]
static swig_method swig_a_quaternion_methods[]
SWIGINTERN Tcl_Obj * SWIG_Tcl_GetConstantObj(const char *key)
static const char * swig_a_pmat_base_names[]
SWIGINTERN int _wrap_a_pmat_project(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_point
SWIGINTERN int _wrap_new_a_mat__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERNINLINE Tcl_Obj * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
static swig_type_info _swigt__p_a_quaternion
static const char * swig_a_mat_base_base_names[]
static const char * swig_a_mat_c_base_names[]
SWIGINTERN int _wrap_a_2dh_X(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_intern_sx__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_base_classname(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_base
static const char * swig_a_base_base_names[]
SWIGRUNTIME swig_module_info * SWIG_Tcl_GetModule(Tcl_Interp *interp)
struct swig_module_info swig_module_info
static swig_class _wrap_class_a_base
SWIGINTERN int _wrap_new_a_pmat__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_Acquire(ptr)
SWIGRUNTIME void SWIG_Tcl_ObjectDelete(ClientData clientData)
SWIGINTERN int _wrap_a_quaternion_square(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TCL_HASHTABLE_INIT
SWIGINTERN int _wrap_a_2dh_point2(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)
static swig_cast_info _swigc__p_a_mat[]
SWIGINTERN int _wrap_a_intern_stheta__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_intern
#define SWIG_ObjectConstructor
static swig_type_info _swigt__p_a_base
#define SWIG_NewInstanceObj(thisvalue, type, flags)
SWIGINTERN int _wrap_a_3dh_Y__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_invert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_3dh_bases[]
static swig_type_info * swig_type_initial[]
SWIGINTERN int _wrap_a_2dh_Y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_2dhTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_a_2dh_base_names[]
static void * _p_a_3dhTo_p_a_mat_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static int swigconstTableinit
struct swig_attribute swig_attribute
static void * _p_a_mat_cTo_p_a_mat(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_a_pos_base_names[]
SWIGINTERN int _wrap_new_a_pos(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
void(* swig_delete_func)(ClientData)
SWIGRUNTIME Tcl_HashTable * SWIG_Tcl_ObjectTable(void)
SWIGINTERN int _wrap_a_mat_swapr(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_ConvertPtrFromString(Tcl_Interp *interp, const char *c, void **ptr, swig_type_info *ty, int flags)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
SWIGINTERN int _wrap_delete_a_mat(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_mat_c[]
static swig_class _wrap_class_a_mat_base
SWIGINTERN int _wrap_a_2dh_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_pos_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_pmat_attributes[]
SWIGINTERN int _wrap_a_pmat_move(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_pmat
SWIGINTERN void swig_delete_a_mat_c(void *obj)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
#define SWIG_DivisionByZero
SWIGINTERN int _wrap_a_quaternion_j__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_pmat(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_double
static void * _p_a_mat_baseTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_type_info _swigt__p_char
struct swig_method swig_method
#define SWIG_TCL_DECL_ARGS_2(arg1, arg2)
SWIGINTERN int _wrap_new_a_intern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_i__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_OverflowError
static swig_type_info _swigt__p_a_pmat
SWIGINTERN int _wrap_new_a_intern__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
int(* swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST[])
SWIGINTERN int _wrap_a_3dh_X(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_mat_c__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_MakePtr(char *c, void *ptr, swig_type_info *ty, int SWIGUNUSEDPARM(flags))
struct swig_type_info *(* swig_dycast_func)(void **)
SWIGINTERN int _wrap_a_3dh_z(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TCL_CALL_ARGS_2(arg1, arg2)
SWIGINTERN int _wrap_a_3dh_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_base_bases[]
SWIGINTERN void SWIG_Tcl_InstallMethodLookupTables(void)
#define SWIG_TCL_STUBS_VERSION
SWIGINTERN int _wrap_a_quaternion_abs(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_2dh_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_quaternion_r(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_internTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
static swig_class _wrap_class_a_pmat
static swig_attribute swig_a_base_attributes[]
SWIGINTERN int _wrap_a_mat_d___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_quaternion__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_intern_u0__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_pos[]
#define SWIGRUNTIMEINLINE
a_point cross(const a_point &a, const a_point &b)
an homogeneous 2d matrix class
static const std::string help()
an homogeneous 3d matrix class
static const std::string help()
static const std::string help()
intern calibration matrix
static const std::string help()
static const std::string help()
static const std::string help()
a_pos & rotateY(double v)
static const std::string help()
a_pos & orient(a_point dir)
a_pos & translate(double x, double y, double z)
a_pos & rotateX(double v)
a_pos & rotate(const a_quaternion &q)
a_pos & rotateZ(double v)
a_quaternion & conjugate()
struct swig_cast_info * prev
struct swig_cast_info * next
swig_converter_func converter
struct swig_class ** bases
swig_module_info * module
void(* destructor)(void *)
swig_attribute * attributes
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
struct swig_cast_info * cast