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_a_3dh swig_types[0]
1652 #define SWIGTYPE_p_a_base swig_types[1]
1653 #define SWIGTYPE_p_a_circle swig_types[2]
1654 #define SWIGTYPE_p_a_coord swig_types[3]
1655 #define SWIGTYPE_p_a_geom_base swig_types[4]
1656 #define SWIGTYPE_p_a_mat swig_types[5]
1657 #define SWIGTYPE_p_a_plane swig_types[6]
1658 #define SWIGTYPE_p_a_point swig_types[7]
1659 #define SWIGTYPE_p_a_point2 swig_types[8]
1660 #define SWIGTYPE_p_a_segment swig_types[9]
1661 #define SWIGTYPE_p_a_segment__denomin_error swig_types[10]
1662 #define SWIGTYPE_p_a_tetrahedron swig_types[11]
1663 #define SWIGTYPE_p_a_triangle swig_types[12]
1664 #define SWIGTYPE_p_char swig_types[13]
1665 #define SWIGTYPE_p_double swig_types[14]
1666 #define SWIGTYPE_p_std__istream swig_types[15]
1667 #define SWIGTYPE_p_std__ostream swig_types[16]
1670 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1671 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1675 #define SWIG_init A_geom_Init
1676 #define SWIG_name "a_geom"
1677 #define SWIG_prefix ""
1678 #define SWIG_version "0.0"
1680 #define SWIGVERSION 0x040002
1681 #define SWIG_VERSION SWIGVERSION
1684 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
1685 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
1688 #include <stdexcept>
1707 #ifndef SWIG_TCL_STUBS_VERSION
1708 #define SWIG_TCL_STUBS_VERSION "8.1"
1722 #if !defined(SWIG_NO_LLONG_MAX)
1723 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1724 # define LLONG_MAX __LONG_LONG_MAX__
1725 # define LLONG_MIN (-LLONG_MAX - 1LL)
1726 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1734 return (size < INT_MAX) ? Tcl_NewStringObj(carray,
static_cast< int >(size)) : NULL;
1749 if (Tcl_GetDoubleFromObj(0, obj, &v) == TCL_OK) {
1757 #define SWIG_From_double Tcl_NewDoubleObj
1760 std::ostringstream out;
1768 std::ostringstream out;
1777 double r2d(
const double r) {
return r*45./atan(1.);}
1778 double d2r(
const double d) {
return d/45.*atan(1.);}
1785 #define SWIG_From_bool Tcl_NewBooleanObj
1792 char *cstr = Tcl_GetStringFromObj(obj, &len);
1794 if (cptr) *cptr = cstr;
1795 if (psize) *psize = len + 1;
1809 if (
val) *
val =
new std::string(
buf, size - 1);
1817 static int init = 0;
1834 std::ostringstream o;
1836 std::istringstream in(o.str().c_str());
1847 std::ostringstream out;
1857 std::ostringstream o;
1859 std::istringstream in(o.str().c_str());
1875 std::ostringstream out;
1887 if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
1888 if (
val) *
val = (long) v;
1901 if ((v < INT_MIN || v > INT_MAX)) {
1904 if (
val) *
val =
static_cast< int >(v);
1931 arg1 =
reinterpret_cast< a_base *
>(argp1);
1932 result = (arg1)->classname();
1962 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_base_small self tol ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
1967 arg1 =
reinterpret_cast< a_base *
>(argp1);
1972 arg2 =
static_cast< double >(val2);
1973 (arg1)->small(arg2);
1993 arg1 =
reinterpret_cast< a_base *
>(argp1);
1994 result = (double)((
a_base const *)arg1)->small();
2004 Tcl_Obj *CONST *argv = objv+1;
2031 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_base_small'.\n"
2032 " Possible C/C++ prototypes are:\n"
2033 " a_base::small(double)\n"
2034 " a_base::small() const\n", TCL_STATIC);
2051 arg1 =
reinterpret_cast< a_base *
>(argp1);
2084 arg1 =
reinterpret_cast< a_base *
>(argp1);
2138 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;
2143 arg1 =
static_cast< double >(val1);
2148 arg2 =
static_cast< double >(val2);
2153 arg3 =
static_cast< double >(val3);
2158 arg4 =
static_cast< double >(val4);
2159 result = (
a_3dh *)
new a_3dh(arg1,arg2,arg3,arg4);
2180 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_3dh x y z ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2185 arg1 =
static_cast< double >(val1);
2190 arg2 =
static_cast< double >(val2);
2195 arg3 =
static_cast< double >(val3);
2206 double *arg1 = (
double *) 0 ;
2216 arg1 =
reinterpret_cast< double *
>(argp1);
2232 if (
SWIG_GetArgs(interp, objc, objv,
"o:new_a_3dh a_point const & ",(
void *)0) == TCL_ERROR)
SWIG_fail;
2240 arg1 =
reinterpret_cast< a_point *
>(argp1);
2264 arg1 =
reinterpret_cast< a_mat *
>(argp1);
2275 Tcl_Obj *CONST *argv = objv+1;
2358 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_3dh'.\n"
2359 " Possible C/C++ prototypes are:\n"
2361 " a_3dh::a_3dh(double,double,double,double)\n"
2362 " a_3dh::a_3dh(double,double,double)\n"
2363 " a_3dh::a_3dh(double *)\n"
2364 " a_3dh::a_3dh(a_point const &)\n"
2365 " a_3dh::a_3dh(a_mat const &)\n", TCL_STATIC);
2392 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_X self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2397 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2402 arg2 =
static_cast< double >(val2);
2420 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_Y self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2425 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2430 arg2 =
static_cast< double >(val2);
2448 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_Z self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2453 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2458 arg2 =
static_cast< double >(val2);
2476 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_T self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2481 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2486 arg2 =
static_cast< double >(val2);
2507 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2508 result = (double)((
a_3dh const *)arg1)->X();
2518 Tcl_Obj *CONST *argv = objv+1;
2545 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_X'.\n"
2546 " Possible C/C++ prototypes are:\n"
2547 " a_3dh::X(double)\n"
2548 " a_3dh::X() const\n", TCL_STATIC);
2565 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2566 result = (double)((
a_3dh const *)arg1)->Y();
2576 Tcl_Obj *CONST *argv = objv+1;
2603 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_Y'.\n"
2604 " Possible C/C++ prototypes are:\n"
2605 " a_3dh::Y(double)\n"
2606 " a_3dh::Y() const\n", TCL_STATIC);
2623 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2624 result = (double)((
a_3dh const *)arg1)->Z();
2634 Tcl_Obj *CONST *argv = objv+1;
2661 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_Z'.\n"
2662 " Possible C/C++ prototypes are:\n"
2663 " a_3dh::Z(double)\n"
2664 " a_3dh::Z() const\n", TCL_STATIC);
2681 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2682 result = (double)((
a_3dh const *)arg1)->T();
2692 Tcl_Obj *CONST *argv = objv+1;
2719 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_T'.\n"
2720 " Possible C/C++ prototypes are:\n"
2721 " a_3dh::T(double)\n"
2722 " a_3dh::T() const\n", TCL_STATIC);
2739 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2740 result = (double)((
a_3dh const *)arg1)->x();
2760 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2761 result = (double)((
a_3dh const *)arg1)->y();
2781 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2782 result = (double)((
a_3dh const *)arg1)->z();
2808 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;
2813 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2818 arg2 =
static_cast< double >(val2);
2823 arg3 =
static_cast< double >(val3);
2828 arg4 =
static_cast< double >(val4);
2833 arg5 =
static_cast< double >(val5);
2834 (arg1)->set(arg2,arg3,arg4,arg5);
2857 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;
2862 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2867 arg2 =
static_cast< double >(val2);
2872 arg3 =
static_cast< double >(val3);
2877 arg4 =
static_cast< double >(val4);
2878 (arg1)->set(arg2,arg3,arg4);
2889 double *arg2 = (
double *) 0 ;
2895 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_set self x ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2900 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2905 arg2 =
reinterpret_cast< double *
>(argp2);
2923 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_3dh_set self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
2928 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
2936 arg2 =
reinterpret_cast< a_point *
>(argp2);
2937 (arg1)->set((
a_point const &)*arg2);
2947 Tcl_Obj *CONST *argv = objv+1;
3038 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_3dh_set'.\n"
3039 " Possible C/C++ prototypes are:\n"
3040 " a_3dh::set(double,double,double,double)\n"
3041 " a_3dh::set(double,double,double)\n"
3042 " a_3dh::set(double *)\n"
3043 " a_3dh::set(a_point const &)\n", TCL_STATIC);
3060 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
3061 result = ((
a_3dh const *)arg1)->point();
3081 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
3101 arg1 =
reinterpret_cast< a_3dh *
>(argp1);
3145 arg1 =
static_cast< double >(val1);
3146 result = (double)
r2d(arg1);
3166 arg1 =
static_cast< double >(val1);
3167 result = (double)
d2r(arg1);
3182 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_geom_base_classname self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
3188 result = (arg1)->classname();
3228 if (
SWIG_GetArgs(interp, objc, objv,
"o:delete_a_geom_base self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
3274 arg1 =
reinterpret_cast< a_point *
>(argp1);
3282 arg2 =
reinterpret_cast< a_point *
>(argp2);
3304 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:circle_centre a_point const & a_point const & a_point const & ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3312 arg1 =
reinterpret_cast< a_point *
>(argp1);
3320 arg2 =
reinterpret_cast< a_point *
>(argp2);
3328 arg3 =
reinterpret_cast< a_point *
>(argp3);
3363 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_point x y z ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3368 arg1 =
static_cast< double >(val1);
3373 arg2 =
static_cast< double >(val2);
3378 arg3 =
static_cast< double >(val3);
3399 arg1 =
reinterpret_cast< double *
>(argp1);
3423 arg1 =
reinterpret_cast< a_point *
>(argp1);
3457 arg1 =
reinterpret_cast< a_point *
>(argp1);
3458 result = (double)((
a_point const *)arg1)->x();
3478 arg1 =
reinterpret_cast< a_point *
>(argp1);
3479 result = (double)((
a_point const *)arg1)->y();
3499 arg1 =
reinterpret_cast< a_point *
>(argp1);
3500 result = (double)((
a_point const *)arg1)->z();
3517 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_x self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3522 arg1 =
reinterpret_cast< a_point *
>(argp1);
3527 arg2 =
static_cast< double >(val2);
3538 Tcl_Obj *CONST *argv = objv+1;
3565 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point_x'.\n"
3566 " Possible C/C++ prototypes are:\n"
3567 " a_point::x() const\n"
3568 " a_point::x(double)\n", TCL_STATIC);
3582 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_y self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3587 arg1 =
reinterpret_cast< a_point *
>(argp1);
3592 arg2 =
static_cast< double >(val2);
3603 Tcl_Obj *CONST *argv = objv+1;
3630 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point_y'.\n"
3631 " Possible C/C++ prototypes are:\n"
3632 " a_point::y() const\n"
3633 " a_point::y(double)\n", TCL_STATIC);
3647 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_z self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3652 arg1 =
reinterpret_cast< a_point *
>(argp1);
3657 arg2 =
static_cast< double >(val2);
3668 Tcl_Obj *CONST *argv = objv+1;
3695 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point_z'.\n"
3696 " Possible C/C++ prototypes are:\n"
3697 " a_point::z() const\n"
3698 " a_point::z(double)\n", TCL_STATIC);
3718 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_point_set self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3723 arg1 =
reinterpret_cast< a_point *
>(argp1);
3728 arg2 =
static_cast< double >(val2);
3733 arg3 =
static_cast< double >(val3);
3738 arg4 =
static_cast< double >(val4);
3739 (arg1)->set(arg2,arg3,arg4);
3762 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_point_set_cylindrical self r a h ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3767 arg1 =
reinterpret_cast< a_point *
>(argp1);
3772 arg2 =
static_cast< double >(val2);
3777 arg3 =
static_cast< double >(val3);
3782 arg4 =
static_cast< double >(val4);
3783 (arg1)->set_cylindrical(arg2,arg3,arg4);
3806 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_point_set_spherical self r th ph ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3811 arg1 =
reinterpret_cast< a_point *
>(argp1);
3816 arg2 =
static_cast< double >(val2);
3821 arg3 =
static_cast< double >(val3);
3826 arg4 =
static_cast< double >(val4);
3827 (arg1)->set_spherical(arg2,arg3,arg4);
3851 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_point_translate self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3856 arg1 =
reinterpret_cast< a_point *
>(argp1);
3861 arg2 =
static_cast< double >(val2);
3866 arg3 =
static_cast< double >(val3);
3871 arg4 =
static_cast< double >(val4);
3896 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_point_rotate self x_axis y_axis z_axis ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3901 arg1 =
reinterpret_cast< a_point *
>(argp1);
3909 arg2 =
reinterpret_cast< a_point *
>(argp2);
3917 arg3 =
reinterpret_cast< a_point *
>(argp3);
3925 arg4 =
reinterpret_cast< a_point *
>(argp4);
3947 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_point_rotate self axis angle ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
3952 arg1 =
reinterpret_cast< a_point *
>(argp1);
3960 arg2 =
reinterpret_cast< a_point *
>(argp2);
3965 arg3 =
static_cast< double >(val3);
3976 Tcl_Obj *CONST *argv = objv+1;
4023 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point_rotate'.\n"
4024 " Possible C/C++ prototypes are:\n"
4025 " a_point::rotate(a_point const &,a_point const &,a_point const &)\n"
4026 " a_point::rotate(a_point const &,double const)\n", TCL_STATIC);
4041 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_equals self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4046 arg1 =
reinterpret_cast< a_point *
>(argp1);
4054 arg2 =
reinterpret_cast< a_point *
>(argp2);
4055 result = (bool)(arg1)->operator ==((
a_point const &)*arg2);
4056 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
4073 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_add self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4078 arg1 =
reinterpret_cast< a_point *
>(argp1);
4086 arg2 =
reinterpret_cast< a_point *
>(argp2);
4087 result = (
a_point *) &(arg1)->operator +=((
a_point const &)*arg2);
4105 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_subtract self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4110 arg1 =
reinterpret_cast< a_point *
>(argp1);
4118 arg2 =
reinterpret_cast< a_point *
>(argp2);
4119 result = (
a_point *) &(arg1)->operator -=((
a_point const &)*arg2);
4137 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_+ self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4142 arg1 =
reinterpret_cast< a_point *
>(argp1);
4150 arg2 =
reinterpret_cast< a_point *
>(argp2);
4151 result = (arg1)->
operator +((
a_point const &)*arg2);
4169 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_- self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4174 arg1 =
reinterpret_cast< a_point *
>(argp1);
4182 arg2 =
reinterpret_cast< a_point *
>(argp2);
4183 result = (arg1)->
operator -((
a_point const &)*arg2);
4201 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_* self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4206 arg1 =
reinterpret_cast< a_point *
>(argp1);
4214 arg2 =
reinterpret_cast< a_point *
>(argp2);
4215 result = (double)(arg1)->operator *((
a_point const &)*arg2);
4233 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_cross self a_point const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4238 arg1 =
reinterpret_cast< a_point *
>(argp1);
4246 arg2 =
reinterpret_cast< a_point *
>(argp2);
4267 arg1 =
reinterpret_cast< a_point *
>(argp1);
4268 result = (double)((
a_point const *)arg1)->sumsq();
4288 arg1 =
reinterpret_cast< a_point *
>(argp1);
4289 result = (double)((
a_point const *)arg1)->norm();
4309 arg1 =
reinterpret_cast< a_point *
>(argp1);
4310 result = (double)((
a_point const *)arg1)->norm1();
4330 arg1 =
reinterpret_cast< a_point *
>(argp1);
4331 result = (double)((
a_point const *)arg1)->norm2();
4351 arg1 =
reinterpret_cast< a_point *
>(argp1);
4352 result = (double)((
a_point const *)arg1)->normI();
4370 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_dist self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4375 arg1 =
reinterpret_cast< a_point *
>(argp1);
4383 arg2 =
reinterpret_cast< a_point *
>(argp2);
4404 arg1 =
reinterpret_cast< a_point *
>(argp1);
4425 arg1 =
reinterpret_cast< a_point *
>(argp1);
4441 std::string *ptr = (std::string *)0;
4459 Tcl_Obj *CONST *argv = objv+1;
4513 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_point'.\n"
4514 " Possible C/C++ prototypes are:\n"
4515 " a_point::a_point()\n"
4516 " a_point::a_point(double,double,double)\n"
4517 " a_point::a_point(double const [3])\n"
4518 " a_point::a_point(a_point const &)\n"
4519 " a_point::a_point(std::string const)\n", TCL_STATIC);
4536 arg1 =
reinterpret_cast< a_point *
>(argp1);
4555 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_multiply self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4560 arg1 =
reinterpret_cast< a_point *
>(argp1);
4565 arg2 =
static_cast< double >(val2);
4584 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point_divide self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4589 arg1 =
reinterpret_cast< a_point *
>(argp1);
4594 arg2 =
static_cast< double >(val2);
4614 arg1 =
reinterpret_cast< a_point *
>(argp1);
4680 arg1 =
reinterpret_cast< a_point *
>(argp1);
4688 arg2 =
reinterpret_cast< a_point *
>(argp2);
4716 arg1 = *(
reinterpret_cast< a_point *
>(argp1));
4727 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
4730 result = (double)
angle(arg1,arg2);
4751 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:average a b f ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4759 arg1 =
reinterpret_cast< a_point *
>(argp1);
4767 arg2 =
reinterpret_cast< a_point *
>(argp2);
4772 arg3 =
static_cast< double >(val3);
4799 arg1 =
reinterpret_cast< a_point *
>(argp1);
4807 arg2 =
reinterpret_cast< a_point *
>(argp2);
4839 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_point2 x y ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4844 arg1 =
static_cast< double >(val1);
4849 arg2 =
static_cast< double >(val2);
4870 arg1 =
reinterpret_cast< double *
>(argp1);
4894 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
4928 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
4929 result = (double)((
a_point2 const *)arg1)->x();
4949 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
4950 result = (double)((
a_point2 const *)arg1)->y();
4967 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_x self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
4972 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
4977 arg2 =
static_cast< double >(val2);
4988 Tcl_Obj *CONST *argv = objv+1;
5015 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point2_x'.\n"
5016 " Possible C/C++ prototypes are:\n"
5017 " a_point2::x() const\n"
5018 " a_point2::x(double)\n", TCL_STATIC);
5032 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_y self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5037 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5042 arg2 =
static_cast< double >(val2);
5053 Tcl_Obj *CONST *argv = objv+1;
5080 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point2_y'.\n"
5081 " Possible C/C++ prototypes are:\n"
5082 " a_point2::y() const\n"
5083 " a_point2::y(double)\n", TCL_STATIC);
5100 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_point2_set self x y ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5105 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5110 arg2 =
static_cast< double >(val2);
5115 arg3 =
static_cast< double >(val3);
5116 (arg1)->set(arg2,arg3);
5133 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_set self x ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5138 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5143 arg2 =
reinterpret_cast< double *
>(argp2);
5154 Tcl_Obj *CONST *argv = objv+1;
5192 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_point2_set'.\n"
5193 " Possible C/C++ prototypes are:\n"
5194 " a_point2::set(double,double)\n"
5195 " a_point2::set(double [2])\n", TCL_STATIC);
5213 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_point2_translate self x y ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5218 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5223 arg2 =
static_cast< double >(val2);
5228 arg3 =
static_cast< double >(val3);
5247 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_rotate self angle ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5252 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5257 arg2 =
static_cast< double >(val2);
5276 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_equals self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5281 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5289 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5290 result = (bool)(arg1)->operator ==((
a_point2 const &)*arg2);
5291 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
5308 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_= self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5313 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5321 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5342 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5343 result = (arg1)->
operator -();
5361 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_add self a_point2 const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5366 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5374 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5393 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_subtract self a_point2 const & ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5398 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5406 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5427 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5428 result = (double)((
a_point2 const *)arg1)->sumsq();
5448 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5449 result = (double)((
a_point2 const *)arg1)->norm();
5467 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_dist self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5472 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5480 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5496 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_point2_normalise self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
5501 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5517 std::string *ptr = (std::string *)0;
5535 Tcl_Obj *CONST *argv = objv+1;
5583 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_point2'.\n"
5584 " Possible C/C++ prototypes are:\n"
5585 " a_point2::a_point2()\n"
5586 " a_point2::a_point2(double,double)\n"
5587 " a_point2::a_point2(double const [2])\n"
5588 " a_point2::a_point2(a_point2 const &)\n"
5589 " a_point2::a_point2(std::string const)\n", TCL_STATIC);
5606 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5625 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_multiply self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5630 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5635 arg2 =
static_cast< double >(val2);
5654 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_point2_divide self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5659 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5664 arg2 =
static_cast< double >(val2);
5684 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5741 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5749 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5760 Tcl_Obj *CONST *argv = objv+1;
5791 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'dist'.\n"
5792 " Possible C/C++ prototypes are:\n"
5793 " dist(a_point const &,a_point const &)\n"
5794 " dist(a_point2 const &,a_point2 const &)\n", TCL_STATIC);
5817 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5825 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5836 Tcl_Obj *CONST *argv = objv+1;
5867 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'angle'.\n"
5868 " Possible C/C++ prototypes are:\n"
5869 " angle(a_point,a_point)\n"
5870 " angle(a_point2 const &,a_point2 const &)\n", TCL_STATIC);
5888 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:average a b f ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
5896 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5904 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5909 arg3 =
static_cast< double >(val3);
5936 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
5944 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
5955 Tcl_Obj *CONST *argv = objv+1;
6026 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'average'.\n"
6027 " Possible C/C++ prototypes are:\n"
6028 " average(a_point const &,a_point const &,double)\n"
6029 " average(a_point const &,a_point const &)\n"
6030 " average(a_point2 const &,a_point2 const &,double)\n"
6031 " average(a_point2 const &,a_point2 const &)\n", TCL_STATIC);
6049 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:average_rot a b f ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6057 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
6065 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
6070 arg3 =
static_cast< double >(val3);
6089 if (
SWIG_GetArgs(interp, objc, objv,
"oo:average_rot a b ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6097 arg1 =
reinterpret_cast< a_point2 *
>(argp1);
6105 arg2 =
reinterpret_cast< a_point2 *
>(argp2);
6116 Tcl_Obj *CONST *argv = objv+1;
6153 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'average_rot'.\n"
6154 " Possible C/C++ prototypes are:\n"
6155 " average_rot(a_point2 const &,a_point2 const &,double)\n"
6156 " average_rot(a_point2 const &,a_point2 const &)\n", TCL_STATIC);
6188 if (
SWIG_GetArgs(interp, objc, objv,
"oo:new_a_segment p1 p2 ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6197 arg1 = *(
reinterpret_cast< a_point *
>(argp1));
6208 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
6238 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6253 Tcl_Obj *CONST *argv = objv+1;
6282 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_segment'.\n"
6283 " Possible C/C++ prototypes are:\n"
6284 " a_segment::a_segment()\n"
6285 " a_segment::a_segment(a_point const,a_point const)\n"
6286 " a_segment::a_segment(a_segment const &)\n", TCL_STATIC);
6320 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6322 result = ((
a_segment const *)arg1)->p1();
6345 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6347 result = ((
a_segment const *)arg1)->p2();
6370 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6372 result = ((
a_segment const *)arg1)->vec();
6395 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6397 result = ((
a_segment const *)arg1)->dir();
6420 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6422 result = ((
a_segment const *)arg1)->c();
6442 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_p1 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6447 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6456 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
6473 Tcl_Obj *CONST *argv = objv+1;
6499 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_segment_p1'.\n"
6500 " Possible C/C++ prototypes are:\n"
6501 " a_segment::p1() const\n"
6502 " a_segment::p1(a_point const)\n", TCL_STATIC);
6516 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_p2 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6521 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6530 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
6547 Tcl_Obj *CONST *argv = objv+1;
6573 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_segment_p2'.\n"
6574 " Possible C/C++ prototypes are:\n"
6575 " a_segment::p2() const\n"
6576 " a_segment::p2(a_point const)\n", TCL_STATIC);
6597 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_segment_translate self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6602 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6607 arg2 =
static_cast< double >(val2);
6612 arg3 =
static_cast< double >(val3);
6617 arg4 =
static_cast< double >(val4);
6646 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_segment_rotate self x_axis y_axis z_axis ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6651 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6659 arg2 =
reinterpret_cast< a_point *
>(argp2);
6667 arg3 =
reinterpret_cast< a_point *
>(argp3);
6675 arg4 =
reinterpret_cast< a_point *
>(argp4);
6698 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_equals self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6703 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6711 arg2 =
reinterpret_cast< a_segment *
>(argp2);
6713 result = (bool)(arg1)->operator ==((
a_segment const &)*arg2);
6717 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
6734 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_= self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6739 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6747 arg2 =
reinterpret_cast< a_segment *
>(argp2);
6772 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6774 result = (double)((
a_segment const *)arg1)->length();
6795 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_project self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6800 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6809 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
6813 result = (double)((
a_segment const *)arg1)->project(arg2);
6834 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_closestl self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6839 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6847 arg2 =
reinterpret_cast< a_point *
>(argp2);
6870 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_closest self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6875 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6883 arg2 =
reinterpret_cast< a_point *
>(argp2);
6906 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_distl self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6911 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6919 arg2 =
reinterpret_cast< a_point *
>(argp2);
6942 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_dist self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6947 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6955 arg2 =
reinterpret_cast< a_point *
>(argp2);
6986 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_intersect self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
6991 arg1 =
reinterpret_cast< a_segment *
>(argp1);
6999 arg2 =
reinterpret_cast< a_segment *
>(argp2);
7007 Tcl_ListObjAppendElement(interp,Tcl_GetObjResult(interp),
SWIG_From_double((*arg3)));
7013 Tcl_ListObjAppendElement(interp,Tcl_GetObjResult(interp),
SWIG_From_double((*arg4)));
7042 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_shortest self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7047 arg1 =
reinterpret_cast< a_segment *
>(argp1);
7055 arg2 =
reinterpret_cast< a_segment *
>(argp2);
7063 Tcl_ListObjAppendElement(interp,Tcl_GetObjResult(interp),
SWIG_From_double((*arg3)));
7069 Tcl_ListObjAppendElement(interp,Tcl_GetObjResult(interp),
SWIG_From_double((*arg4)));
7090 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_distl self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7095 arg1 =
reinterpret_cast< a_segment *
>(argp1);
7103 arg2 =
reinterpret_cast< a_segment *
>(argp2);
7118 Tcl_Obj *CONST *argv = objv+1;
7149 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_segment_distl'.\n"
7150 " Possible C/C++ prototypes are:\n"
7151 " a_segment::distl(a_point const &) const\n"
7152 " a_segment::distl(a_segment const &) const\n", TCL_STATIC);
7167 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_segment_dist self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7172 arg1 =
reinterpret_cast< a_segment *
>(argp1);
7180 arg2 =
reinterpret_cast< a_segment *
>(argp2);
7195 Tcl_Obj *CONST *argv = objv+1;
7226 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_segment_dist'.\n"
7227 " Possible C/C++ prototypes are:\n"
7228 " a_segment::dist(a_point const &) const\n"
7229 " a_segment::dist(a_segment const &) const\n", TCL_STATIC);
7245 arg1 =
reinterpret_cast< a_segment *
>(argp1);
7297 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_plane p1 p2 p3 ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7305 arg1 =
reinterpret_cast< a_point *
>(argp1);
7313 arg2 =
reinterpret_cast< a_point *
>(argp2);
7321 arg3 =
reinterpret_cast< a_point *
>(argp3);
7363 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7365 result = ((
a_plane const *)arg1)->n();
7388 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7390 result = (double)((
a_plane const *)arg1)->d0();
7410 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_d0 self d ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7415 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7420 arg2 =
static_cast< double >(val2);
7435 Tcl_Obj *CONST *argv = objv+1;
7462 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_plane_d0'.\n"
7463 " Possible C/C++ prototypes are:\n"
7464 " a_plane::d0() const\n"
7465 " a_plane::d0(double const)\n", TCL_STATIC);
7482 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7484 result = ((
a_plane const *)arg1)->p0();
7505 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_dist self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7510 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7518 arg2 =
reinterpret_cast< a_point *
>(argp2);
7541 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_closest self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7546 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7554 arg2 =
reinterpret_cast< a_point *
>(argp2);
7556 result = ((
a_plane const *)arg1)->closest((
a_point const &)*arg2);
7577 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_intersect self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7582 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7590 arg2 =
reinterpret_cast< a_segment *
>(argp2);
7613 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_intersect self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7618 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7626 arg2 =
reinterpret_cast< a_plane *
>(argp2);
7641 Tcl_Obj *CONST *argv = objv+1;
7672 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_plane_intersect'.\n"
7673 " Possible C/C++ prototypes are:\n"
7674 " a_plane::intersect(a_segment const &) const\n"
7675 " a_plane::intersect(a_plane const &) const\n", TCL_STATIC);
7690 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_contains self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7695 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7703 arg2 =
reinterpret_cast< a_point *
>(argp2);
7705 result = (bool)((
a_plane const *)arg1)->contains((
a_point const &)*arg2);
7709 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
7725 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_plane_move self c ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7730 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7739 arg2 = *(
reinterpret_cast< a_coord *
>(argp2));
7766 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7790 arg1 =
reinterpret_cast< a_plane *
>(argp1);
7837 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:new_a_tetrahedron p1 p2 p3 p4 ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
7845 arg1 =
reinterpret_cast< a_point *
>(argp1);
7853 arg2 =
reinterpret_cast< a_point *
>(argp2);
7861 arg3 =
reinterpret_cast< a_point *
>(argp3);
7869 arg4 =
reinterpret_cast< a_point *
>(argp4);
7912 Tcl_Obj *CONST *argv = objv+1;
7948 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_tetrahedron'.\n"
7949 " Possible C/C++ prototypes are:\n"
7950 " a_tetrahedron::a_tetrahedron(a_point const &,a_point const &,a_point const &,a_point const &)\n"
7951 " a_tetrahedron::a_tetrahedron(a_tetrahedron const &)\n", TCL_STATIC);
7963 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_tetrahedron_classname self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
7970 result = (arg1)->classname();
8108 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_p self ref ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8118 arg2 =
static_cast< int >(val2);
8140 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_p1 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8153 arg2 =
reinterpret_cast< a_point *
>(argp2);
8155 (arg1)->p1((
a_point const &)*arg2);
8168 Tcl_Obj *CONST *argv = objv+1;
8194 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_tetrahedron_p1'.\n"
8195 " Possible C/C++ prototypes are:\n"
8196 " a_tetrahedron::p1() const\n"
8197 " a_tetrahedron::p1(a_point const &)\n", TCL_STATIC);
8211 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_p2 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8224 arg2 =
reinterpret_cast< a_point *
>(argp2);
8226 (arg1)->p2((
a_point const &)*arg2);
8239 Tcl_Obj *CONST *argv = objv+1;
8265 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_tetrahedron_p2'.\n"
8266 " Possible C/C++ prototypes are:\n"
8267 " a_tetrahedron::p2() const\n"
8268 " a_tetrahedron::p2(a_point const &)\n", TCL_STATIC);
8282 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_p3 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8295 arg2 =
reinterpret_cast< a_point *
>(argp2);
8297 (arg1)->p3((
a_point const &)*arg2);
8310 Tcl_Obj *CONST *argv = objv+1;
8336 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_tetrahedron_p3'.\n"
8337 " Possible C/C++ prototypes are:\n"
8338 " a_tetrahedron::p3() const\n"
8339 " a_tetrahedron::p3(a_point const &)\n", TCL_STATIC);
8353 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_p4 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8366 arg2 =
reinterpret_cast< a_point *
>(argp2);
8368 (arg1)->p4((
a_point const &)*arg2);
8381 Tcl_Obj *CONST *argv = objv+1;
8407 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_tetrahedron_p4'.\n"
8408 " Possible C/C++ prototypes are:\n"
8409 " a_tetrahedron::p4() const\n"
8410 " a_tetrahedron::p4(a_point const &)\n", TCL_STATIC);
8433 if (
SWIG_GetArgs(interp, objc, objv,
"ooooo:a_tetrahedron_set self p1 p2 p3 p4 ",(
void *)0,(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8446 arg2 =
reinterpret_cast< a_point *
>(argp2);
8454 arg3 =
reinterpret_cast< a_point *
>(argp3);
8462 arg4 =
reinterpret_cast< a_point *
>(argp4);
8470 arg5 =
reinterpret_cast< a_point *
>(argp5);
8493 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_s self ref ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8503 arg2 =
static_cast< int >(val2);
8524 SwigValueWrapper< a_triangle > result;
8526 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_f self ref ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8536 arg2 =
static_cast< int >(val2);
8590 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_tetrahedron_translate self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8600 arg2 =
static_cast< double >(val2);
8605 arg3 =
static_cast< double >(val3);
8610 arg4 =
static_cast< double >(val4);
8639 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_tetrahedron_rotate self x_axis y_axis z_axis ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8652 arg2 =
reinterpret_cast< a_point *
>(argp2);
8660 arg3 =
reinterpret_cast< a_point *
>(argp3);
8668 arg4 =
reinterpret_cast< a_point *
>(argp4);
8741 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_contains self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8754 arg2 =
reinterpret_cast< a_point *
>(argp2);
8760 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
8774 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_tetrahedron_quality self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
8802 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_equals self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8817 result = (bool)(arg1)->operator ==((
a_tetrahedron const &)*arg2);
8821 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
8838 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_= self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8867 std::istream *arg2 = 0 ;
8873 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_read self i ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8886 arg2 =
reinterpret_cast< std::istream *
>(argp2);
8888 (arg1)->read(*arg2);
8902 std::ostream *arg2 = 0 ;
8908 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_tetrahedron_write self o ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
8921 arg2 =
reinterpret_cast< std::ostream *
>(argp2);
8940 if (
SWIG_GetArgs(interp, objc, objv,
"o:delete_a_tetrahedron self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
9000 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:new_a_triangle p1 p2 p3 ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9008 arg1 =
reinterpret_cast< a_point *
>(argp1);
9016 arg2 =
reinterpret_cast< a_point *
>(argp2);
9024 arg3 =
reinterpret_cast< a_point *
>(argp3);
9052 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9067 Tcl_Obj *CONST *argv = objv+1;
9098 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'new_a_triangle'.\n"
9099 " Possible C/C++ prototypes are:\n"
9100 " a_triangle::a_triangle(a_point const &,a_point const &,a_point const &)\n"
9101 " a_triangle::a_triangle(a_triangle const &)\n", TCL_STATIC);
9135 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9160 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9185 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9208 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_p self i ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9213 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9218 arg2 =
static_cast< int >(val2);
9220 result = ((
a_triangle const *)arg1)->p(arg2);
9240 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_p1 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9245 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9253 arg2 =
reinterpret_cast< a_point *
>(argp2);
9255 (arg1)->p1((
a_point const &)*arg2);
9268 Tcl_Obj *CONST *argv = objv+1;
9294 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_triangle_p1'.\n"
9295 " Possible C/C++ prototypes are:\n"
9296 " a_triangle::p1() const\n"
9297 " a_triangle::p1(a_point const &)\n", TCL_STATIC);
9311 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_p2 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9316 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9324 arg2 =
reinterpret_cast< a_point *
>(argp2);
9326 (arg1)->p2((
a_point const &)*arg2);
9339 Tcl_Obj *CONST *argv = objv+1;
9365 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_triangle_p2'.\n"
9366 " Possible C/C++ prototypes are:\n"
9367 " a_triangle::p2() const\n"
9368 " a_triangle::p2(a_point const &)\n", TCL_STATIC);
9382 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_p3 self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9387 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9395 arg2 =
reinterpret_cast< a_point *
>(argp2);
9397 (arg1)->p3((
a_point const &)*arg2);
9410 Tcl_Obj *CONST *argv = objv+1;
9436 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_triangle_p3'.\n"
9437 " Possible C/C++ prototypes are:\n"
9438 " a_triangle::p3() const\n"
9439 " a_triangle::p3(a_point const &)\n", TCL_STATIC);
9459 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_triangle_set self p1 p2 p3 ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9464 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9472 arg2 =
reinterpret_cast< a_point *
>(argp2);
9480 arg3 =
reinterpret_cast< a_point *
>(argp3);
9488 arg4 =
reinterpret_cast< a_point *
>(argp4);
9513 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9538 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9563 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9586 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_s self ref ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9591 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9596 arg2 =
static_cast< int >(val2);
9598 result = ((
a_triangle const *)arg1)->s(arg2);
9621 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9650 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_triangle_translate self x y z ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9655 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9660 arg2 =
static_cast< double >(val2);
9665 arg3 =
static_cast< double >(val3);
9670 arg4 =
static_cast< double >(val4);
9699 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_triangle_rotate self x_axis y_axis z_axis ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9704 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9712 arg2 =
reinterpret_cast< a_point *
>(argp2);
9720 arg3 =
reinterpret_cast< a_point *
>(argp3);
9728 arg4 =
reinterpret_cast< a_point *
>(argp4);
9753 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9778 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9780 result = ((
a_triangle const *)arg1)->normal();
9803 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9805 result = (double)((
a_triangle const *)arg1)->S();
9826 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_contains self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9831 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9839 arg2 =
reinterpret_cast< a_point *
>(argp2);
9845 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
9862 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_closest self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9867 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9875 arg2 =
reinterpret_cast< a_point *
>(argp2);
9898 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_closestp self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9903 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9911 arg2 =
reinterpret_cast< a_point *
>(argp2);
9934 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_dist self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9939 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9947 arg2 =
reinterpret_cast< a_point *
>(argp2);
9970 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_distp self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
9975 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
9983 arg2 =
reinterpret_cast< a_point *
>(argp2);
10006 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_intersect self s ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10011 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10019 arg2 =
reinterpret_cast< a_segment *
>(argp2);
10039 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_triangle_min_edge self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
10044 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10046 result = (double)((
a_triangle const *)arg1)->min_edge();
10064 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_triangle_max_edge self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
10069 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10071 result = (double)((
a_triangle const *)arg1)->max_edge();
10089 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_triangle_quality self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
10094 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10096 result = (double)((
a_triangle const *)arg1)->quality();
10117 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_equals self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10122 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10130 arg2 =
reinterpret_cast< a_triangle *
>(argp2);
10132 result = (bool)(arg1)->operator ==((
a_triangle const &)*arg2);
10136 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
10153 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_triangle_= self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10158 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10166 arg2 =
reinterpret_cast< a_triangle *
>(argp2);
10185 if (
SWIG_GetArgs(interp, objc, objv,
"o:delete_a_triangle self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
10190 arg1 =
reinterpret_cast< a_triangle *
>(argp1);
10260 std::string result;
10262 if (
SWIG_GetArgs(interp, objc, objv,
"o:a_circle_classname self ",(
void *)0) == TCL_ERROR)
SWIG_fail;
10267 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10269 result = (arg1)->classname();
10282 std::string result;
10306 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_circle_centre self c ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10311 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10320 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
10324 (arg1)->centre(arg2);
10347 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10349 result = ((
a_circle const *)arg1)->centre();
10362 Tcl_Obj *CONST *argv = objv+1;
10388 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_circle_centre'.\n"
10389 " Possible C/C++ prototypes are:\n"
10390 " a_circle::centre(a_point const)\n"
10391 " a_circle::centre() const\n", TCL_STATIC);
10405 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_circle_normal self n ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10410 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10419 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
10423 (arg1)->normal(arg2);
10446 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10448 result = ((
a_circle const *)arg1)->normal();
10461 Tcl_Obj *CONST *argv = objv+1;
10487 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_circle_normal'.\n"
10488 " Possible C/C++ prototypes are:\n"
10489 " a_circle::normal(a_point const)\n"
10490 " a_circle::normal() const\n", TCL_STATIC);
10504 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_circle_radius self r ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10509 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10514 arg2 =
static_cast< double >(val2);
10516 (arg1)->radius(arg2);
10539 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10541 result = (double)((
a_circle const *)arg1)->radius();
10554 Tcl_Obj *CONST *argv = objv+1;
10581 Tcl_SetResult(interp,(
char *)
"Wrong number or type of arguments for overloaded function 'a_circle_radius'.\n"
10582 " Possible C/C++ prototypes are:\n"
10583 " a_circle::radius(double)\n"
10584 " a_circle::radius() const\n", TCL_STATIC);
10604 if (
SWIG_GetArgs(interp, objc, objv,
"oooo:a_circle_p3 self p1 p2 p3 ",(
void *)0,(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10609 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10618 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
10629 arg3 = *(
reinterpret_cast< a_point *
>(argp3));
10640 arg4 = *(
reinterpret_cast< a_point *
>(argp4));
10644 (arg1)->p3(arg2,arg3,arg4);
10667 if (
SWIG_GetArgs(interp, objc, objv,
"ooo:a_circle_p2 self p1 p2 ",(
void *)0,(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10672 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10681 arg2 = *(
reinterpret_cast< a_point *
>(argp2));
10692 arg3 = *(
reinterpret_cast< a_point *
>(argp3));
10696 (arg1)->p2(arg2,arg3);
10717 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_circle_equals self p ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10722 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10730 arg2 =
reinterpret_cast< a_circle *
>(argp2);
10732 result = (bool)(arg1)->operator ==((
a_circle const &)*arg2);
10736 Tcl_SetObjResult(interp,
SWIG_From_bool(
static_cast< bool >(result)));
10753 if (
SWIG_GetArgs(interp, objc, objv,
"oo:a_circle_= self v ",(
void *)0,(
void *)0) == TCL_ERROR)
SWIG_fail;
10758 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10766 arg2 =
reinterpret_cast< a_circle *
>(argp2);
10791 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10793 result = (double)((
a_circle const *)arg1)->length();
10816 arg1 =
reinterpret_cast< a_circle *
>(argp1);
10818 result = (double)((
a_circle const *)arg1)->area();
10840 arg1 =
reinterpret_cast< a_circle *
>(argp1);
11154 static swig_cast_info _swigc__p_a_3dh[] = { {&
_swigt__p_a_plane,
_p_a_planeTo_p_a_3dh, 0, 0}, {&
_swigt__p_a_3dh, 0, 0, 0},{0, 0, 0, 0}};
11155 static swig_cast_info _swigc__p_a_base[] = { {&
_swigt__p_a_point,
_p_a_pointTo_p_a_base, 0, 0}, {&
_swigt__p_a_tetrahedron,
_p_a_tetrahedronTo_p_a_base, 0, 0}, {&
_swigt__p_a_segment,
_p_a_segmentTo_p_a_base, 0, 0}, {&
_swigt__p_a_base, 0, 0, 0}, {&
_swigt__p_a_triangle,
_p_a_triangleTo_p_a_base, 0, 0}, {&
_swigt__p_a_circle,
_p_a_circleTo_p_a_base, 0, 0}, {&
_swigt__p_a_geom_base,
_p_a_geom_baseTo_p_a_base, 0, 0}, {&
_swigt__p_a_point2,
_p_a_point2To_p_a_base, 0, 0},{0, 0, 0, 0}};
11158 static swig_cast_info _swigc__p_a_geom_base[] = { {&
_swigt__p_a_point,
_p_a_pointTo_p_a_geom_base, 0, 0}, {&
_swigt__p_a_tetrahedron,
_p_a_tetrahedronTo_p_a_geom_base, 0, 0}, {&
_swigt__p_a_segment,
_p_a_segmentTo_p_a_geom_base, 0, 0}, {&
_swigt__p_a_triangle,
_p_a_triangleTo_p_a_geom_base, 0, 0}, {&
_swigt__p_a_circle,
_p_a_circleTo_p_a_geom_base, 0, 0}, {&
_swigt__p_a_geom_base, 0, 0, 0}, {&
_swigt__p_a_point2,
_p_a_point2To_p_a_geom_base, 0, 0},{0, 0, 0, 0}};
11247 #define SWIGRUNTIME_DEBUG
11270 if (!module_head) {
11283 }
while (iter!= module_head);
11294 if (init == 0)
return;
11297 #ifdef SWIGRUNTIME_DEBUG
11298 printf(
"SWIG_InitializeModule: size %lu\n", (
unsigned long)
swig_module.
size);
11305 #ifdef SWIGRUNTIME_DEBUG
11315 #ifdef SWIGRUNTIME_DEBUG
11316 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
11320 #ifdef SWIGRUNTIME_DEBUG
11321 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
11330 while (cast->
type) {
11333 #ifdef SWIGRUNTIME_DEBUG
11334 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
11338 #ifdef SWIGRUNTIME_DEBUG
11339 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
11344 #ifdef SWIGRUNTIME_DEBUG
11345 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
11352 #ifdef SWIGRUNTIME_DEBUG
11353 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
11355 if (!ocast) ret = 0;
11360 #ifdef SWIGRUNTIME_DEBUG
11361 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
11376 #ifdef SWIGRUNTIME_DEBUG
11377 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
11382 while (cast->
type) {
11383 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
11387 printf(
"---- Total casts: %d\n",j);
11389 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
11402 static int init_run = 0;
11404 if (init_run)
return;
11415 equiv = equiv->
next;
11449 for (i = 0; constants[i].
type; i++) {
11450 switch(constants[i].type) {
11455 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
11478 Tcl_InitHashTable(&(klass->
hashtable), TCL_STRING_KEYS);
11479 for (meth = klass->
methods; meth && meth->
name; ++meth) {
11481 Tcl_HashEntry* hashentry = Tcl_CreateHashEntry(&(klass->
hashtable), meth->name, &newEntry);
11482 Tcl_SetHashValue(hashentry, (ClientData)meth->method);
11498 if (interp == 0)
return TCL_ERROR;
11499 #ifdef USE_TCL_STUBS
11505 #ifdef USE_TK_STUBS
11514 #ifdef SWIG_namespace
11515 Tcl_Eval(interp,
"namespace eval " SWIG_namespace
" { }");
11526 Tcl_SetVar(interp, (
char *)
swig_variables[i].name, (
char *)
"", TCL_GLOBAL_ONLY);
11527 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_READS | TCL_GLOBAL_ONLY,
11529 Tcl_TraceVar(interp, (
char *)
swig_variables[i].name, TCL_TRACE_WRITES | TCL_GLOBAL_ONLY,
11538 printf(
"Points&forces a_geom module.\n");
11539 printf(
"Type a_geom_base_help for an introduction.\n");
static const char * swig_a_point_base_names[]
SWIGINTERN int _wrap_angle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_quality(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGINTERN int _wrap_a_circle_length(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_equals(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGEXPORT int A_geom_SafeInit(Tcl_Interp *interp)
static swig_var_info swig_variables[]
static void * _p_a_point2To_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_point2_negate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_classname(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[])
SWIGINTERN int _wrap_a_point_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_circle_base_names[]
SWIGINTERNINLINE Tcl_Obj * SWIG_From_std_string(const std::string &s)
SWIGINTERN int _wrap_a_segment_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_tetrahedron(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info * swig_cast_initial[]
SWIGINTERN int _wrap_a_triangle_p3__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_s1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p4__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_point2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_equals(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_3dh_base_names[]
SWIGINTERN int _wrap_new_a_geom_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_rotate__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_segment__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_coord[]
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN int _wrap_a_point2_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_distl__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plane_d0__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_circle_centre(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
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)
static swig_attribute swig_a_point2_attributes[]
SWIGINTERN int _wrap_a_point2_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_point__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[])
#define SWIGTYPE_p_a_triangle
static swig_method swig_a_circle_methods[]
#define SWIG_TypeQuery(name)
SWIGINTERN int _wrap_a_geom_base_classname(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_p1__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_norm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_point2
static swig_const_info swig_constants[]
SWIGINTERN void swig_delete_a_circle(void *obj)
SWIGINTERN int _wrap_a_point2_y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_point * new_a_point__SWIG_4(std::string const s)
SWIGINTERN int _wrap_a_segment_closest(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_plane_bases[]
static swig_method swig_a_segment_methods[]
SWIGINTERN int _wrap_delete_a_triangle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_ConvertPtr(oc, ptr, ty, flags)
static swig_method swig_a_geom_base_methods[]
static const char * swig_a_tetrahedron_base_names[]
#define SWIG_CheckState(r)
static swig_cast_info _swigc__p_a_circle[]
static void * _p_a_pointTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_point_y__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_point2_methods[]
SWIGINTERN int _wrap_a_tetrahedron_V(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_set__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_Acquire(void *ptr)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGINTERN std::string a_base_print(a_base *self)
SWIGINTERN int _wrap_a_point2_set__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_geom_baseTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_r2d(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_dist__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_segment[]
struct swig_instance swig_instance
static swig_type_info _swigt__p_a_circle
SWIGINTERN int _wrap_a_point_set_cylindrical(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_double[]
SWIGINTERN int _wrap_a_point_norm2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_segment__denomin_error
SWIGINTERNINLINE void SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char *mesg)
SWIGINTERN int _wrap_a_segment_p2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
SWIGINTERN int _wrap_a_tetrahedron_p(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_3dh
struct swig_cast_info swig_cast_info
SWIGINTERN int _wrap_new_a_segment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_e___(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)
static const char * swig_a_point2_base_names[]
SWIGRUNTIME int SWIG_Tcl_MethodCommand(ClientData clientData, 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_circle_radius__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_point2 & a_point2_divide(a_point2 *self, double v)
SWIGINTERN int _wrap_a_point_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_point(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average_rot(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 void swig_delete_a_3dh(void *obj)
static swig_cast_info _swigc__p_a_plane[]
#define SWIG_RuntimeError
SWIGINTERN int _wrap_a_point_z__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_geom_base
SWIGINTERN int _wrap_a_base_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_triangle(void *obj)
SWIGINTERN int _wrap_a_point2_y__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_point2__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_cross(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN std::string a_3dh_print(a_3dh *self)
static swig_command_info swig_commands[]
SWIGINTERN int _wrap_a_circle_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_point & a_point_multiply(a_point *self, double v)
static const char * swig_a_triangle_base_names[]
SWIGINTERN int _wrap_a_point2_dist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN std::string a_plane_print(a_plane *self)
#define SWIGTYPE_p_a_segment
SWIGINTERN int _wrap_a_plane_dist(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[])
static swig_attribute swig_a_triangle_attributes[]
SWIGINTERN int _wrap_a_base_small__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_normal__SWIG_0(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_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)
SWIGINTERN int _wrap_a_triangle_max_edge(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN int _wrap_a_point_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_plane
SWIGINTERN int _wrap_new_a_point2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_circle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_base_methods[]
SWIGINTERN int _wrap_a_segment_dist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_mat
SWIGINTERN int _wrap_angle__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_segment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_tetrahedron
SWIGINTERN int _wrap_a_circle_centre__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int SWIG_AsCharPtrAndSize(Tcl_Obj *obj, char **cptr, size_t *psize, int *alloc)
SWIGINTERN int _wrap_a_point_set_spherical(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_plane_attributes[]
#define SWIG_RUNTIME_VERSION
SWIGINTERN int _wrap_a_tetrahedron_p3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_dist(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)
static swig_cast_info _swigc__p_a_segment__denomin_error[]
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static Tcl_HashTable swigconstTable
#define SWIG_MethodCommand
SWIGRUNTIME int SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fmt,...)
static swig_attribute swig_a_segment_attributes[]
SWIGINTERN int _wrap_a_segment_equals(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[])
static swig_type_info _swigt__p_a_segment__denomin_error
SWIGINTERN a_point2 & a_point2_multiply(a_point2 *self, double v)
SWIGINTERN int _wrap_a_point_y__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_multiply(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__ostream[]
SWIGINTERN int _wrap_d2r(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_plane
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_a_tetrahedron_p4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_centre(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_p2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_triangleTo_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
std::string puts(const a_point &p)
#define SWIGTYPE_p_a_geom_base
SWIGINTERN int _wrap_new_a_point(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_triangle
#define SWIG_exception_fail(code, msg)
SWIGINTERN int _wrap_a_plane_contains(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
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_triangle_p3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_std__istream[]
SWIGINTERN int _wrap_a_segment_project(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_std__istream
SWIGINTERN int _wrap_a_plane_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_tetrahedron_attributes[]
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[]
SWIGINTERN int _wrap_a_triangle_closest(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_AttributeError
SWIGINTERN int _wrap_a_segment_dist__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_point_methods[]
SWIGINTERN int _wrap_a_point_m___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plane_intersect__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_divide(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_3dh
static swig_module_info swig_module
SWIGINTERN int _wrap_a_base_small__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_tetrahedron[]
SWIGINTERN int _wrap_a_point_negate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_invert(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_pointTo_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_class _wrap_class_a_tetrahedron
SWIGINTERN int _wrap_dist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_normal(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_circle_attributes[]
static swig_type_info _swigt__p_double
SWIGINTERN int _wrap_a_point_max(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN int _wrap_a_tetrahedron_contains(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_point__SWIG_1(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_a_3dh_Y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_point2To_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_point_subtract(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_point2
static void * _p_a_triangleTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_new_a_point2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGUNUSEDPARM(p)
SWIGINTERN int _wrap_a_point2_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_rotate__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_divide(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_tetrahedron_classname(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_x(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_p3__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_tetrahedron(void *obj)
static const char * swig_a_segment_base_names[]
static swig_class _wrap_class_a_segment
SWIGINTERN void swig_delete_a_base(void *obj)
SWIGINTERN void swig_delete_a_point2(void *obj)
SWIGINTERN int _wrap_new_a_tetrahedron(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN int _wrap_a_point_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module)
SWIGINTERN int _wrap_new_a_segment__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGINTERN void swig_delete_a_segment(void *obj)
SWIGRUNTIMEINLINE int SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, swig_type_info *ty, int flags)
static swig_method swig_a_tetrahedron_methods[]
static swig_type_info _swigt__p_a_coord
static swig_class _wrap_class_a_circle
struct swig_const_info swig_const_info
SWIGINTERN int _wrap_a_triangle_dist(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_3dh__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_norm(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_y(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_sumsq(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_point2__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_sumsq(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_geom_base_bases[]
static void * _p_a_circleTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_circle_p3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_point2 & a_point2_negate(a_point2 *self)
SWIGINTERN int _wrap_a_point2_subtract(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME int SWIG_Tcl_Thisown(void *ptr)
static swig_type_info _swigt__p_a_plane
SWIGINTERN int _wrap_a_point2_y__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
SWIGINTERN int _wrap_a_plane_d0__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_radius(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_type_info _swigt__p_a_point
SWIGINTERN void SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char *name, Tcl_Obj *obj)
SWIGINTERN int _wrap_new_a_triangle__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_geom_base[]
SWIGINTERN int _wrap_a_3dh_y(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 int _wrap_new_a_point__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_closestl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
double r2d(const double r)
SWIGINTERN int _wrap_a_point2_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_char[]
static swig_cast_info _swigc__p_a_point2[]
SWIGINTERN int _wrap_a_circle_p2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_tetrahedron__SWIG_0(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)
static void * _p_a_planeTo_p_a_3dh(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_base_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plane_intersect(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_segmentTo_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_plane_n(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN a_point2 * new_a_point2__SWIG_4(std::string const s)
SWIGINTERN int _wrap_a_tetrahedron_S(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average_rot__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_point__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_plane_base_names[]
SWIGINTERN int _wrap_a_segment_p1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_x__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_geom_base_base_names[]
#define SWIGTYPE_p_a_coord
SWIGINTERN int _wrap_average__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_triangle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGINTERN int _wrap_new_a_point2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_circle
SWIGINTERN int _wrap_a_triangle_distp(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_z(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_Thisown(ptr)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
SWIGINTERN int _wrap_a_plane_d0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
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[])
void *(* swig_converter_func)(void *, int *)
#define SWIG_POINTER_NO_NULL
SWIGINTERN int _wrap_a_triangle_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_s2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p1__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_average_rot__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_std__ostream
static swig_class _wrap_class_a_geom_base
SWIGINTERN int _wrap_a_point_x__SWIG_0(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_geom_base_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_NullReferenceError
SWIGINTERN int _wrap_a_point2_x__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_angle__SWIG_0(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 int _wrap_a_point_add(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_p2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_3dh_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_s(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_a_triangle_closestp(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_tetrahedron
SWIGINTERN int _wrap_cross(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_3dh_Z__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_triangle
SWIGINTERN int _wrap_a_tetrahedron_p2__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_multiply(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_segment_bases[]
SWIGRUNTIME char * SWIG_Tcl_PointerTypeFromString(char *c)
static swig_cast_info _swigc__p_a_triangle[]
SWIGINTERN int _wrap_a_point2_normalise(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_3dh_attributes[]
SWIGINTERN int _wrap_new_a_segment__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p1__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_plane(void *obj)
static swig_attribute swig_a_geom_base_attributes[]
SWIGINTERN int _wrap_a_triangle_s3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_point
SWIGRUNTIME int SWIG_Tcl_Disown(void *ptr)
#define SWIG_ObjectDelete
SWIGINTERN int _wrap_a_plane_closest(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_norm1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_min_edge(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)
static swig_method swig_a_triangle_methods[]
SWIGINTERN int _wrap_a_tetrahedron_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_normI(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_new_a_tetrahedron__SWIG_1(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_tetrahedronTo_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_GetModule(clientdata)
SWIGINTERN int _wrap_a_segment_p1__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_area(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_tetrahedronTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int _wrap_a_triangle_p1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_c(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[])
SWIGINTERN int _wrap_new_a_circle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_PropagateClientData(void)
static swig_type_info * swig_types[18]
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_a_plane_print(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_S(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_point
SWIGINTERN int _wrap_a_circle_equals(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point_a___(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_class * swig_a_triangle_bases[]
SWIGINTERN a_point & a_point_negate(a_point *self)
SWIGINTERN int _wrap_a_segment_dist__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_length(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_point_z__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p3__SWIG_0(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_segment_rotate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plane_p0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_plane_intersect__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_a_base
SWIGINTERN int _wrap_new_a_triangle__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_a_segment
SWIGINTERN int _wrap_new_a_plane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static const char * swig_a_base_base_names[]
SWIGRUNTIME swig_module_info * SWIG_Tcl_GetModule(Tcl_Interp *interp)
SWIGINTERN int _wrap_a_point_s___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
struct swig_module_info swig_module_info
static swig_class _wrap_class_a_base
SWIGINTERN int _wrap_a_point_x__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_Acquire(ptr)
SWIGINTERN int _wrap_new_a_point__SWIG_4(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME void SWIG_Tcl_ObjectDelete(ClientData clientData)
SWIGINTERN int _wrap_a_segment_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
double d2r(const double d)
#define SWIG_TCL_HASHTABLE_INIT
SWIGRUNTIME int SWIG_Tcl_ConvertPacked(Tcl_Interp *SWIGUNUSEDPARM(interp), Tcl_Obj *obj, void *ptr, int sz, swig_type_info *ty)
SWIGINTERN int _wrap_a_tetrahedron_p4__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_cast_info _swigc__p_a_mat[]
SWIGINTERN int _wrap_a_tetrahedron_c(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN void swig_delete_a_geom_base(void *obj)
#define SWIG_ObjectConstructor
static swig_type_info _swigt__p_a_base
SWIGINTERN int _wrap_a_point_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#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_segment_p2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_centre__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_p2(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_3dh_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_method swig_a_plane_methods[]
SWIGINTERN int _wrap_a_circle_radius__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGTYPE_p_std__ostream
static int swigconstTableinit
struct swig_attribute swig_attribute
static swig_class * swig_a_tetrahedron_bases[]
SWIGINTERN a_point & a_point_divide(a_point *self, double v)
SWIGINTERN void swig_delete_a_point(void *obj)
static void * _p_a_circleTo_p_a_geom_base(void *x, int *SWIGUNUSEDPARM(newmemory))
void(* swig_delete_func)(ClientData)
SWIGINTERN int _wrap_new_a_point2__SWIG_2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_geom_base(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGRUNTIME Tcl_HashTable * SWIG_Tcl_ObjectTable(void)
SWIGINTERN int _wrap_a_tetrahedron_p3__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_circle_normal__SWIG_1(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)
SWIGINTERN int _wrap_a_point2_equals(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_intersect(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_segment_vec(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_segment_e___(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_quality(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_add(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_circle_bases[]
SWIGINTERN int _wrap_a_segment_p1__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_contains(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)
SWIGINTERN int _wrap_a_segment_distl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_DivisionByZero
#define SWIGTYPE_p_double
SWIGINTERN int _wrap_a_plane_move(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_type_info _swigt__p_char
struct swig_method swig_method
SWIGINTERN int _wrap_a_tetrahedron_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_TCL_DECL_ARGS_2(arg1, arg2)
SWIGINTERN int _wrap_a_point_normalise(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_equals(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_point2_help(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIG_OverflowError
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_a_triangle_p(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_delete_a_plane(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_translate(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[])
SWIGINTERN int _wrap_a_segment_distl__SWIG_0(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_base_bases[]
SWIGINTERN int _wrap_a_segment_shortest(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_p2__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_point_attributes[]
SWIGINTERN int _wrap_a_triangle_p2(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class _wrap_class_a_point2
SWIGINTERN void SWIG_Tcl_InstallMethodLookupTables(void)
#define SWIG_TCL_STUBS_VERSION
SWIGINTERN int _wrap_a_point2_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_p1__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_point2_bases[]
SWIGINTERN int _wrap_a_triangle_rotate(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_segment_dir(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_f(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_tetrahedron_translate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
SWIGINTERN int _wrap_a_triangle_intersect(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static void * _p_a_segmentTo_p_a_base(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIGTYPE_p_std__istream
SWIGINTERN int _wrap_dist__SWIG_1(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_attribute swig_a_base_attributes[]
SWIGINTERN int _wrap_a_triangle_s(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
static swig_class * swig_a_point_bases[]
SWIGINTERN int _wrap_average__SWIG_3(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
#define SWIGRUNTIMEINLINE
double angle(a_point a, a_point b)
a_point cross(const a_point &a, const a_point &b)
a_point average_rot(const a_point &a, const a_point &b, double f)
a_point circle_centre(const a_point &p1, const a_point &p2, const a_point &p3)
double dist(const a_point &a, const a_point &b)
a_point average(const a_point &a, const a_point &b, double f=0.5)
an homogeneous 3d matrix class
static const std::string help()
static const std::string help()
static const std::string help()
a coordinate system in the Points&Forces file format
static const std::string help()
static const std::string help()
a_point2 & translate(double x, double y)
static const std::string help()
a_point2 & rotate(const double angle)
a_point & rotate(const a_point &x_axis, const a_point &y_axis, const a_point &z_axis)
a_point cross(const a_point &) const
static const std::string help()
a_point & translate(double x, double y, double z)
a_point & max()
set maximum abs value of component to 1.
static const std::string help()
a_segment shortest(const a_segment &s, double &m1, double &m2) const
intersection between two segments, returns a segment between the closest point between the two segmen...
a_segment & rotate(const a_point &x_axis, const a_point &y_axis, const a_point &z_axis)
a_segment & translate(double x, double y, double z)
a_segment intersect(const a_segment &s, double &m1, double &m2) const
intersection between two segments, returns a segment between the closest point between the two lines ...
static const std::string help()
a_tetrahedron & rotate(const a_point &x_axis, const a_point &y_axis, const a_point &z_axis)
a_tetrahedron & translate(double x, double y, double z)
a_triangle & rotate(const a_point &x_axis, const a_point &y_axis, const a_point &z_axis)
static const std::string help()
a_triangle & translate(double x, double y, double z)
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