1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * This file is not intended to be easily readable and contains a number of
\r
6 * coding conventions designed to improve portability and efficiency. Do not make
\r
7 * changes to this file unless you know what you are doing--modify the SWIG
\r
8 * interface file instead.
\r
9 * ----------------------------------------------------------------------------- */
\r
15 /* SwigValueWrapper is described in swig.swg */
\r
16 template<typename T> class SwigValueWrapper {
\r
17 struct SwigMovePointer {
\r
19 SwigMovePointer(T *p) : ptr(p) { }
\r
20 ~SwigMovePointer() { delete ptr; }
\r
21 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
\r
23 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
\r
24 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
\r
26 SwigValueWrapper() : pointer(0) { }
\r
27 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
\r
28 operator T&() const { return *pointer.ptr; }
\r
29 T *operator&() { return pointer.ptr; }
\r
32 template <typename T> T SwigValueInit() {
\r
37 /* -----------------------------------------------------------------------------
\r
38 * This section contains generic SWIG labels for method/variable
\r
39 * declarations/attributes, and other compiler dependent labels.
\r
40 * ----------------------------------------------------------------------------- */
\r
42 /* template workaround for compilers that cannot correctly implement the C++ standard */
\r
43 #ifndef SWIGTEMPLATEDISAMBIGUATOR
\r
44 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
\r
45 # define SWIGTEMPLATEDISAMBIGUATOR template
\r
46 # elif defined(__HP_aCC)
\r
47 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
\r
48 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
\r
49 # define SWIGTEMPLATEDISAMBIGUATOR template
\r
51 # define SWIGTEMPLATEDISAMBIGUATOR
\r
55 /* inline attribute */
\r
57 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
\r
58 # define SWIGINLINE inline
\r
64 /* attribute recognised by some compilers to avoid 'unused' warnings */
\r
66 # if defined(__GNUC__)
\r
67 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
\r
68 # define SWIGUNUSED __attribute__ ((__unused__))
\r
72 # elif defined(__ICC)
\r
73 # define SWIGUNUSED __attribute__ ((__unused__))
\r
75 # define SWIGUNUSED
\r
79 #ifndef SWIG_MSC_UNSUPPRESS_4505
\r
80 # if defined(_MSC_VER)
\r
81 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
\r
85 #ifndef SWIGUNUSEDPARM
\r
87 # define SWIGUNUSEDPARM(p)
\r
89 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
\r
93 /* internal SWIG method */
\r
95 # define SWIGINTERN static SWIGUNUSED
\r
98 /* internal inline SWIG method */
\r
99 #ifndef SWIGINTERNINLINE
\r
100 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
\r
103 /* exporting methods */
\r
104 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
\r
105 # ifndef GCC_HASCLASSVISIBILITY
\r
106 # define GCC_HASCLASSVISIBILITY
\r
111 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
\r
112 # if defined(STATIC_LINKED)
\r
113 # define SWIGEXPORT
\r
115 # define SWIGEXPORT __declspec(dllexport)
\r
118 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
\r
119 # define SWIGEXPORT __attribute__ ((visibility("default")))
\r
121 # define SWIGEXPORT
\r
126 /* calling conventions for Windows */
\r
127 #ifndef SWIGSTDCALL
\r
128 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
\r
129 # define SWIGSTDCALL __stdcall
\r
131 # define SWIGSTDCALL
\r
135 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
\r
136 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
\r
137 # define _CRT_SECURE_NO_DEPRECATE
\r
140 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
\r
141 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
\r
142 # define _SCL_SECURE_NO_DEPRECATE
\r
147 /* Fix for jlong on some versions of gcc on Windows */
\r
148 #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
\r
149 typedef long long __int64;
\r
152 /* Fix for jlong on 64-bit x86 Solaris */
\r
153 #if defined(__x86_64)
\r
160 #include <stdlib.h>
\r
161 #include <string.h>
\r
164 /* Support for throwing Java exceptions */
\r
166 SWIG_JavaOutOfMemoryError = 1,
\r
167 SWIG_JavaIOException,
\r
168 SWIG_JavaRuntimeException,
\r
169 SWIG_JavaIndexOutOfBoundsException,
\r
170 SWIG_JavaArithmeticException,
\r
171 SWIG_JavaIllegalArgumentException,
\r
172 SWIG_JavaNullPointerException,
\r
173 SWIG_JavaDirectorPureVirtual,
\r
174 SWIG_JavaUnknownError
\r
175 } SWIG_JavaExceptionCodes;
\r
178 SWIG_JavaExceptionCodes code;
\r
179 const char *java_exception;
\r
180 } SWIG_JavaExceptions_t;
\r
183 static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
\r
185 static const SWIG_JavaExceptions_t java_exceptions[] = {
\r
186 { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
\r
187 { SWIG_JavaIOException, "java/io/IOException" },
\r
188 { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
\r
189 { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
\r
190 { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
\r
191 { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
\r
192 { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
\r
193 { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
\r
194 { SWIG_JavaUnknownError, "java/lang/UnknownError" },
\r
195 { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
\r
197 const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
\r
199 while (except_ptr->code != code && except_ptr->code)
\r
202 jenv->ExceptionClear();
\r
203 excep = jenv->FindClass(except_ptr->java_exception);
\r
205 jenv->ThrowNew(excep, msg);
\r
209 /* Contract support */
\r
211 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
\r
214 #ifdef HAVE_CONFIG_H
\r
215 //config.h generated by autotools from config.h.in (see an example in Opencascade).
\r
216 #include "config.h"
\r
218 #include <Adaptor3d_Curve.hxx>
\r
219 #include <TopExp.hxx>
\r
220 #include <Poly_Triangulation.hxx>
\r
223 #if defined(SWIG_NOINCLUDE) || defined(SWIG_NOARRAYS)
\r
226 int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input);
\r
227 void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input);
\r
228 jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz);
\r
231 int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input);
\r
232 void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input);
\r
233 jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz);
\r
236 int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input);
\r
237 void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input);
\r
238 jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz);
\r
241 int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input);
\r
242 void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input);
\r
243 jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz);
\r
246 int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input);
\r
247 void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input);
\r
248 jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz);
\r
251 int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input);
\r
252 void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input);
\r
253 jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz);
\r
256 int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input);
\r
257 void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input);
\r
258 jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz);
\r
261 int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input);
\r
262 void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input);
\r
263 jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz);
\r
266 int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input);
\r
267 void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input);
\r
268 jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz);
\r
271 int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input);
\r
272 void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input);
\r
273 jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz);
\r
276 int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input);
\r
277 void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input);
\r
278 jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz);
\r
281 int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input);
\r
282 void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input);
\r
283 jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz);
\r
289 /* bool[] support */
\r
290 int SWIG_JavaArrayInBool (JNIEnv *jenv, jboolean **jarr, bool **carr, jbooleanArray input) {
\r
294 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
297 sz = jenv->GetArrayLength(input);
\r
298 *jarr = jenv->GetBooleanArrayElements(input, 0);
\r
301 *carr = new bool[sz];
\r
303 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
306 for (i=0; i<sz; i++)
\r
307 (*carr)[i] = ((*jarr)[i] != 0);
\r
311 void SWIG_JavaArrayArgoutBool (JNIEnv *jenv, jboolean *jarr, bool *carr, jbooleanArray input) {
\r
313 jsize sz = jenv->GetArrayLength(input);
\r
314 for (i=0; i<sz; i++)
\r
315 jarr[i] = (jboolean)carr[i];
\r
316 jenv->ReleaseBooleanArrayElements(input, jarr, 0);
\r
319 jbooleanArray SWIG_JavaArrayOutBool (JNIEnv *jenv, bool *result, jsize sz) {
\r
322 jbooleanArray jresult = jenv->NewBooleanArray(sz);
\r
325 arr = jenv->GetBooleanArrayElements(jresult, 0);
\r
328 for (i=0; i<sz; i++)
\r
329 arr[i] = (jboolean)result[i];
\r
330 jenv->ReleaseBooleanArrayElements(jresult, arr, 0);
\r
335 /* signed char[] support */
\r
336 int SWIG_JavaArrayInSchar (JNIEnv *jenv, jbyte **jarr, signed char **carr, jbyteArray input) {
\r
340 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
343 sz = jenv->GetArrayLength(input);
\r
344 *jarr = jenv->GetByteArrayElements(input, 0);
\r
347 *carr = new signed char[sz];
\r
349 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
352 for (i=0; i<sz; i++)
\r
353 (*carr)[i] = (signed char)(*jarr)[i];
\r
357 void SWIG_JavaArrayArgoutSchar (JNIEnv *jenv, jbyte *jarr, signed char *carr, jbyteArray input) {
\r
359 jsize sz = jenv->GetArrayLength(input);
\r
360 for (i=0; i<sz; i++)
\r
361 jarr[i] = (jbyte)carr[i];
\r
362 jenv->ReleaseByteArrayElements(input, jarr, 0);
\r
365 jbyteArray SWIG_JavaArrayOutSchar (JNIEnv *jenv, signed char *result, jsize sz) {
\r
368 jbyteArray jresult = jenv->NewByteArray(sz);
\r
371 arr = jenv->GetByteArrayElements(jresult, 0);
\r
374 for (i=0; i<sz; i++)
\r
375 arr[i] = (jbyte)result[i];
\r
376 jenv->ReleaseByteArrayElements(jresult, arr, 0);
\r
381 /* unsigned char[] support */
\r
382 int SWIG_JavaArrayInUchar (JNIEnv *jenv, jshort **jarr, unsigned char **carr, jshortArray input) {
\r
386 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
389 sz = jenv->GetArrayLength(input);
\r
390 *jarr = jenv->GetShortArrayElements(input, 0);
\r
393 *carr = new unsigned char[sz];
\r
395 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
398 for (i=0; i<sz; i++)
\r
399 (*carr)[i] = (unsigned char)(*jarr)[i];
\r
403 void SWIG_JavaArrayArgoutUchar (JNIEnv *jenv, jshort *jarr, unsigned char *carr, jshortArray input) {
\r
405 jsize sz = jenv->GetArrayLength(input);
\r
406 for (i=0; i<sz; i++)
\r
407 jarr[i] = (jshort)carr[i];
\r
408 jenv->ReleaseShortArrayElements(input, jarr, 0);
\r
411 jshortArray SWIG_JavaArrayOutUchar (JNIEnv *jenv, unsigned char *result, jsize sz) {
\r
414 jshortArray jresult = jenv->NewShortArray(sz);
\r
417 arr = jenv->GetShortArrayElements(jresult, 0);
\r
420 for (i=0; i<sz; i++)
\r
421 arr[i] = (jshort)result[i];
\r
422 jenv->ReleaseShortArrayElements(jresult, arr, 0);
\r
427 /* short[] support */
\r
428 int SWIG_JavaArrayInShort (JNIEnv *jenv, jshort **jarr, short **carr, jshortArray input) {
\r
432 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
435 sz = jenv->GetArrayLength(input);
\r
436 *jarr = jenv->GetShortArrayElements(input, 0);
\r
439 *carr = new short[sz];
\r
441 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
444 for (i=0; i<sz; i++)
\r
445 (*carr)[i] = (short)(*jarr)[i];
\r
449 void SWIG_JavaArrayArgoutShort (JNIEnv *jenv, jshort *jarr, short *carr, jshortArray input) {
\r
451 jsize sz = jenv->GetArrayLength(input);
\r
452 for (i=0; i<sz; i++)
\r
453 jarr[i] = (jshort)carr[i];
\r
454 jenv->ReleaseShortArrayElements(input, jarr, 0);
\r
457 jshortArray SWIG_JavaArrayOutShort (JNIEnv *jenv, short *result, jsize sz) {
\r
460 jshortArray jresult = jenv->NewShortArray(sz);
\r
463 arr = jenv->GetShortArrayElements(jresult, 0);
\r
466 for (i=0; i<sz; i++)
\r
467 arr[i] = (jshort)result[i];
\r
468 jenv->ReleaseShortArrayElements(jresult, arr, 0);
\r
473 /* unsigned short[] support */
\r
474 int SWIG_JavaArrayInUshort (JNIEnv *jenv, jint **jarr, unsigned short **carr, jintArray input) {
\r
478 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
481 sz = jenv->GetArrayLength(input);
\r
482 *jarr = jenv->GetIntArrayElements(input, 0);
\r
485 *carr = new unsigned short[sz];
\r
487 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
490 for (i=0; i<sz; i++)
\r
491 (*carr)[i] = (unsigned short)(*jarr)[i];
\r
495 void SWIG_JavaArrayArgoutUshort (JNIEnv *jenv, jint *jarr, unsigned short *carr, jintArray input) {
\r
497 jsize sz = jenv->GetArrayLength(input);
\r
498 for (i=0; i<sz; i++)
\r
499 jarr[i] = (jint)carr[i];
\r
500 jenv->ReleaseIntArrayElements(input, jarr, 0);
\r
503 jintArray SWIG_JavaArrayOutUshort (JNIEnv *jenv, unsigned short *result, jsize sz) {
\r
506 jintArray jresult = jenv->NewIntArray(sz);
\r
509 arr = jenv->GetIntArrayElements(jresult, 0);
\r
512 for (i=0; i<sz; i++)
\r
513 arr[i] = (jint)result[i];
\r
514 jenv->ReleaseIntArrayElements(jresult, arr, 0);
\r
519 /* int[] support */
\r
520 int SWIG_JavaArrayInInt (JNIEnv *jenv, jint **jarr, int **carr, jintArray input) {
\r
524 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
527 sz = jenv->GetArrayLength(input);
\r
528 *jarr = jenv->GetIntArrayElements(input, 0);
\r
531 *carr = new int[sz];
\r
533 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
536 for (i=0; i<sz; i++)
\r
537 (*carr)[i] = (int)(*jarr)[i];
\r
541 void SWIG_JavaArrayArgoutInt (JNIEnv *jenv, jint *jarr, int *carr, jintArray input) {
\r
543 jsize sz = jenv->GetArrayLength(input);
\r
544 for (i=0; i<sz; i++)
\r
545 jarr[i] = (jint)carr[i];
\r
546 jenv->ReleaseIntArrayElements(input, jarr, 0);
\r
549 jintArray SWIG_JavaArrayOutInt (JNIEnv *jenv, int *result, jsize sz) {
\r
552 jintArray jresult = jenv->NewIntArray(sz);
\r
555 arr = jenv->GetIntArrayElements(jresult, 0);
\r
558 for (i=0; i<sz; i++)
\r
559 arr[i] = (jint)result[i];
\r
560 jenv->ReleaseIntArrayElements(jresult, arr, 0);
\r
565 /* unsigned int[] support */
\r
566 int SWIG_JavaArrayInUint (JNIEnv *jenv, jlong **jarr, unsigned int **carr, jlongArray input) {
\r
570 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
573 sz = jenv->GetArrayLength(input);
\r
574 *jarr = jenv->GetLongArrayElements(input, 0);
\r
577 *carr = new unsigned int[sz];
\r
579 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
582 for (i=0; i<sz; i++)
\r
583 (*carr)[i] = (unsigned int)(*jarr)[i];
\r
587 void SWIG_JavaArrayArgoutUint (JNIEnv *jenv, jlong *jarr, unsigned int *carr, jlongArray input) {
\r
589 jsize sz = jenv->GetArrayLength(input);
\r
590 for (i=0; i<sz; i++)
\r
591 jarr[i] = (jlong)carr[i];
\r
592 jenv->ReleaseLongArrayElements(input, jarr, 0);
\r
595 jlongArray SWIG_JavaArrayOutUint (JNIEnv *jenv, unsigned int *result, jsize sz) {
\r
598 jlongArray jresult = jenv->NewLongArray(sz);
\r
601 arr = jenv->GetLongArrayElements(jresult, 0);
\r
604 for (i=0; i<sz; i++)
\r
605 arr[i] = (jlong)result[i];
\r
606 jenv->ReleaseLongArrayElements(jresult, arr, 0);
\r
611 /* long[] support */
\r
612 int SWIG_JavaArrayInLong (JNIEnv *jenv, jint **jarr, long **carr, jintArray input) {
\r
616 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
619 sz = jenv->GetArrayLength(input);
\r
620 *jarr = jenv->GetIntArrayElements(input, 0);
\r
623 *carr = new long[sz];
\r
625 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
628 for (i=0; i<sz; i++)
\r
629 (*carr)[i] = (long)(*jarr)[i];
\r
633 void SWIG_JavaArrayArgoutLong (JNIEnv *jenv, jint *jarr, long *carr, jintArray input) {
\r
635 jsize sz = jenv->GetArrayLength(input);
\r
636 for (i=0; i<sz; i++)
\r
637 jarr[i] = (jint)carr[i];
\r
638 jenv->ReleaseIntArrayElements(input, jarr, 0);
\r
641 jintArray SWIG_JavaArrayOutLong (JNIEnv *jenv, long *result, jsize sz) {
\r
644 jintArray jresult = jenv->NewIntArray(sz);
\r
647 arr = jenv->GetIntArrayElements(jresult, 0);
\r
650 for (i=0; i<sz; i++)
\r
651 arr[i] = (jint)result[i];
\r
652 jenv->ReleaseIntArrayElements(jresult, arr, 0);
\r
657 /* unsigned long[] support */
\r
658 int SWIG_JavaArrayInUlong (JNIEnv *jenv, jlong **jarr, unsigned long **carr, jlongArray input) {
\r
662 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
665 sz = jenv->GetArrayLength(input);
\r
666 *jarr = jenv->GetLongArrayElements(input, 0);
\r
669 *carr = new unsigned long[sz];
\r
671 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
674 for (i=0; i<sz; i++)
\r
675 (*carr)[i] = (unsigned long)(*jarr)[i];
\r
679 void SWIG_JavaArrayArgoutUlong (JNIEnv *jenv, jlong *jarr, unsigned long *carr, jlongArray input) {
\r
681 jsize sz = jenv->GetArrayLength(input);
\r
682 for (i=0; i<sz; i++)
\r
683 jarr[i] = (jlong)carr[i];
\r
684 jenv->ReleaseLongArrayElements(input, jarr, 0);
\r
687 jlongArray SWIG_JavaArrayOutUlong (JNIEnv *jenv, unsigned long *result, jsize sz) {
\r
690 jlongArray jresult = jenv->NewLongArray(sz);
\r
693 arr = jenv->GetLongArrayElements(jresult, 0);
\r
696 for (i=0; i<sz; i++)
\r
697 arr[i] = (jlong)result[i];
\r
698 jenv->ReleaseLongArrayElements(jresult, arr, 0);
\r
703 /* jlong[] support */
\r
704 int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) {
\r
708 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
711 sz = jenv->GetArrayLength(input);
\r
712 *jarr = jenv->GetLongArrayElements(input, 0);
\r
715 *carr = new jlong[sz];
\r
717 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
720 for (i=0; i<sz; i++)
\r
721 (*carr)[i] = (jlong)(*jarr)[i];
\r
725 void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input) {
\r
727 jsize sz = jenv->GetArrayLength(input);
\r
728 for (i=0; i<sz; i++)
\r
729 jarr[i] = (jlong)carr[i];
\r
730 jenv->ReleaseLongArrayElements(input, jarr, 0);
\r
733 jlongArray SWIG_JavaArrayOutLonglong (JNIEnv *jenv, jlong *result, jsize sz) {
\r
736 jlongArray jresult = jenv->NewLongArray(sz);
\r
739 arr = jenv->GetLongArrayElements(jresult, 0);
\r
742 for (i=0; i<sz; i++)
\r
743 arr[i] = (jlong)result[i];
\r
744 jenv->ReleaseLongArrayElements(jresult, arr, 0);
\r
749 /* float[] support */
\r
750 int SWIG_JavaArrayInFloat (JNIEnv *jenv, jfloat **jarr, float **carr, jfloatArray input) {
\r
754 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
757 sz = jenv->GetArrayLength(input);
\r
758 *jarr = jenv->GetFloatArrayElements(input, 0);
\r
761 *carr = new float[sz];
\r
763 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
766 for (i=0; i<sz; i++)
\r
767 (*carr)[i] = (float)(*jarr)[i];
\r
771 void SWIG_JavaArrayArgoutFloat (JNIEnv *jenv, jfloat *jarr, float *carr, jfloatArray input) {
\r
773 jsize sz = jenv->GetArrayLength(input);
\r
774 for (i=0; i<sz; i++)
\r
775 jarr[i] = (jfloat)carr[i];
\r
776 jenv->ReleaseFloatArrayElements(input, jarr, 0);
\r
779 jfloatArray SWIG_JavaArrayOutFloat (JNIEnv *jenv, float *result, jsize sz) {
\r
782 jfloatArray jresult = jenv->NewFloatArray(sz);
\r
785 arr = jenv->GetFloatArrayElements(jresult, 0);
\r
788 for (i=0; i<sz; i++)
\r
789 arr[i] = (jfloat)result[i];
\r
790 jenv->ReleaseFloatArrayElements(jresult, arr, 0);
\r
795 /* double[] support */
\r
796 int SWIG_JavaArrayInDouble (JNIEnv *jenv, jdouble **jarr, double **carr, jdoubleArray input) {
\r
800 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
803 sz = jenv->GetArrayLength(input);
\r
804 *jarr = jenv->GetDoubleArrayElements(input, 0);
\r
807 *carr = new double[sz];
\r
809 SWIG_JavaThrowException(jenv, SWIG_JavaOutOfMemoryError, "array memory allocation failed");
\r
812 for (i=0; i<sz; i++)
\r
813 (*carr)[i] = (double)(*jarr)[i];
\r
817 void SWIG_JavaArrayArgoutDouble (JNIEnv *jenv, jdouble *jarr, double *carr, jdoubleArray input) {
\r
819 jsize sz = jenv->GetArrayLength(input);
\r
820 for (i=0; i<sz; i++)
\r
821 jarr[i] = (jdouble)carr[i];
\r
822 jenv->ReleaseDoubleArrayElements(input, jarr, 0);
\r
825 jdoubleArray SWIG_JavaArrayOutDouble (JNIEnv *jenv, double *result, jsize sz) {
\r
828 jdoubleArray jresult = jenv->NewDoubleArray(sz);
\r
831 arr = jenv->GetDoubleArrayElements(jresult, 0);
\r
834 for (i=0; i<sz; i++)
\r
835 arr[i] = (jdouble)result[i];
\r
836 jenv->ReleaseDoubleArrayElements(jresult, arr, 0);
\r
843 #include <Standard_ErrorHandler.hxx>
\r
844 #include "jnistream.hxx"
\r
846 jdoubleArray XYZtoDoubleArray(JNIEnv* jenv, const gp_XYZ & xyz)
\r
848 jdouble nativeArray[]={xyz.X(), xyz.Y(), xyz.Z()};
\r
849 jdoubleArray toReturn=jenv->NewDoubleArray(3);
\r
850 jenv->SetDoubleArrayRegion(toReturn, 0, 3, nativeArray);
\r
854 #include <gp_Trsf.hxx>
\r
855 SWIGINTERN void gp_Trsf_getValues(gp_Trsf *self,double matrix[16]){
\r
857 for(int i=1; i<=3; i++)
\r
858 for(int j=1; j<=4; j++)
\r
859 matrix[k++]=self->Value(i,j);
\r
865 #include <gp_Circ.hxx>
\r
866 #include <gp_Parab.hxx>
\r
867 #include <TColStd_HArray1OfBoolean.hxx>
\r
868 #include <TColgp_HArray1OfPnt.hxx>
\r
869 #include <TColgp_Array1OfVec.hxx>
\r
870 #include <TColgp_Array1OfPnt.hxx>
\r
871 #include <TColgp_Array1OfPnt2d.hxx>
\r
872 #include <TColStd_Array1OfReal.hxx>
\r
874 #include <TopoDS_CompSolid.hxx>
\r
875 #include <TopoDS_Solid.hxx>
\r
876 #include <TopoDS_Shell.hxx>
\r
877 #include <TopoDS_Compound.hxx>
\r
878 #include <TopoDS_Wire.hxx>
\r
879 #include <TopoDS_Iterator.hxx>
\r
880 #include <TopoDS_Builder.hxx>
\r
882 SWIGINTERN jlong TopoDS_Shape_getTShape(TopoDS_Shape *self){
\r
883 return (jlong)&*self->TShape();
\r
885 #include <TopTools_ListIteratorOfListOfShape.hxx>
\r
887 #include <BRep_Tool.hxx>
\r
888 #include <Geom_Curve.hxx>
\r
889 #include <BRep_Builder.hxx>
\r
890 #include <TopoDS_Builder.hxx>
\r
892 SWIGINTERN Poly_Triangulation *BRep_Tool_triangulation(TopoDS_Face const &F,TopLoc_Location &L){
\r
893 Handle_Poly_Triangulation hgc=BRep_Tool::Triangulation(F,L);
\r
897 return (Poly_Triangulation*)(Standard_Transient*)hgc;
\r
899 SWIGINTERN void BRep_Tool_range(TopoDS_Edge const &E,double range[2]){
\r
900 BRep_Tool::Range(E, range[0], range[1]);
\r
902 SWIGINTERN Handle_Geom_Curve *BRep_Tool_curve(TopoDS_Edge const &E,Standard_Real &First,Standard_Real &Last){
\r
903 Handle_Geom_Curve * hgc=new Handle_Geom_Curve(BRep_Tool::Curve(E, First, Last));
\r
909 SWIGINTERN Handle_Geom_Surface *BRep_Tool_surface(TopoDS_Face const &F){
\r
910 Handle_Geom_Surface * hgc=new Handle_Geom_Surface(BRep_Tool::Surface(F));
\r
916 SWIGINTERN Handle_Geom2d_Curve *BRep_Tool_curveOnSurface(TopoDS_Edge const &E,TopoDS_Face const &F,Standard_Real &First,Standard_Real &Last){
\r
917 Handle_Geom2d_Curve * hgc=new Handle_Geom2d_Curve(BRep_Tool::CurveOnSurface(E, F, First, Last));
\r
923 #include "GeomLProp_SLProps.hxx"
\r
924 SWIGINTERN void GeomLProp_SLProps_normal(GeomLProp_SLProps *self,double normal[3]){
\r
925 if(!self->IsNormalDefined())
\r
933 const gp_Dir & d=self->Normal();
\r
939 SWIGINTERN void GeomLProp_SLProps_normalArray(GeomLProp_SLProps *self,double *uvNodes,double *normalArray,int numNodes){
\r
940 for(int i=0;i<numNodes;i++)
\r
942 self->SetParameters(uvNodes[2*i],uvNodes[2*i+1]);
\r
944 if(!self->IsNormalDefined())
\r
946 normalArray[3*i]=0;
\r
947 normalArray[3*i+1]=0;
\r
948 normalArray[3*i+2]=0;
\r
952 const gp_Dir & d=self->Normal();
\r
954 normalArray[3*i]=d.X();
\r
955 normalArray[3*i+1]=d.Y();
\r
956 normalArray[3*i+2]=d.Z();
\r
960 SWIGINTERN Standard_Real GeomLProp_SLProps_minCurvature(GeomLProp_SLProps *self){
\r
961 if (!self->IsCurvatureDefined())
\r
964 return self->MinCurvature ();
\r
966 SWIGINTERN Standard_Real GeomLProp_SLProps_maxCurvature(GeomLProp_SLProps *self){
\r
967 if (!self->IsCurvatureDefined())
\r
970 return self->MaxCurvature ();
\r
972 SWIGINTERN void GeomLProp_SLProps_curvatureDirection(GeomLProp_SLProps *self,double jmax[3],double jmin[3]){
\r
974 self->CurvatureDirections(max, min);
\r
983 #include <BRepTools.hxx>
\r
984 #include <BRepTools_ShapeSet.hxx>
\r
986 SWIGINTERN Standard_Boolean BRepTools_read__SWIG_1(TopoDS_Shape &shape,Standard_IStream &input,BRep_Builder const &builder){
\r
987 BRepTools_ShapeSet SS(builder);
\r
989 if(!SS.NbShapes()) return Standard_False;
\r
990 SS.Read(shape,input);
\r
991 return Standard_True;
\r
993 #include <BRepTools_WireExplorer.hxx>
\r
994 #include <BRepTools_Quilt.hxx>
\r
996 #include <BRepBuilderAPI_Transform.hxx>
\r
997 #include <BRepBuilderAPI_ModifyShape.hxx>
\r
998 #include <BRepBuilderAPI_MakeShape.hxx>
\r
999 #include <BRepBuilderAPI_MakeWire.hxx>
\r
1000 #include <BRepBuilderAPI_MakeVertex.hxx>
\r
1001 #include <BRepBuilderAPI_MakeEdge.hxx>
\r
1002 #include <BRepBuilderAPI_MakeFace.hxx>
\r
1003 #include <BRepBuilderAPI_MakeSolid.hxx>
\r
1004 #include <BRepBuilderAPI_NurbsConvert.hxx>
\r
1005 #include <Standard_Version.hxx>
\r
1006 #if OCC_VERSION_MAJOR >= 6
\r
1007 #include <BRepBuilderAPI_Sewing.hxx>
\r
1009 #include <BRepAlgo_Sewing.hxx>
\r
1010 #define BRepBuilderAPI_Sewing BRepAlgo_Sewing
\r
1014 #include <BRepOffsetAPI_NormalProjection.hxx>
\r
1017 #include <BRepPrimAPI_MakeBox.hxx>
\r
1018 #include <BRepPrimAPI_MakeCone.hxx>
\r
1019 #include <BRepPrimAPI_MakeBox.hxx>
\r
1020 #include <BRepPrimAPI_MakeTorus.hxx>
\r
1021 #include <BRepPrimAPI_MakeCylinder.hxx>
\r
1022 #include <BRepPrimAPI_MakeSphere.hxx>
\r
1023 #include <BRepPrimAPI_MakePrism.hxx>
\r
1024 #include <BRepPrimAPI_MakeRevol.hxx>
\r
1025 #include <BRepOffsetAPI_MakePipe.hxx>
\r
1027 #include <BRepAlgoAPI_BooleanOperation.hxx>
\r
1028 #include <BRepAlgoAPI_Fuse.hxx>
\r
1029 #include <BRepAlgoAPI_Common.hxx>
\r
1030 #include <BRepAlgoAPI_Cut.hxx>
\r
1031 #include <BRepAlgoAPI_Section.hxx>
\r
1032 #include <Poly_Triangulation.hxx>
\r
1034 #include <Geom_Curve.hxx>
\r
1035 #include <Geom_Surface.hxx>
\r
1036 #include <Geom2d_Curve.hxx>
\r
1037 #include <Geom_Geometry.hxx>
\r
1038 #include <Geom2d_Geometry.hxx>
\r
1039 #include <Geom_BoundedCurve.hxx>
\r
1040 #include <Geom_BSplineCurve.hxx>
\r
1041 #include <Geom_TrimmedCurve.hxx>
\r
1043 SWIGINTERN Standard_Real Handle_Geom_Curve_firstParameter(Handle_Geom_Curve *self){
\r
1044 return (*self)->FirstParameter();
\r
1046 SWIGINTERN Standard_Real Handle_Geom_Curve_lastParameter(Handle_Geom_Curve *self){
\r
1047 return (*self)->LastParameter();
\r
1049 SWIGINTERN Standard_Boolean Handle_Geom_Curve_isClosed(Handle_Geom_Curve *self){
\r
1050 return (*self)->IsClosed();
\r
1052 SWIGINTERN Standard_Boolean Handle_Geom_Curve_isPeriodic(Handle_Geom_Curve *self){
\r
1053 return (*self)->IsPeriodic();
\r
1055 SWIGINTERN Standard_Real Handle_Geom_Curve_period(Handle_Geom_Curve *self){
\r
1056 return (*self)->Period();
\r
1058 SWIGINTERN gp_Pnt Handle_Geom_Surface_value(Handle_Geom_Surface const *self,Standard_Real const U,Standard_Real const V){
\r
1059 return (*self)->Value(U, V);
\r
1061 SWIGINTERN void Handle_Geom_Surface_bounds__SWIG_0(Handle_Geom_Surface const *self,double bounds[4]){
\r
1062 (*self)->Bounds(bounds[0], bounds[1], bounds[2], bounds[3]);
\r
1064 SWIGINTERN void Handle_Geom_Surface_bounds__SWIG_1(Handle_Geom_Surface const *self,Standard_Real &U1,Standard_Real &U2,Standard_Real &V1,Standard_Real &V2){
\r
1065 (*self)->Bounds(U1,U2,V1,V2);
\r
1067 SWIGINTERN Standard_Boolean Handle_Geom_Surface_isUClosed(Handle_Geom_Surface const *self){
\r
1068 return (*self)->IsUClosed();
\r
1070 SWIGINTERN Standard_Boolean Handle_Geom_Surface_isVClosed(Handle_Geom_Surface const *self){
\r
1071 return (*self)->IsVClosed();
\r
1073 SWIGINTERN Handle_Geom_Curve Handle_Geom_Surface_uIso(Handle_Geom_Surface const *self,Standard_Real const U){
\r
1074 return (*self)->UIso(U);
\r
1076 SWIGINTERN Handle_Geom_Curve Handle_Geom_Surface_vIso(Handle_Geom_Surface const *self,Standard_Real const V){
\r
1077 return (*self)->VIso(V);
\r
1079 SWIGINTERN Handle_Geom_BSplineCurve *new_Handle_Geom_BSplineCurve__SWIG_0(TColgp_Array1OfPnt const &Poles,TColStd_Array1OfReal const &Weights,TColStd_Array1OfReal const &Knots,TColStd_Array1OfInteger const &Multiplicities,Standard_Integer const Degree,Standard_Boolean const Periodic=Standard_False,Standard_Boolean const CheckRational=Standard_True){
\r
1080 return new Handle_Geom_BSplineCurve(new Geom_BSplineCurve(
\r
1081 Poles, Weights, Knots, Multiplicities, Degree, Periodic, CheckRational));
\r
1083 SWIGINTERN void Handle_Geom_BSplineCurve_setKnot__SWIG_0(Handle_Geom_BSplineCurve *self,Standard_Integer const Index,Standard_Real const K){
\r
1084 (*self)->SetKnot(Index,K);
\r
1086 SWIGINTERN void Handle_Geom_BSplineCurve_setKnot__SWIG_1(Handle_Geom_BSplineCurve *self,Standard_Integer const Index,Standard_Real const K,Standard_Integer const M){
\r
1087 (*self)->SetKnot(Index,K,M);
\r
1089 SWIGINTERN void Handle_Geom_BSplineCurve_setPeriodic(Handle_Geom_BSplineCurve *self){
\r
1090 (*self)->SetPeriodic();
\r
1092 SWIGINTERN void Handle_Geom_BSplineCurve_setNotPeriodic(Handle_Geom_BSplineCurve *self){
\r
1093 (*self)->SetNotPeriodic();
\r
1095 SWIGINTERN void Handle_Geom_BSplineCurve_setOrigin__SWIG_0(Handle_Geom_BSplineCurve *self,Standard_Integer const Index){
\r
1096 (*self)->SetOrigin(Index);
\r
1098 SWIGINTERN void Handle_Geom_BSplineCurve_setOrigin__SWIG_1(Handle_Geom_BSplineCurve *self,Standard_Real const U,Standard_Real const Tol){
\r
1099 (*self)->SetOrigin(U,Tol);
\r
1101 SWIGINTERN void Handle_Geom_BSplineCurve_setPole__SWIG_0(Handle_Geom_BSplineCurve *self,Standard_Integer const Index,gp_Pnt const &P){
\r
1102 (*self)->SetPole(Index,P);
\r
1104 SWIGINTERN void Handle_Geom_BSplineCurve_setPole__SWIG_1(Handle_Geom_BSplineCurve *self,Standard_Integer const Index,gp_Pnt const &P,Standard_Real const Weight){
\r
1105 (*self)->SetPole(Index,P,Weight);
\r
1107 SWIGINTERN void Handle_Geom_BSplineCurve_movePoint(Handle_Geom_BSplineCurve *self,Standard_Real const U,gp_Pnt const &P,Standard_Integer const Index1,Standard_Integer const Index2,Standard_Integer &FirstModifiedPole,Standard_Integer &LastModifiedPole){
\r
1108 (*self)->MovePoint(U,P,Index1,Index2,FirstModifiedPole,LastModifiedPole);
\r
1110 SWIGINTERN void Handle_Geom_BSplineCurve_movePointAndTangent(Handle_Geom_BSplineCurve *self,Standard_Real const U,gp_Pnt const &P,gp_Vec const &Tangent,Standard_Real const Tolerance,Standard_Integer const StartingCondition,Standard_Integer const EndingCondition){
\r
1111 Standard_Integer ErrorStatus =0;
\r
1112 (*self)->MovePointAndTangent(U,P,Tangent,Tolerance,StartingCondition,EndingCondition,ErrorStatus);
\r
1114 SWIGINTERN Standard_Boolean Handle_Geom_BSplineCurve_isClosed(Handle_Geom_BSplineCurve const *self){
\r
1115 return (*self)->IsClosed();
\r
1117 SWIGINTERN Standard_Boolean Handle_Geom_BSplineCurve_isPeriodic(Handle_Geom_BSplineCurve const *self){
\r
1118 return (*self)->IsPeriodic();
\r
1120 SWIGINTERN Standard_Boolean Handle_Geom_BSplineCurve_isRational(Handle_Geom_BSplineCurve const *self){
\r
1121 return (*self)->IsRational();
\r
1123 SWIGINTERN GeomAbs_Shape Handle_Geom_BSplineCurve_continuity(Handle_Geom_BSplineCurve const *self){
\r
1124 return (*self)->Continuity();
\r
1126 SWIGINTERN Standard_Integer Handle_Geom_BSplineCurve_Degree(Handle_Geom_BSplineCurve const *self){
\r
1127 return (*self)->Degree();
\r
1129 SWIGINTERN gp_Pnt Handle_Geom_BSplineCurve_localValue(Handle_Geom_BSplineCurve const *self,Standard_Real const U,Standard_Integer const FromK1,Standard_Integer const ToK2){
\r
1130 return (*self)->LocalValue(U,FromK1,ToK2);
\r
1132 SWIGINTERN gp_Pnt Handle_Geom_BSplineCurve_endPoint(Handle_Geom_BSplineCurve const *self){
\r
1133 return (*self)->EndPoint();
\r
1135 SWIGINTERN gp_Pnt Handle_Geom_BSplineCurve_startPoint(Handle_Geom_BSplineCurve const *self){
\r
1136 return (*self)->StartPoint();
\r
1138 SWIGINTERN Standard_Integer Handle_Geom_BSplineCurve_nbKnots(Handle_Geom_BSplineCurve const *self){
\r
1139 return (*self)->NbKnots();
\r
1141 SWIGINTERN Standard_Integer Handle_Geom_BSplineCurve_nbPoles(Handle_Geom_BSplineCurve const *self){
\r
1142 return (*self)->NbPoles();
\r
1144 SWIGINTERN gp_Pnt Handle_Geom_BSplineCurve_pole(Handle_Geom_BSplineCurve const *self,Standard_Integer const Index){
\r
1145 return (*self)->Pole(Index);
\r
1147 SWIGINTERN Standard_Real Handle_Geom_BSplineCurve_weight(Handle_Geom_BSplineCurve const *self,Standard_Integer const Index){
\r
1148 return (*self)->Weight(Index);
\r
1151 #include <BRepLib.hxx>
\r
1153 #include <BRepFilletAPI_MakeFillet.hxx>
\r
1154 #include <BRepFilletAPI_MakeChamfer.hxx>
\r
1155 #include <BRepCheck_Analyzer.hxx>
\r
1156 #include <ShapeBuild_ReShape.hxx>
\r
1158 #include <STEPControl_Reader.hxx>
\r
1159 #include <IGESControl_Reader.hxx>
\r
1160 #include <XSControl_WorkSession.hxx>
\r
1161 #include <XSControl_TransferReader.hxx>
\r
1162 #include <StepRepr_RepresentationItem.hxx>
\r
1163 #include <TCollection_HAsciiString.hxx>
\r
1164 #include <IGESData_IGESEntity.hxx>
\r
1165 #include <TransferBRep.hxx>
\r
1166 #include <Transfer_Binder.hxx>
\r
1167 #include <Transfer_TransientProcess.hxx>
\r
1168 #include <Interface_InterfaceModel.hxx>
\r
1169 #include <iostream>
\r
1171 SWIGINTERN IFSelect_ReturnStatus XSControl_Reader_readFile__SWIG_1(XSControl_Reader *self,jbyte filename[]){
\r
1172 return self->ReadFile((char*)filename);
\r
1174 SWIGINTERN char const *STEPControl_Reader_getLabel(STEPControl_Reader *self,TopoDS_Shape *theShape){
\r
1175 const Handle(XSControl_WorkSession)& theSession = self->WS();
\r
1176 const Handle(XSControl_TransferReader)& aReader = theSession->TransferReader();
\r
1177 Handle(Standard_Transient) anEntity = aReader->EntityFromShapeResult(*theShape, 1);
\r
1178 if (anEntity.IsNull()) {
\r
1180 anEntity = aReader->EntityFromShapeResult (*theShape,-1);
\r
1183 if (anEntity.IsNull()) {
\r
1185 anEntity = aReader->EntityFromShapeResult (*theShape,4);
\r
1188 if (anEntity.IsNull()) {
\r
1189 cout<<"Warning: XSInterface_STEPReader::ReadAttributes() entity not found"<<endl;
\r
1194 Handle(StepRepr_RepresentationItem) aReprItem;
\r
1195 aReprItem = Handle(StepRepr_RepresentationItem)::DownCast(anEntity);
\r
1197 if (aReprItem.IsNull()) {
\r
1198 cout<<"Error: STEPReader::ReadAttributes(): StepRepr_RepresentationItem Is NULL"<<endl;
\r
1202 return aReprItem->Name()->ToCString();
\r
1205 SWIGINTERN char const *IGESControl_Reader_getLabel(IGESControl_Reader *self,TopoDS_Shape theShape){
\r
1206 const Handle(XSControl_WorkSession)& theSession = self->WS();
\r
1207 const Handle(Interface_InterfaceModel)& theModel = theSession->Model();
\r
1208 const Handle(XSControl_TransferReader)& aReader = theSession->TransferReader();
\r
1209 const Handle(Transfer_TransientProcess)& tp = aReader->TransientProcess();
\r
1210 Standard_Integer nb = theModel->NbEntities();
\r
1211 for(Standard_Integer i=1; i<=nb; i++)
\r
1213 Handle(IGESData_IGESEntity) ent = Handle(IGESData_IGESEntity)::DownCast(theModel->Value(i));
\r
1218 Handle(Transfer_Binder) binder = tp->Find(ent);
\r
1220 if (binder.IsNull())
\r
1222 TopoDS_Shape oneShape = TransferBRep::ShapeResult(binder);
\r
1223 if (oneShape.IsNull())
\r
1225 if (oneShape.IsEqual(theShape))
\r
1227 if (ent->HasName())
\r
1228 return ent->NameValue()->String().ToCString();
\r
1235 SWIGINTERN TopoDS_Shape IGESControl_Reader_getShape(IGESControl_Reader *self,char *shapeName){
\r
1236 const TCollection_AsciiString ascShapeName(shapeName);
\r
1237 const Handle(XSControl_WorkSession)& theSession = self->WS();
\r
1238 const Handle(Interface_InterfaceModel)& theModel = theSession->Model();
\r
1239 const Handle(XSControl_TransferReader)& aReader = theSession->TransferReader();
\r
1240 const Handle(Transfer_TransientProcess)& tp = aReader->TransientProcess();
\r
1241 Standard_Integer nb = theModel->NbEntities();
\r
1242 TopoDS_Shape retShape;
\r
1243 for(Standard_Integer i=1; i<=nb; i++)
\r
1245 Handle(IGESData_IGESEntity) ent = Handle(IGESData_IGESEntity)::DownCast(theModel->Value(i));
\r
1249 Handle(Transfer_Binder) binder = tp->Find(ent);
\r
1251 if (binder.IsNull())
\r
1253 TopoDS_Shape oneShape = TransferBRep::ShapeResult(binder);
\r
1255 if (oneShape.IsNull())
\r
1258 if (ent->HasName() && ent->NameValue()->String().IsEqual(ascShapeName))
\r
1259 retShape = oneShape;
\r
1263 SWIGINTERN void IGESControl_Reader_dumpLabels(IGESControl_Reader *self){
\r
1264 const Handle(XSControl_WorkSession)& theSession = self->WS();
\r
1265 const Handle(Interface_InterfaceModel)& theModel = theSession->Model();
\r
1266 Standard_Integer nb = theModel->NbEntities();
\r
1267 for(Standard_Integer i=1; i<=nb; i++)
\r
1269 Handle(IGESData_IGESEntity) ent = Handle(IGESData_IGESEntity)::DownCast(theModel->Value(i));
\r
1270 if (ent.IsNull()) continue;
\r
1271 if (ent->HasName())
\r
1273 std::cout << ent->NameValue()->String().ToCString() << std::endl;
\r
1278 #include <STEPControl_Writer.hxx>
\r
1281 #include <IGESControl_Writer.hxx>
\r
1284 #include <IGESControl_Controller.hxx>
\r
1286 #include <ShapeFix_Wireframe.hxx>
\r
1287 #include <ShapeFix_Root.hxx>
\r
1288 #include <ShapeBuild_ReShape.hxx>
\r
1289 SWIGINTERN ShapeBuild_ReShape *ShapeFix_Root_getContext(ShapeFix_Root *self){
\r
1290 Standard_Transient * p = self->Context();
\r
1291 return dynamic_cast<ShapeBuild_ReShape *>(p);
\r
1293 SWIGINTERN void ShapeFix_Wireframe_setDropSmallEdges(ShapeFix_Wireframe *self,bool b){
\r
1294 self->ModeDropSmallEdges()=b;
\r
1296 SWIGINTERN bool ShapeFix_Wireframe_getDropSmallEdges(ShapeFix_Wireframe *self){
\r
1297 return self->ModeDropSmallEdges()!=0;
\r
1300 #include <APIHeaderSection_MakeHeader.hxx>
\r
1302 #include <ShapeUpgrade_RemoveInternalWires.hxx>
\r
1303 #include <ShapeUpgrade_Tool.hxx>
\r
1304 #include <ShapeUpgrade_ShapeDivideArea.hxx>
\r
1305 SWIGINTERN void ShapeUpgrade_RemoveInternalWires_setMinArea(ShapeUpgrade_RemoveInternalWires *self,double d){
\r
1306 self->MinArea()=d;
\r
1308 SWIGINTERN double ShapeUpgrade_RemoveInternalWires_getMinArea(ShapeUpgrade_RemoveInternalWires *self){
\r
1309 return self->MinArea();
\r
1311 SWIGINTERN void ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(ShapeUpgrade_RemoveInternalWires *self,Standard_Boolean b){
\r
1312 self->RemoveFaceMode()=b;
\r
1314 SWIGINTERN Standard_Boolean ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(ShapeUpgrade_RemoveInternalWires *self){
\r
1315 return self->RemoveFaceMode();
\r
1317 SWIGINTERN void ShapeUpgrade_ShapeDivideArea_setMaxArea(ShapeUpgrade_ShapeDivideArea *self,double d){
\r
1318 self->MaxArea()=d;
\r
1320 SWIGINTERN double ShapeUpgrade_ShapeDivideArea_getMaxArea(ShapeUpgrade_ShapeDivideArea *self){
\r
1321 return self->MaxArea();
\r
1323 #include <GeomAPI_PointsToBSpline.hxx>
\r
1324 #include <GeomAPI_Interpolate.hxx>
\r
1325 #include <GC_MakeArcOfCircle.hxx>
\r
1326 #include "TopExp_Explorer.hxx"
\r
1327 #include "Bnd_Box.hxx"
\r
1328 SWIGINTERN void Bnd_Box_get(Bnd_Box *self,double box[6]){
\r
1329 if(!self->IsVoid())
\r
1330 self->Get(box[0], box[1], box[2], box[3], box[4], box[5]);
\r
1332 #include "BRepBndLib.hxx"
\r
1333 #include "Adaptor2d_Curve2d.hxx"
\r
1334 #include "Geom2dAdaptor_Curve.hxx"
\r
1335 #include "Adaptor3d_Curve.hxx"
\r
1336 SWIGINTERN void Adaptor3d_Curve_arrayValues(Adaptor3d_Curve *self,int size,double u[]){
\r
1337 for (int i = 0; i < size; i++)
\r
1339 gp_Pnt gp=self->Value(u[3*i]);
\r
1341 u[3*i+1] = gp.Y();
\r
1342 u[3*i+2] = gp.Z();
\r
1345 #include "GeomAdaptor_Curve.hxx"
\r
1346 #include "GProp_GProps.hxx"
\r
1347 #include "BRepGProp.hxx"
\r
1348 #include <ShapeAnalysis_FreeBounds.hxx>
\r
1349 #include <GCPnts_UniformDeflection.hxx>
\r
1350 #include <BRepMesh_DiscretRoot.hxx>
\r
1351 #include <BRepMesh_IncrementalMesh.hxx>
\r
1352 #include <GeomAPI_ProjectPointOnSurf.hxx>
\r
1353 #include <BRepAlgo.hxx>
\r
1355 #ifdef __cplusplus
\r
1359 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GP_1Trsf(JNIEnv *jenv, jclass jcls) {
\r
1360 jlong jresult = 0 ;
\r
1361 gp_Trsf *result = 0 ;
\r
1365 result = (gp_Trsf *)new gp_Trsf();
\r
1366 *(gp_Trsf **)&jresult = result;
\r
1371 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GP_1Trsf_1setRotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdouble jarg3) {
\r
1372 gp_Trsf *arg1 = (gp_Trsf *) 0 ;
\r
1373 gp_Ax1 *arg2 = 0 ;
\r
1374 Standard_Real arg3 ;
\r
1379 arg1 = *(gp_Trsf **)&jarg1;
\r
1381 if(jenv->GetArrayLength(jarg2)!=6)
\r
1382 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
1383 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
1384 arg2=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
1386 arg3 = (Standard_Real)jarg3;
\r
1387 (arg1)->SetRotation((gp_Ax1 const &)*arg2,arg3);
\r
1394 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GP_1Trsf_1setTranslation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
1395 gp_Trsf *arg1 = (gp_Trsf *) 0 ;
\r
1396 gp_Vec *arg2 = 0 ;
\r
1401 arg1 = *(gp_Trsf **)&jarg1;
\r
1403 if(jenv->GetArrayLength(jarg2)!=3)
\r
1404 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
1405 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
1406 arg2=new gp_Vec(naxe[0],naxe[1],naxe[2]);
\r
1408 (arg1)->SetTranslation((gp_Vec const &)*arg2);
\r
1415 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GP_1Trsf_1setValues(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3, jdouble jarg4, jdouble jarg5, jdouble jarg6, jdouble jarg7, jdouble jarg8, jdouble jarg9, jdouble jarg10, jdouble jarg11, jdouble jarg12, jdouble jarg13, jdouble jarg14, jdouble jarg15) {
\r
1416 gp_Trsf *arg1 = (gp_Trsf *) 0 ;
\r
1417 Standard_Real arg2 ;
\r
1418 Standard_Real arg3 ;
\r
1419 Standard_Real arg4 ;
\r
1420 Standard_Real arg5 ;
\r
1421 Standard_Real arg6 ;
\r
1422 Standard_Real arg7 ;
\r
1423 Standard_Real arg8 ;
\r
1424 Standard_Real arg9 ;
\r
1425 Standard_Real arg10 ;
\r
1426 Standard_Real arg11 ;
\r
1427 Standard_Real arg12 ;
\r
1428 Standard_Real arg13 ;
\r
1429 Standard_Real arg14 ;
\r
1430 Standard_Real arg15 ;
\r
1435 arg1 = *(gp_Trsf **)&jarg1;
\r
1436 arg2 = (Standard_Real)jarg2;
\r
1437 arg3 = (Standard_Real)jarg3;
\r
1438 arg4 = (Standard_Real)jarg4;
\r
1439 arg5 = (Standard_Real)jarg5;
\r
1440 arg6 = (Standard_Real)jarg6;
\r
1441 arg7 = (Standard_Real)jarg7;
\r
1442 arg8 = (Standard_Real)jarg8;
\r
1443 arg9 = (Standard_Real)jarg9;
\r
1444 arg10 = (Standard_Real)jarg10;
\r
1445 arg11 = (Standard_Real)jarg11;
\r
1446 arg12 = (Standard_Real)jarg12;
\r
1447 arg13 = (Standard_Real)jarg13;
\r
1448 arg14 = (Standard_Real)jarg14;
\r
1449 arg15 = (Standard_Real)jarg15;
\r
1450 (arg1)->SetValues(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
\r
1454 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GP_1Trsf_1getValues(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
1455 gp_Trsf *arg1 = (gp_Trsf *) 0 ;
\r
1462 arg1 = *(gp_Trsf **)&jarg1;
\r
1463 if (jarg2 && jenv->GetArrayLength(jarg2) != 16) {
\r
1464 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
1467 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
1468 gp_Trsf_getValues(arg1,arg2);
\r
1469 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
1474 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GP_1Trsf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1475 gp_Trsf *arg1 = (gp_Trsf *) 0 ;
\r
1479 arg1 = *(gp_Trsf **)&jarg1;
\r
1484 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GP_1Circ(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2) {
\r
1485 jlong jresult = 0 ;
\r
1486 gp_Ax2 *arg1 = 0 ;
\r
1487 Standard_Real arg2 ;
\r
1488 gp_Circ *result = 0 ;
\r
1493 if(jenv->GetArrayLength(jarg1)!=6)
\r
1494 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
1495 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
1496 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
1498 arg2 = (Standard_Real)jarg2;
\r
1499 result = (gp_Circ *)new gp_Circ((gp_Ax2 const &)*arg1,arg2);
\r
1500 *(gp_Circ **)&jresult = result;
\r
1508 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GP_1Circ(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1509 gp_Circ *arg1 = (gp_Circ *) 0 ;
\r
1513 arg1 = *(gp_Circ **)&jarg1;
\r
1518 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GP_1Parab_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2) {
\r
1519 jlong jresult = 0 ;
\r
1520 gp_Ax2 *arg1 = 0 ;
\r
1521 Standard_Real arg2 ;
\r
1522 gp_Parab *result = 0 ;
\r
1527 if(jenv->GetArrayLength(jarg1)!=6)
\r
1528 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
1529 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
1530 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
1532 arg2 = (Standard_Real)jarg2;
\r
1533 result = (gp_Parab *)new gp_Parab((gp_Ax2 const &)*arg1,arg2);
\r
1534 *(gp_Parab **)&jresult = result;
\r
1542 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GP_1Parab_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2) {
\r
1543 jlong jresult = 0 ;
\r
1544 gp_Ax1 *arg1 = 0 ;
\r
1545 gp_Pnt *arg2 = 0 ;
\r
1546 gp_Parab *result = 0 ;
\r
1551 if(jenv->GetArrayLength(jarg1)!=6)
\r
1552 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
1553 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
1554 arg1=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
1557 if(jenv->GetArrayLength(jarg2)!=3)
\r
1558 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
1559 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
1560 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
1562 result = (gp_Parab *)new gp_Parab((gp_Ax1 const &)*arg1,(gp_Pnt const &)*arg2);
\r
1563 *(gp_Parab **)&jresult = result;
\r
1574 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GP_1Parab(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1575 gp_Parab *arg1 = (gp_Parab *) 0 ;
\r
1579 arg1 = *(gp_Parab **)&jarg1;
\r
1584 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Handle_1TColStd_1HArray1OfBoolean(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1585 Handle_TColStd_HArray1OfBoolean *arg1 = (Handle_TColStd_HArray1OfBoolean *) 0 ;
\r
1589 arg1 = *(Handle_TColStd_HArray1OfBoolean **)&jarg1;
\r
1594 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Handle_1TColgp_1HArray1OfPnt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1595 Handle_TColgp_HArray1OfPnt *arg1 = (Handle_TColgp_HArray1OfPnt *) 0 ;
\r
1599 arg1 = *(Handle_TColgp_HArray1OfPnt **)&jarg1;
\r
1604 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1shapeType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1605 jint jresult = 0 ;
\r
1606 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1607 TopAbs_ShapeEnum result;
\r
1612 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1613 result = (TopAbs_ShapeEnum)(arg1)->ShapeType();
\r
1614 jresult = (jint)result;
\r
1619 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1nativeIsSame(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
1620 jboolean jresult = 0 ;
\r
1621 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1622 TopoDS_Shape *arg2 = 0 ;
\r
1623 Standard_Boolean result;
\r
1629 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1630 arg2 = *(TopoDS_Shape **)&jarg2;
\r
1632 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
1635 result = ((TopoDS_Shape const *)arg1)->IsSame((TopoDS_Shape const &)*arg2);
\r
1636 jresult = (jboolean)result;
\r
1641 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1orientation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1642 jint jresult = 0 ;
\r
1643 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1644 TopAbs_Orientation result;
\r
1649 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1650 result = (TopAbs_Orientation)((TopoDS_Shape const *)arg1)->Orientation();
\r
1651 jresult = (jint)result;
\r
1656 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1reverse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1657 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1662 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1663 (arg1)->Reverse();
\r
1667 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1reversed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1668 jlong jresult = 0 ;
\r
1669 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1670 TopoDS_Shape result;
\r
1675 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1676 result = ((TopoDS_Shape const *)arg1)->Reversed();
\r
1678 if((&result)->IsNull())
\r
1680 jresult=0L; //NULL
\r
1684 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
1685 tsp->TShape((&result)->TShape());
\r
1686 tsp->Location((&result)->Location());
\r
1687 tsp->Orientation((&result)->Orientation());
\r
1688 jresult=(jlong)tsp;
\r
1695 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1hashCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
1696 jint jresult = 0 ;
\r
1697 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1698 Standard_Integer arg2 ;
\r
1699 Standard_Integer result;
\r
1704 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1705 arg2 = (Standard_Integer)jarg2;
\r
1706 result = (Standard_Integer)((TopoDS_Shape const *)arg1)->HashCode(arg2);
\r
1707 jresult = (jint)result;
\r
1712 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1free_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1713 jboolean jresult = 0 ;
\r
1714 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1715 Standard_Boolean result;
\r
1720 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1721 result = ((TopoDS_Shape const *)arg1)->Free();
\r
1722 jresult = (jboolean)result;
\r
1727 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1free_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
1728 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1729 Standard_Boolean arg2 ;
\r
1734 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1738 (arg1)->Free(arg2);
\r
1742 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shape_1getTShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
1743 jlong jresult = 0 ;
\r
1744 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1750 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1751 result = TopoDS_Shape_getTShape(arg1);
\r
1752 jresult = result;
\r
1757 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Shape(JNIEnv *jenv, jclass jcls) {
\r
1758 jlong jresult = 0 ;
\r
1759 TopoDS_Shape *result = 0 ;
\r
1763 result = (TopoDS_Shape *)new TopoDS_Shape();
\r
1764 *(TopoDS_Shape **)&jresult = result;
\r
1769 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Shape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1770 TopoDS_Shape *arg1 = (TopoDS_Shape *) 0 ;
\r
1774 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1779 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Compound(JNIEnv *jenv, jclass jcls) {
\r
1780 jlong jresult = 0 ;
\r
1781 TopoDS_Compound *result = 0 ;
\r
1785 result = (TopoDS_Compound *)new TopoDS_Compound();
\r
1786 *(TopoDS_Compound **)&jresult = result;
\r
1791 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Compound(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1792 TopoDS_Compound *arg1 = (TopoDS_Compound *) 0 ;
\r
1796 arg1 = *(TopoDS_Compound **)&jarg1;
\r
1801 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1CompSolid(JNIEnv *jenv, jclass jcls) {
\r
1802 jlong jresult = 0 ;
\r
1803 TopoDS_CompSolid *result = 0 ;
\r
1807 result = (TopoDS_CompSolid *)new TopoDS_CompSolid();
\r
1808 *(TopoDS_CompSolid **)&jresult = result;
\r
1813 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1CompSolid(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1814 TopoDS_CompSolid *arg1 = (TopoDS_CompSolid *) 0 ;
\r
1818 arg1 = *(TopoDS_CompSolid **)&jarg1;
\r
1823 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Solid(JNIEnv *jenv, jclass jcls) {
\r
1824 jlong jresult = 0 ;
\r
1825 TopoDS_Solid *result = 0 ;
\r
1829 result = (TopoDS_Solid *)new TopoDS_Solid();
\r
1830 *(TopoDS_Solid **)&jresult = result;
\r
1835 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Solid(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1836 TopoDS_Solid *arg1 = (TopoDS_Solid *) 0 ;
\r
1840 arg1 = *(TopoDS_Solid **)&jarg1;
\r
1845 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Shell(JNIEnv *jenv, jclass jcls) {
\r
1846 jlong jresult = 0 ;
\r
1847 TopoDS_Shell *result = 0 ;
\r
1851 result = (TopoDS_Shell *)new TopoDS_Shell();
\r
1852 *(TopoDS_Shell **)&jresult = result;
\r
1857 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Shell(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1858 TopoDS_Shell *arg1 = (TopoDS_Shell *) 0 ;
\r
1862 arg1 = *(TopoDS_Shell **)&jarg1;
\r
1867 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Face(JNIEnv *jenv, jclass jcls) {
\r
1868 jlong jresult = 0 ;
\r
1869 TopoDS_Face *result = 0 ;
\r
1873 result = (TopoDS_Face *)new TopoDS_Face();
\r
1874 *(TopoDS_Face **)&jresult = result;
\r
1879 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Face(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1880 TopoDS_Face *arg1 = (TopoDS_Face *) 0 ;
\r
1884 arg1 = *(TopoDS_Face **)&jarg1;
\r
1889 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Wire(JNIEnv *jenv, jclass jcls) {
\r
1890 jlong jresult = 0 ;
\r
1891 TopoDS_Wire *result = 0 ;
\r
1895 result = (TopoDS_Wire *)new TopoDS_Wire();
\r
1896 *(TopoDS_Wire **)&jresult = result;
\r
1901 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Wire(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1902 TopoDS_Wire *arg1 = (TopoDS_Wire *) 0 ;
\r
1906 arg1 = *(TopoDS_Wire **)&jarg1;
\r
1911 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Edge(JNIEnv *jenv, jclass jcls) {
\r
1912 jlong jresult = 0 ;
\r
1913 TopoDS_Edge *result = 0 ;
\r
1917 result = (TopoDS_Edge *)new TopoDS_Edge();
\r
1918 *(TopoDS_Edge **)&jresult = result;
\r
1923 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Edge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1924 TopoDS_Edge *arg1 = (TopoDS_Edge *) 0 ;
\r
1928 arg1 = *(TopoDS_Edge **)&jarg1;
\r
1933 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Vertex(JNIEnv *jenv, jclass jcls) {
\r
1934 jlong jresult = 0 ;
\r
1935 TopoDS_Vertex *result = 0 ;
\r
1939 result = (TopoDS_Vertex *)new TopoDS_Vertex();
\r
1940 *(TopoDS_Vertex **)&jresult = result;
\r
1945 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Vertex(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
1946 TopoDS_Vertex *arg1 = (TopoDS_Vertex *) 0 ;
\r
1950 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
1955 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Iterator_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
1956 jlong jresult = 0 ;
\r
1957 TopoDS_Iterator *result = 0 ;
\r
1961 result = (TopoDS_Iterator *)new TopoDS_Iterator();
\r
1962 *(TopoDS_Iterator **)&jresult = result;
\r
1967 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Iterator_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jboolean jarg3) {
\r
1968 jlong jresult = 0 ;
\r
1969 TopoDS_Shape *arg1 = 0 ;
\r
1970 Standard_Boolean arg2 ;
\r
1971 Standard_Boolean arg3 ;
\r
1972 TopoDS_Iterator *result = 0 ;
\r
1977 arg1 = *(TopoDS_Shape **)&jarg1;
\r
1979 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
1988 result = (TopoDS_Iterator *)new TopoDS_Iterator((TopoDS_Shape const &)*arg1,arg2,arg3);
\r
1989 *(TopoDS_Iterator **)&jresult = result;
\r
1994 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Iterator_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
1995 jlong jresult = 0 ;
\r
1996 TopoDS_Shape *arg1 = 0 ;
\r
1997 Standard_Boolean arg2 ;
\r
1998 TopoDS_Iterator *result = 0 ;
\r
2003 arg1 = *(TopoDS_Shape **)&jarg1;
\r
2005 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2011 result = (TopoDS_Iterator *)new TopoDS_Iterator((TopoDS_Shape const &)*arg1,arg2);
\r
2012 *(TopoDS_Iterator **)&jresult = result;
\r
2017 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopoDS_1Iterator_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2018 jlong jresult = 0 ;
\r
2019 TopoDS_Shape *arg1 = 0 ;
\r
2020 TopoDS_Iterator *result = 0 ;
\r
2025 arg1 = *(TopoDS_Shape **)&jarg1;
\r
2027 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2030 result = (TopoDS_Iterator *)new TopoDS_Iterator((TopoDS_Shape const &)*arg1);
\r
2031 *(TopoDS_Iterator **)&jresult = result;
\r
2036 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1initialize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3, jboolean jarg4) {
\r
2037 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2038 TopoDS_Shape *arg2 = 0 ;
\r
2039 Standard_Boolean arg3 ;
\r
2040 Standard_Boolean arg4 ;
\r
2046 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2047 arg2 = *(TopoDS_Shape **)&jarg2;
\r
2049 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2058 (arg1)->Initialize((TopoDS_Shape const &)*arg2,arg3,arg4);
\r
2062 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1initialize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
2063 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2064 TopoDS_Shape *arg2 = 0 ;
\r
2065 Standard_Boolean arg3 ;
\r
2071 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2072 arg2 = *(TopoDS_Shape **)&jarg2;
\r
2074 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2080 (arg1)->Initialize((TopoDS_Shape const &)*arg2,arg3);
\r
2084 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1initialize_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2085 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2086 TopoDS_Shape *arg2 = 0 ;
\r
2092 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2093 arg2 = *(TopoDS_Shape **)&jarg2;
\r
2095 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2098 (arg1)->Initialize((TopoDS_Shape const &)*arg2);
\r
2102 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1more(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2103 jboolean jresult = 0 ;
\r
2104 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2105 Standard_Boolean result;
\r
2110 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2111 result = ((TopoDS_Iterator const *)arg1)->More();
\r
2112 jresult = (jboolean)result;
\r
2117 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2118 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2123 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2128 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Iterator_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2129 jlong jresult = 0 ;
\r
2130 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2131 TopoDS_Shape *result = 0 ;
\r
2136 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2137 result = (TopoDS_Shape *) &((TopoDS_Iterator const *)arg1)->Value();
\r
2139 if(result->IsNull())
\r
2141 jresult=0L; //NULL
\r
2145 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
2146 tsp->TShape(result->TShape());
\r
2147 tsp->Location(result->Location());
\r
2148 tsp->Orientation(result->Orientation());
\r
2149 jresult=(jlong)tsp;
\r
2156 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Iterator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
2157 TopoDS_Iterator *arg1 = (TopoDS_Iterator *) 0 ;
\r
2161 arg1 = *(TopoDS_Iterator **)&jarg1;
\r
2166 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Builder_1makeWire(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2167 TopoDS_Builder *arg1 = (TopoDS_Builder *) 0 ;
\r
2168 TopoDS_Wire *arg2 = 0 ;
\r
2174 arg1 = *(TopoDS_Builder **)&jarg1;
\r
2175 arg2 = *(TopoDS_Wire **)&jarg2;
\r
2177 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire & reference is null");
\r
2180 ((TopoDS_Builder const *)arg1)->MakeWire(*arg2);
\r
2184 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Builder_1makeCompound(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2185 TopoDS_Builder *arg1 = (TopoDS_Builder *) 0 ;
\r
2186 TopoDS_Compound *arg2 = 0 ;
\r
2192 arg1 = *(TopoDS_Builder **)&jarg1;
\r
2193 arg2 = *(TopoDS_Compound **)&jarg2;
\r
2195 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Compound & reference is null");
\r
2198 ((TopoDS_Builder const *)arg1)->MakeCompound(*arg2);
\r
2202 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Builder_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
2203 TopoDS_Builder *arg1 = (TopoDS_Builder *) 0 ;
\r
2204 TopoDS_Shape *arg2 = 0 ;
\r
2205 TopoDS_Shape *arg3 = 0 ;
\r
2212 arg1 = *(TopoDS_Builder **)&jarg1;
\r
2213 arg2 = *(TopoDS_Shape **)&jarg2;
\r
2215 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape & reference is null");
\r
2218 arg3 = *(TopoDS_Shape **)&jarg3;
\r
2220 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2223 ((TopoDS_Builder const *)arg1)->Add(*arg2,(TopoDS_Shape const &)*arg3);
\r
2227 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Builder_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
2228 TopoDS_Builder *arg1 = (TopoDS_Builder *) 0 ;
\r
2229 TopoDS_Shape *arg2 = 0 ;
\r
2230 TopoDS_Shape *arg3 = 0 ;
\r
2237 arg1 = *(TopoDS_Builder **)&jarg1;
\r
2238 arg2 = *(TopoDS_Shape **)&jarg2;
\r
2240 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape & reference is null");
\r
2243 arg3 = *(TopoDS_Shape **)&jarg3;
\r
2245 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
2248 ((TopoDS_Builder const *)arg1)->Remove(*arg2,(TopoDS_Shape const &)*arg3);
\r
2252 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopoDS_1Builder(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
2253 TopoDS_Builder *arg1 = (TopoDS_Builder *) 0 ;
\r
2257 arg1 = *(TopoDS_Builder **)&jarg1;
\r
2262 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1pnt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2263 jdoubleArray jresult = 0 ;
\r
2264 TopoDS_Vertex *arg1 = 0 ;
\r
2265 gp_Pnt *result = 0 ;
\r
2270 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
2272 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2275 result = (gp_Pnt *) &BRep_Tool::Pnt((TopoDS_Vertex const &)*arg1);
\r
2277 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2283 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1parameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2284 jdoubleArray jresult = 0 ;
\r
2285 TopoDS_Vertex *arg1 = 0 ;
\r
2286 TopoDS_Face *arg2 = 0 ;
\r
2293 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
2295 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2298 arg2 = *(TopoDS_Face **)&jarg2;
\r
2300 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2304 result = BRep_Tool::Parameters((TopoDS_Vertex const &)*arg1,(TopoDS_Face const &)*arg2);
\r
2306 catch(Standard_NoSuchObject &_e) {
\r
2308 SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ Standard_NoSuchObject exception thrown");
\r
2313 jdouble nativeArray[]={
\r
2314 (&result)->X(), (&result)->Y()
\r
2316 jdoubleArray toReturn=jenv->NewDoubleArray(2);
\r
2317 jenv->SetDoubleArrayRegion(toReturn, 0, 2, nativeArray);
\r
2324 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1parameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2325 jdouble jresult = 0 ;
\r
2326 TopoDS_Vertex *arg1 = 0 ;
\r
2327 TopoDS_Edge *arg2 = 0 ;
\r
2328 Standard_Real result;
\r
2334 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
2336 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2339 arg2 = *(TopoDS_Edge **)&jarg2;
\r
2341 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2344 result = (Standard_Real)BRep_Tool::Parameter((TopoDS_Vertex const &)*arg1,(TopoDS_Edge const &)*arg2);
\r
2345 jresult = (jdouble)result;
\r
2350 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1degenerated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2351 jboolean jresult = 0 ;
\r
2352 TopoDS_Edge *arg1 = 0 ;
\r
2353 Standard_Boolean result;
\r
2358 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2360 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2363 result = BRep_Tool::Degenerated((TopoDS_Edge const &)*arg1);
\r
2364 jresult = (jboolean)result;
\r
2369 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1hasContinuity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
2370 jboolean jresult = 0 ;
\r
2371 TopoDS_Edge *arg1 = 0 ;
\r
2372 TopoDS_Face *arg2 = 0 ;
\r
2373 TopoDS_Face *arg3 = 0 ;
\r
2374 Standard_Boolean result;
\r
2381 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2383 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2386 arg2 = *(TopoDS_Face **)&jarg2;
\r
2388 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2391 arg3 = *(TopoDS_Face **)&jarg3;
\r
2393 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2396 result = BRep_Tool::HasContinuity((TopoDS_Edge const &)*arg1,(TopoDS_Face const &)*arg2,(TopoDS_Face const &)*arg3);
\r
2397 jresult = (jboolean)result;
\r
2402 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1continuity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
2403 jint jresult = 0 ;
\r
2404 TopoDS_Edge *arg1 = 0 ;
\r
2405 TopoDS_Face *arg2 = 0 ;
\r
2406 TopoDS_Face *arg3 = 0 ;
\r
2407 GeomAbs_Shape result;
\r
2414 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2416 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2419 arg2 = *(TopoDS_Face **)&jarg2;
\r
2421 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2424 arg3 = *(TopoDS_Face **)&jarg3;
\r
2426 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2429 result = (GeomAbs_Shape)BRep_Tool::Continuity((TopoDS_Edge const &)*arg1,(TopoDS_Face const &)*arg2,(TopoDS_Face const &)*arg3);
\r
2430 jresult = (jint)result;
\r
2435 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1tolerance_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2436 jdouble jresult = 0 ;
\r
2437 TopoDS_Face *arg1 = 0 ;
\r
2438 Standard_Real result;
\r
2443 arg1 = *(TopoDS_Face **)&jarg1;
\r
2445 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2448 result = (Standard_Real)BRep_Tool::Tolerance((TopoDS_Face const &)*arg1);
\r
2449 jresult = (jdouble)result;
\r
2454 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1tolerance_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2455 jdouble jresult = 0 ;
\r
2456 TopoDS_Edge *arg1 = 0 ;
\r
2457 Standard_Real result;
\r
2462 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2464 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2467 result = (Standard_Real)BRep_Tool::Tolerance((TopoDS_Edge const &)*arg1);
\r
2468 jresult = (jdouble)result;
\r
2473 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1tolerance_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2474 jdouble jresult = 0 ;
\r
2475 TopoDS_Vertex *arg1 = 0 ;
\r
2476 Standard_Real result;
\r
2481 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
2483 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2486 result = (Standard_Real)BRep_Tool::Tolerance((TopoDS_Vertex const &)*arg1);
\r
2487 jresult = (jdouble)result;
\r
2492 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1triangulation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2493 jlong jresult = 0 ;
\r
2494 TopoDS_Face *arg1 = 0 ;
\r
2495 TopLoc_Location *arg2 = 0 ;
\r
2496 Poly_Triangulation *result = 0 ;
\r
2502 arg1 = *(TopoDS_Face **)&jarg1;
\r
2504 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2507 arg2 = *(TopLoc_Location **)&jarg2;
\r
2509 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopLoc_Location & reference is null");
\r
2512 result = (Poly_Triangulation *)BRep_Tool_triangulation((TopoDS_Face const &)*arg1,*arg2);
\r
2513 *(Poly_Triangulation **)&jresult = result;
\r
2518 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1range(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
2519 TopoDS_Edge *arg1 = 0 ;
\r
2526 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2528 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2531 if (jarg2 && jenv->GetArrayLength(jarg2) != 2) {
\r
2532 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
2535 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
2536 BRep_Tool_range((TopoDS_Edge const &)*arg1,arg2);
\r
2537 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
2542 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1curve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
2543 jlong jresult = 0 ;
\r
2544 TopoDS_Edge *arg1 = 0 ;
\r
2545 Standard_Real *arg2 = 0 ;
\r
2546 Standard_Real *arg3 = 0 ;
\r
2549 Handle_Geom_Curve *result = 0 ;
\r
2554 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2556 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2559 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return 0;
\r
2560 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return 0;
\r
2561 result = (Handle_Geom_Curve *)BRep_Tool_curve((TopoDS_Edge const &)*arg1,*arg2,*arg3);
\r
2562 *(Handle_Geom_Curve **)&jresult = result;
\r
2563 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
2564 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
2571 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1surface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2572 jlong jresult = 0 ;
\r
2573 TopoDS_Face *arg1 = 0 ;
\r
2574 Handle_Geom_Surface *result = 0 ;
\r
2579 arg1 = *(TopoDS_Face **)&jarg1;
\r
2581 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2584 result = (Handle_Geom_Surface *)BRep_Tool_surface((TopoDS_Face const &)*arg1);
\r
2585 *(Handle_Geom_Surface **)&jresult = result;
\r
2590 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Tool_1curveOnSurface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdoubleArray jarg3, jdoubleArray jarg4) {
\r
2591 jlong jresult = 0 ;
\r
2592 TopoDS_Edge *arg1 = 0 ;
\r
2593 TopoDS_Face *arg2 = 0 ;
\r
2594 Standard_Real *arg3 = 0 ;
\r
2595 Standard_Real *arg4 = 0 ;
\r
2598 Handle_Geom2d_Curve *result = 0 ;
\r
2604 arg1 = *(TopoDS_Edge **)&jarg1;
\r
2606 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
2609 arg2 = *(TopoDS_Face **)&jarg2;
\r
2611 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2614 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return 0;
\r
2615 if (!SWIG_JavaArrayInDouble(jenv, &jarr4, &arg4, jarg4)) return 0;
\r
2616 result = (Handle_Geom2d_Curve *)BRep_Tool_curveOnSurface((TopoDS_Edge const &)*arg1,(TopoDS_Face const &)*arg2,*arg3,*arg4);
\r
2617 *(Handle_Geom2d_Curve **)&jresult = result;
\r
2618 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
2619 SWIG_JavaArrayArgoutDouble(jenv, jarr4, arg4, jarg4);
\r
2626 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRep_1Tool(JNIEnv *jenv, jclass jcls) {
\r
2627 jlong jresult = 0 ;
\r
2628 BRep_Tool *result = 0 ;
\r
2632 result = (BRep_Tool *)new BRep_Tool();
\r
2633 *(BRep_Tool **)&jresult = result;
\r
2638 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRep_1Tool(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
2639 BRep_Tool *arg1 = (BRep_Tool *) 0 ;
\r
2643 arg1 = *(BRep_Tool **)&jarg1;
\r
2648 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRep_1Builder(JNIEnv *jenv, jclass jcls) {
\r
2649 jlong jresult = 0 ;
\r
2650 BRep_Builder *result = 0 ;
\r
2654 result = (BRep_Builder *)new BRep_Builder();
\r
2655 *(BRep_Builder **)&jresult = result;
\r
2660 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Builder_1updateVertex_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jdouble jarg4, jlong jarg5, jobject jarg5_, jdouble jarg6) {
\r
2661 BRep_Builder *arg1 = (BRep_Builder *) 0 ;
\r
2662 TopoDS_Vertex *arg2 = 0 ;
\r
2663 Standard_Real arg3 ;
\r
2664 Standard_Real arg4 ;
\r
2665 TopoDS_Face *arg5 = 0 ;
\r
2666 Standard_Real arg6 ;
\r
2673 arg1 = *(BRep_Builder **)&jarg1;
\r
2674 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
2676 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2679 arg3 = (Standard_Real)jarg3;
\r
2680 arg4 = (Standard_Real)jarg4;
\r
2681 arg5 = *(TopoDS_Face **)&jarg5;
\r
2683 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
2686 arg6 = (Standard_Real)jarg6;
\r
2687 ((BRep_Builder const *)arg1)->UpdateVertex((TopoDS_Vertex const &)*arg2,arg3,arg4,(TopoDS_Face const &)*arg5,arg6);
\r
2691 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Builder_1updateVertex_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3) {
\r
2692 BRep_Builder *arg1 = (BRep_Builder *) 0 ;
\r
2693 TopoDS_Vertex *arg2 = 0 ;
\r
2694 Standard_Real arg3 ;
\r
2700 arg1 = *(BRep_Builder **)&jarg1;
\r
2701 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
2703 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
2706 arg3 = (Standard_Real)jarg3;
\r
2707 ((BRep_Builder const *)arg1)->UpdateVertex((TopoDS_Vertex const &)*arg2,arg3);
\r
2711 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRep_1Builder(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
2712 BRep_Builder *arg1 = (BRep_Builder *) 0 ;
\r
2716 arg1 = *(BRep_Builder **)&jarg1;
\r
2721 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomLProp_1SLProps(JNIEnv *jenv, jclass jcls, jint jarg1, jdouble jarg2) {
\r
2722 jlong jresult = 0 ;
\r
2723 Standard_Integer arg1 ;
\r
2724 Standard_Real arg2 ;
\r
2725 GeomLProp_SLProps *result = 0 ;
\r
2729 arg1 = (Standard_Integer)jarg1;
\r
2730 arg2 = (Standard_Real)jarg2;
\r
2731 result = (GeomLProp_SLProps *)new GeomLProp_SLProps(arg1,arg2);
\r
2732 *(GeomLProp_SLProps **)&jresult = result;
\r
2737 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1setParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
2738 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2739 Standard_Real arg2 ;
\r
2740 Standard_Real arg3 ;
\r
2745 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2746 arg2 = (Standard_Real)jarg2;
\r
2747 arg3 = (Standard_Real)jarg3;
\r
2748 (arg1)->SetParameters(arg2,arg3);
\r
2752 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2753 jdoubleArray jresult = 0 ;
\r
2754 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2755 gp_Pnt *result = 0 ;
\r
2760 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2761 result = (gp_Pnt *) &((GeomLProp_SLProps const *)arg1)->Value();
\r
2763 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2769 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1d1U(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2770 jdoubleArray jresult = 0 ;
\r
2771 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2772 gp_Vec *result = 0 ;
\r
2777 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2778 result = (gp_Vec *) &(arg1)->D1U();
\r
2780 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2786 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1d1V(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2787 jdoubleArray jresult = 0 ;
\r
2788 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2789 gp_Vec *result = 0 ;
\r
2794 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2795 result = (gp_Vec *) &(arg1)->D1V();
\r
2797 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2803 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1d2U(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2804 jdoubleArray jresult = 0 ;
\r
2805 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2806 gp_Vec *result = 0 ;
\r
2811 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2812 result = (gp_Vec *) &(arg1)->D2U();
\r
2814 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2820 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1d2V(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2821 jdoubleArray jresult = 0 ;
\r
2822 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2823 gp_Vec *result = 0 ;
\r
2828 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2829 result = (gp_Vec *) &(arg1)->D2V();
\r
2831 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2837 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1dUV(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2838 jdoubleArray jresult = 0 ;
\r
2839 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2840 gp_Vec *result = 0 ;
\r
2845 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2846 result = (gp_Vec *) &(arg1)->DUV();
\r
2848 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
2854 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1isTangentUDefined(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2855 jboolean jresult = 0 ;
\r
2856 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2857 Standard_Boolean result;
\r
2862 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2863 result = (arg1)->IsTangentUDefined();
\r
2864 jresult = (jboolean)result;
\r
2869 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1tangentU(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
2870 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2871 gp_Dir *arg2 = 0 ;
\r
2876 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2877 arg2 = *(gp_Dir **)&jarg2;
\r
2879 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Dir & reference is null");
\r
2882 (arg1)->TangentU(*arg2);
\r
2886 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1isTangentVDefined(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2887 jboolean jresult = 0 ;
\r
2888 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2889 Standard_Boolean result;
\r
2894 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2895 result = (arg1)->IsTangentVDefined();
\r
2896 jresult = (jboolean)result;
\r
2901 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1tangentV(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
2902 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2903 gp_Dir *arg2 = 0 ;
\r
2908 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2909 arg2 = *(gp_Dir **)&jarg2;
\r
2911 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Dir & reference is null");
\r
2914 (arg1)->TangentV(*arg2);
\r
2918 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1isNormalDefined(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2919 jboolean jresult = 0 ;
\r
2920 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2921 Standard_Boolean result;
\r
2926 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2927 result = (arg1)->IsNormalDefined();
\r
2928 jresult = (jboolean)result;
\r
2933 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1isCurvatureDefined(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2934 jboolean jresult = 0 ;
\r
2935 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2936 Standard_Boolean result;
\r
2941 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2942 result = (arg1)->IsCurvatureDefined();
\r
2943 jresult = (jboolean)result;
\r
2948 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1isUmbilic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2949 jboolean jresult = 0 ;
\r
2950 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2951 Standard_Boolean result;
\r
2956 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2957 result = (arg1)->IsUmbilic();
\r
2958 jresult = (jboolean)result;
\r
2963 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1meanCurvature(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2964 jdouble jresult = 0 ;
\r
2965 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2966 Standard_Real result;
\r
2971 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2972 result = (Standard_Real)(arg1)->MeanCurvature();
\r
2973 jresult = (jdouble)result;
\r
2978 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1gaussianCurvature(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
2979 jdouble jresult = 0 ;
\r
2980 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2981 Standard_Real result;
\r
2986 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
2987 result = (Standard_Real)(arg1)->GaussianCurvature();
\r
2988 jresult = (jdouble)result;
\r
2993 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1setSurface(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
2994 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
2995 Handle_Geom_Surface *arg2 = 0 ;
\r
3001 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3002 arg2 = *(Handle_Geom_Surface **)&jarg2;
\r
3004 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Surface const & reference is null");
\r
3007 (arg1)->SetSurface((Handle_Geom_Surface const &)*arg2);
\r
3011 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1normal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
3012 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3019 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3020 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
\r
3021 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
3024 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
3025 GeomLProp_SLProps_normal(arg1,arg2);
\r
3026 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
3031 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1normalArray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3, jint jarg4) {
\r
3032 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3033 double *arg2 = (double *) 0 ;
\r
3034 double *arg3 = (double *) 0 ;
\r
3042 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3043 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
3044 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
3045 arg4 = (int)jarg4;
\r
3046 GeomLProp_SLProps_normalArray(arg1,arg2,arg3,arg4);
\r
3047 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
3048 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
3054 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1minCurvature(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3055 jdouble jresult = 0 ;
\r
3056 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3057 Standard_Real result;
\r
3062 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3063 result = (Standard_Real)GeomLProp_SLProps_minCurvature(arg1);
\r
3064 jresult = (jdouble)result;
\r
3069 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1maxCurvature(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3070 jdouble jresult = 0 ;
\r
3071 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3072 Standard_Real result;
\r
3077 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3078 result = (Standard_Real)GeomLProp_SLProps_maxCurvature(arg1);
\r
3079 jresult = (jdouble)result;
\r
3084 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomLProp_1SLProps_1curvatureDirection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
3085 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3094 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3095 if (jarg2 && jenv->GetArrayLength(jarg2) != 3) {
\r
3096 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
3099 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
3100 if (jarg3 && jenv->GetArrayLength(jarg3) != 3) {
\r
3101 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
3104 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
3105 GeomLProp_SLProps_curvatureDirection(arg1,arg2,arg3);
\r
3106 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
3107 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
3113 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GeomLProp_1SLProps(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3114 GeomLProp_SLProps *arg1 = (GeomLProp_SLProps *) 0 ;
\r
3118 arg1 = *(GeomLProp_SLProps **)&jarg1;
\r
3123 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1read_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
\r
3124 jboolean jresult = 0 ;
\r
3125 TopoDS_Shape *arg1 = 0 ;
\r
3126 Standard_CString arg2 ;
\r
3127 BRep_Builder *arg3 = 0 ;
\r
3128 Standard_Boolean result;
\r
3134 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3136 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape & reference is null");
\r
3140 arg2 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg2, 0));
\r
3142 arg3 = *(BRep_Builder **)&jarg3;
\r
3144 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BRep_Builder const & reference is null");
\r
3147 result = BRepTools::Read(*arg1,arg2,(BRep_Builder const &)*arg3);
\r
3148 jresult = (jboolean)result;
\r
3153 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1write_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
\r
3154 jboolean jresult = 0 ;
\r
3155 TopoDS_Shape *arg1 = 0 ;
\r
3156 Standard_CString arg2 ;
\r
3157 Standard_Boolean result;
\r
3162 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3164 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3168 arg2 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg2, 0));
\r
3170 result = BRepTools::Write((TopoDS_Shape const &)*arg1,arg2);
\r
3171 jresult = (jboolean)result;
\r
3176 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1write_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
\r
3177 TopoDS_Shape *arg1 = 0 ;
\r
3178 Standard_OStream *arg2 = 0 ;
\r
3183 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3185 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3189 jnistreambuf buf(jenv, jarg2);
\r
3190 Standard_OStream os(&buf);
\r
3193 BRepTools::Write((TopoDS_Shape const &)*arg1,*arg2);
\r
3200 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1clean(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3201 TopoDS_Shape *arg1 = 0 ;
\r
3206 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3208 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3211 BRepTools::Clean((TopoDS_Shape const &)*arg1);
\r
3215 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1read_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jlong jarg3, jobject jarg3_) {
\r
3216 jboolean jresult = 0 ;
\r
3217 TopoDS_Shape *arg1 = 0 ;
\r
3218 Standard_IStream *arg2 = 0 ;
\r
3219 BRep_Builder *arg3 = 0 ;
\r
3220 Standard_Boolean result;
\r
3226 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3228 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape & reference is null");
\r
3232 jnistreambuf buf(jenv, jarg2);
\r
3233 Standard_IStream is(&buf);
\r
3236 arg3 = *(BRep_Builder **)&jarg3;
\r
3238 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BRep_Builder const & reference is null");
\r
3241 result = BRepTools_read__SWIG_1(*arg1,*arg2,(BRep_Builder const &)*arg3);
\r
3242 jresult = (jboolean)result;
\r
3247 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepTools(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3248 BRepTools *arg1 = (BRepTools *) 0 ;
\r
3252 arg1 = *(BRepTools **)&jarg1;
\r
3257 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepTools_1WireExplorer_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
3258 jlong jresult = 0 ;
\r
3259 BRepTools_WireExplorer *result = 0 ;
\r
3263 result = (BRepTools_WireExplorer *)new BRepTools_WireExplorer();
\r
3264 *(BRepTools_WireExplorer **)&jresult = result;
\r
3269 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepTools_1WireExplorer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3270 jlong jresult = 0 ;
\r
3271 TopoDS_Wire *arg1 = 0 ;
\r
3272 BRepTools_WireExplorer *result = 0 ;
\r
3277 arg1 = *(TopoDS_Wire **)&jarg1;
\r
3279 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
3282 result = (BRepTools_WireExplorer *)new BRepTools_WireExplorer((TopoDS_Wire const &)*arg1);
\r
3283 *(BRepTools_WireExplorer **)&jresult = result;
\r
3288 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepTools_1WireExplorer_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3289 jlong jresult = 0 ;
\r
3290 TopoDS_Wire *arg1 = 0 ;
\r
3291 TopoDS_Face *arg2 = 0 ;
\r
3292 BRepTools_WireExplorer *result = 0 ;
\r
3298 arg1 = *(TopoDS_Wire **)&jarg1;
\r
3300 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
3303 arg2 = *(TopoDS_Face **)&jarg2;
\r
3305 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
3308 result = (BRepTools_WireExplorer *)new BRepTools_WireExplorer((TopoDS_Wire const &)*arg1,(TopoDS_Face const &)*arg2);
\r
3309 *(BRepTools_WireExplorer **)&jresult = result;
\r
3314 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1init_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3315 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3316 TopoDS_Wire *arg2 = 0 ;
\r
3322 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3323 arg2 = *(TopoDS_Wire **)&jarg2;
\r
3325 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
3328 (arg1)->Init((TopoDS_Wire const &)*arg2);
\r
3332 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1init_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
3333 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3334 TopoDS_Wire *arg2 = 0 ;
\r
3335 TopoDS_Face *arg3 = 0 ;
\r
3342 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3343 arg2 = *(TopoDS_Wire **)&jarg2;
\r
3345 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
3348 arg3 = *(TopoDS_Face **)&jarg3;
\r
3350 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
3353 (arg1)->Init((TopoDS_Wire const &)*arg2,(TopoDS_Face const &)*arg3);
\r
3357 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1more(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3358 jboolean jresult = 0 ;
\r
3359 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3360 Standard_Boolean result;
\r
3365 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3366 result = ((BRepTools_WireExplorer const *)arg1)->More();
\r
3367 jresult = (jboolean)result;
\r
3372 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3373 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3378 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3383 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1current(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3384 jlong jresult = 0 ;
\r
3385 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3386 TopoDS_Edge *result = 0 ;
\r
3391 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3392 result = (TopoDS_Edge *) &((BRepTools_WireExplorer const *)arg1)->Current();
\r
3393 *(TopoDS_Edge **)&jresult = result;
\r
3398 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1orientation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3399 jint jresult = 0 ;
\r
3400 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3401 TopAbs_Orientation result;
\r
3406 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3407 result = (TopAbs_Orientation)((BRepTools_WireExplorer const *)arg1)->Orientation();
\r
3408 jresult = (jint)result;
\r
3413 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1currentVertex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3414 jlong jresult = 0 ;
\r
3415 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3416 TopoDS_Vertex *result = 0 ;
\r
3421 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3422 result = (TopoDS_Vertex *) &((BRepTools_WireExplorer const *)arg1)->CurrentVertex();
\r
3423 *(TopoDS_Vertex **)&jresult = result;
\r
3428 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1WireExplorer_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3429 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3434 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3439 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepTools_1WireExplorer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3440 BRepTools_WireExplorer *arg1 = (BRepTools_WireExplorer *) 0 ;
\r
3444 arg1 = *(BRepTools_WireExplorer **)&jarg1;
\r
3449 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepTools_1Quilt(JNIEnv *jenv, jclass jcls) {
\r
3450 jlong jresult = 0 ;
\r
3451 BRepTools_Quilt *result = 0 ;
\r
3455 result = (BRepTools_Quilt *)new BRepTools_Quilt();
\r
3456 *(BRepTools_Quilt **)&jresult = result;
\r
3461 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1bind_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
3462 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3463 TopoDS_Edge *arg2 = 0 ;
\r
3464 TopoDS_Edge *arg3 = 0 ;
\r
3471 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3472 arg2 = *(TopoDS_Edge **)&jarg2;
\r
3474 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3477 arg3 = *(TopoDS_Edge **)&jarg3;
\r
3479 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3482 (arg1)->Bind((TopoDS_Edge const &)*arg2,(TopoDS_Edge const &)*arg3);
\r
3486 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1bind_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
3487 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3488 TopoDS_Vertex *arg2 = 0 ;
\r
3489 TopoDS_Vertex *arg3 = 0 ;
\r
3496 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3497 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
3499 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
3502 arg3 = *(TopoDS_Vertex **)&jarg3;
\r
3504 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
3507 (arg1)->Bind((TopoDS_Vertex const &)*arg2,(TopoDS_Vertex const &)*arg3);
\r
3511 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3512 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3513 TopoDS_Shape *arg2 = 0 ;
\r
3519 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3520 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3522 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3525 (arg1)->Add((TopoDS_Shape const &)*arg2);
\r
3529 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1isCopied(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3530 jboolean jresult = 0 ;
\r
3531 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3532 TopoDS_Shape *arg2 = 0 ;
\r
3533 Standard_Boolean result;
\r
3539 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3540 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3542 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3545 result = ((BRepTools_Quilt const *)arg1)->IsCopied((TopoDS_Shape const &)*arg2);
\r
3546 jresult = (jboolean)result;
\r
3551 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1copy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3552 jlong jresult = 0 ;
\r
3553 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3554 TopoDS_Shape *arg2 = 0 ;
\r
3555 TopoDS_Shape *result = 0 ;
\r
3561 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3562 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3564 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3567 result = (TopoDS_Shape *) &((BRepTools_Quilt const *)arg1)->Copy((TopoDS_Shape const &)*arg2);
\r
3569 if(result->IsNull())
\r
3571 jresult=0L; //NULL
\r
3575 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
3576 tsp->TShape(result->TShape());
\r
3577 tsp->Location(result->Location());
\r
3578 tsp->Orientation(result->Orientation());
\r
3579 jresult=(jlong)tsp;
\r
3586 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepTools_1Quilt_1shells(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3587 jlong jresult = 0 ;
\r
3588 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3589 TopoDS_Shape result;
\r
3594 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3595 result = ((BRepTools_Quilt const *)arg1)->Shells();
\r
3597 if((&result)->IsNull())
\r
3599 jresult=0L; //NULL
\r
3603 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
3604 tsp->TShape((&result)->TShape());
\r
3605 tsp->Location((&result)->Location());
\r
3606 tsp->Orientation((&result)->Orientation());
\r
3607 jresult=(jlong)tsp;
\r
3614 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepTools_1Quilt(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3615 BRepTools_Quilt *arg1 = (BRepTools_Quilt *) 0 ;
\r
3619 arg1 = *(BRepTools_Quilt **)&jarg1;
\r
3624 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeShape_1shape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3625 jlong jresult = 0 ;
\r
3626 BRepBuilderAPI_MakeShape *arg1 = (BRepBuilderAPI_MakeShape *) 0 ;
\r
3627 TopoDS_Shape *result = 0 ;
\r
3632 arg1 = *(BRepBuilderAPI_MakeShape **)&jarg1;
\r
3633 result = (TopoDS_Shape *) &((BRepBuilderAPI_MakeShape const *)arg1)->Shape();
\r
3635 if(result->IsNull())
\r
3637 jresult=0L; //NULL
\r
3641 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
3642 tsp->TShape(result->TShape());
\r
3643 tsp->Location(result->Location());
\r
3644 tsp->Orientation(result->Orientation());
\r
3645 jresult=(jlong)tsp;
\r
3652 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3653 BRepBuilderAPI_MakeShape *arg1 = (BRepBuilderAPI_MakeShape *) 0 ;
\r
3657 arg1 = *(BRepBuilderAPI_MakeShape **)&jarg1;
\r
3662 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1ModifyShape_1modifiedShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3663 jlong jresult = 0 ;
\r
3664 BRepBuilderAPI_ModifyShape *arg1 = (BRepBuilderAPI_ModifyShape *) 0 ;
\r
3665 TopoDS_Shape *arg2 = 0 ;
\r
3666 TopoDS_Shape *result = 0 ;
\r
3672 arg1 = *(BRepBuilderAPI_ModifyShape **)&jarg1;
\r
3673 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3675 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3678 result = (TopoDS_Shape *) &((BRepBuilderAPI_ModifyShape const *)arg1)->ModifiedShape((TopoDS_Shape const &)*arg2);
\r
3680 if(result->IsNull())
\r
3682 jresult=0L; //NULL
\r
3686 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
3687 tsp->TShape(result->TShape());
\r
3688 tsp->Location(result->Location());
\r
3689 tsp->Orientation(result->Orientation());
\r
3690 jresult=(jlong)tsp;
\r
3697 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1ModifyShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3698 BRepBuilderAPI_ModifyShape *arg1 = (BRepBuilderAPI_ModifyShape *) 0 ;
\r
3702 arg1 = *(BRepBuilderAPI_ModifyShape **)&jarg1;
\r
3707 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Transform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3708 jlong jresult = 0 ;
\r
3709 gp_Trsf *arg1 = 0 ;
\r
3710 BRepBuilderAPI_Transform *result = 0 ;
\r
3715 arg1 = *(gp_Trsf **)&jarg1;
\r
3717 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Trsf const & reference is null");
\r
3720 result = (BRepBuilderAPI_Transform *)new BRepBuilderAPI_Transform((gp_Trsf const &)*arg1);
\r
3721 *(BRepBuilderAPI_Transform **)&jresult = result;
\r
3726 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Transform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
3727 jlong jresult = 0 ;
\r
3728 TopoDS_Shape *arg1 = 0 ;
\r
3729 gp_Trsf *arg2 = 0 ;
\r
3730 Standard_Boolean arg3 ;
\r
3731 BRepBuilderAPI_Transform *result = 0 ;
\r
3737 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3739 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3742 arg2 = *(gp_Trsf **)&jarg2;
\r
3744 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Trsf const & reference is null");
\r
3750 result = (BRepBuilderAPI_Transform *)new BRepBuilderAPI_Transform((TopoDS_Shape const &)*arg1,(gp_Trsf const &)*arg2,arg3);
\r
3751 *(BRepBuilderAPI_Transform **)&jresult = result;
\r
3756 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Transform_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3757 jlong jresult = 0 ;
\r
3758 TopoDS_Shape *arg1 = 0 ;
\r
3759 gp_Trsf *arg2 = 0 ;
\r
3760 BRepBuilderAPI_Transform *result = 0 ;
\r
3766 arg1 = *(TopoDS_Shape **)&jarg1;
\r
3768 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3771 arg2 = *(gp_Trsf **)&jarg2;
\r
3773 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Trsf const & reference is null");
\r
3776 result = (BRepBuilderAPI_Transform *)new BRepBuilderAPI_Transform((TopoDS_Shape const &)*arg1,(gp_Trsf const &)*arg2);
\r
3777 *(BRepBuilderAPI_Transform **)&jresult = result;
\r
3782 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Transform_1perform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
3783 BRepBuilderAPI_Transform *arg1 = (BRepBuilderAPI_Transform *) 0 ;
\r
3784 TopoDS_Shape *arg2 = 0 ;
\r
3785 Standard_Boolean arg3 ;
\r
3791 arg1 = *(BRepBuilderAPI_Transform **)&jarg1;
\r
3792 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3794 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3800 (arg1)->Perform((TopoDS_Shape const &)*arg2,arg3);
\r
3804 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Transform_1perform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3805 BRepBuilderAPI_Transform *arg1 = (BRepBuilderAPI_Transform *) 0 ;
\r
3806 TopoDS_Shape *arg2 = 0 ;
\r
3812 arg1 = *(BRepBuilderAPI_Transform **)&jarg1;
\r
3813 arg2 = *(TopoDS_Shape **)&jarg2;
\r
3815 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
3818 (arg1)->Perform((TopoDS_Shape const &)*arg2);
\r
3822 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1Transform(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3823 BRepBuilderAPI_Transform *arg1 = (BRepBuilderAPI_Transform *) 0 ;
\r
3827 arg1 = *(BRepBuilderAPI_Transform **)&jarg1;
\r
3832 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeVertex(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1) {
\r
3833 jlong jresult = 0 ;
\r
3834 gp_Pnt *arg1 = 0 ;
\r
3835 BRepBuilderAPI_MakeVertex *result = 0 ;
\r
3840 if(jenv->GetArrayLength(jarg1)!=3)
\r
3841 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
3842 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
3843 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
3845 result = (BRepBuilderAPI_MakeVertex *)new BRepBuilderAPI_MakeVertex((gp_Pnt const &)*arg1);
\r
3846 *(BRepBuilderAPI_MakeVertex **)&jresult = result;
\r
3854 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeVertex(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
3855 BRepBuilderAPI_MakeVertex *arg1 = (BRepBuilderAPI_MakeVertex *) 0 ;
\r
3859 arg1 = *(BRepBuilderAPI_MakeVertex **)&jarg1;
\r
3864 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
3865 jlong jresult = 0 ;
\r
3866 BRepBuilderAPI_MakeWire *result = 0 ;
\r
3870 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire();
\r
3871 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
3876 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3877 jlong jresult = 0 ;
\r
3878 TopoDS_Edge *arg1 = 0 ;
\r
3879 BRepBuilderAPI_MakeWire *result = 0 ;
\r
3884 arg1 = *(TopoDS_Edge **)&jarg1;
\r
3886 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3889 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Edge const &)*arg1);
\r
3890 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
3895 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
3896 jlong jresult = 0 ;
\r
3897 TopoDS_Edge *arg1 = 0 ;
\r
3898 TopoDS_Edge *arg2 = 0 ;
\r
3899 BRepBuilderAPI_MakeWire *result = 0 ;
\r
3905 arg1 = *(TopoDS_Edge **)&jarg1;
\r
3907 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3910 arg2 = *(TopoDS_Edge **)&jarg2;
\r
3912 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3915 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Edge const &)*arg1,(TopoDS_Edge const &)*arg2);
\r
3916 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
3921 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
3922 jlong jresult = 0 ;
\r
3923 TopoDS_Edge *arg1 = 0 ;
\r
3924 TopoDS_Edge *arg2 = 0 ;
\r
3925 TopoDS_Edge *arg3 = 0 ;
\r
3926 BRepBuilderAPI_MakeWire *result = 0 ;
\r
3933 arg1 = *(TopoDS_Edge **)&jarg1;
\r
3935 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3938 arg2 = *(TopoDS_Edge **)&jarg2;
\r
3940 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3943 arg3 = *(TopoDS_Edge **)&jarg3;
\r
3945 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3948 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Edge const &)*arg1,(TopoDS_Edge const &)*arg2,(TopoDS_Edge const &)*arg3);
\r
3949 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
3954 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
\r
3955 jlong jresult = 0 ;
\r
3956 TopoDS_Edge *arg1 = 0 ;
\r
3957 TopoDS_Edge *arg2 = 0 ;
\r
3958 TopoDS_Edge *arg3 = 0 ;
\r
3959 TopoDS_Edge *arg4 = 0 ;
\r
3960 BRepBuilderAPI_MakeWire *result = 0 ;
\r
3968 arg1 = *(TopoDS_Edge **)&jarg1;
\r
3970 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3973 arg2 = *(TopoDS_Edge **)&jarg2;
\r
3975 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3978 arg3 = *(TopoDS_Edge **)&jarg3;
\r
3980 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3983 arg4 = *(TopoDS_Edge **)&jarg4;
\r
3985 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
3988 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Edge const &)*arg1,(TopoDS_Edge const &)*arg2,(TopoDS_Edge const &)*arg3,(TopoDS_Edge const &)*arg4);
\r
3989 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
3994 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
3995 jlong jresult = 0 ;
\r
3996 TopoDS_Wire *arg1 = 0 ;
\r
3997 BRepBuilderAPI_MakeWire *result = 0 ;
\r
4002 arg1 = *(TopoDS_Wire **)&jarg1;
\r
4004 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4007 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Wire const &)*arg1);
\r
4008 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
4013 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeWire_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4014 jlong jresult = 0 ;
\r
4015 TopoDS_Wire *arg1 = 0 ;
\r
4016 TopoDS_Edge *arg2 = 0 ;
\r
4017 BRepBuilderAPI_MakeWire *result = 0 ;
\r
4023 arg1 = *(TopoDS_Wire **)&jarg1;
\r
4025 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4028 arg2 = *(TopoDS_Edge **)&jarg2;
\r
4030 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
4033 result = (BRepBuilderAPI_MakeWire *)new BRepBuilderAPI_MakeWire((TopoDS_Wire const &)*arg1,(TopoDS_Edge const &)*arg2);
\r
4034 *(BRepBuilderAPI_MakeWire **)&jresult = result;
\r
4039 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeWire_1add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4040 BRepBuilderAPI_MakeWire *arg1 = (BRepBuilderAPI_MakeWire *) 0 ;
\r
4041 TopoDS_Edge *arg2 = 0 ;
\r
4047 arg1 = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
4048 arg2 = *(TopoDS_Edge **)&jarg2;
\r
4050 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
4053 (arg1)->Add((TopoDS_Edge const &)*arg2);
\r
4057 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeWire_1add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4058 BRepBuilderAPI_MakeWire *arg1 = (BRepBuilderAPI_MakeWire *) 0 ;
\r
4059 TopoDS_Wire *arg2 = 0 ;
\r
4065 arg1 = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
4066 arg2 = *(TopoDS_Wire **)&jarg2;
\r
4068 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4071 (arg1)->Add((TopoDS_Wire const &)*arg2);
\r
4075 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeWire_1add_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2) {
\r
4076 BRepBuilderAPI_MakeWire *arg1 = (BRepBuilderAPI_MakeWire *) 0 ;
\r
4077 TopTools_ListOfShape *arg2 = 0 ;
\r
4084 arg1 = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
4089 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
4092 sz2 = jenv->GetArrayLength(jarg2);
\r
4093 jarr2 = jenv->GetLongArrayElements(jarg2, 0);
\r
4098 arg2 = new TopTools_ListOfShape();
\r
4099 for (i=0; i<sz2; i++)
\r
4101 arg2->Append(*(TopoDS_Shape*)jarr2[i]);
\r
4104 (arg1)->Add((TopTools_ListOfShape const &)*arg2);
\r
4111 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeWire_1isDone(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4112 jboolean jresult = 0 ;
\r
4113 BRepBuilderAPI_MakeWire *arg1 = (BRepBuilderAPI_MakeWire *) 0 ;
\r
4114 Standard_Boolean result;
\r
4119 arg1 = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
4120 result = ((BRepBuilderAPI_MakeWire const *)arg1)->IsDone();
\r
4121 jresult = (jboolean)result;
\r
4126 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeWire(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
4127 BRepBuilderAPI_MakeWire *arg1 = (BRepBuilderAPI_MakeWire *) 0 ;
\r
4131 arg1 = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
4136 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
4137 jlong jresult = 0 ;
\r
4138 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4142 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge();
\r
4143 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4148 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4149 jlong jresult = 0 ;
\r
4150 Handle_Geom_Curve *arg1 = 0 ;
\r
4151 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4156 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
4158 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Curve const & reference is null");
\r
4161 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((Handle_Geom_Curve const &)*arg1);
\r
4162 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4167 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4168 jlong jresult = 0 ;
\r
4169 TopoDS_Vertex *arg1 = 0 ;
\r
4170 TopoDS_Vertex *arg2 = 0 ;
\r
4171 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4177 arg1 = *(TopoDS_Vertex **)&jarg1;
\r
4179 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4182 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
4184 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4187 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((TopoDS_Vertex const &)*arg1,(TopoDS_Vertex const &)*arg2);
\r
4188 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4193 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2) {
\r
4194 jlong jresult = 0 ;
\r
4195 gp_Pnt *arg1 = 0 ;
\r
4196 gp_Pnt *arg2 = 0 ;
\r
4197 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4202 if(jenv->GetArrayLength(jarg1)!=3)
\r
4203 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4204 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
4205 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4208 if(jenv->GetArrayLength(jarg2)!=3)
\r
4209 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4210 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
4211 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4213 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Pnt const &)*arg1,(gp_Pnt const &)*arg2);
\r
4214 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4225 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4226 jlong jresult = 0 ;
\r
4227 gp_Circ *arg1 = 0 ;
\r
4228 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4233 arg1 = *(gp_Circ **)&jarg1;
\r
4235 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Circ const & reference is null");
\r
4238 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Circ const &)*arg1);
\r
4239 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4244 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
4245 jlong jresult = 0 ;
\r
4246 gp_Circ *arg1 = 0 ;
\r
4247 Standard_Real arg2 ;
\r
4248 Standard_Real arg3 ;
\r
4249 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4254 arg1 = *(gp_Circ **)&jarg1;
\r
4256 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Circ const & reference is null");
\r
4259 arg2 = (Standard_Real)jarg2;
\r
4260 arg3 = (Standard_Real)jarg3;
\r
4261 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Circ const &)*arg1,arg2,arg3);
\r
4262 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4267 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
4268 jlong jresult = 0 ;
\r
4269 gp_Circ *arg1 = 0 ;
\r
4270 gp_Pnt *arg2 = 0 ;
\r
4271 gp_Pnt *arg3 = 0 ;
\r
4272 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4277 arg1 = *(gp_Circ **)&jarg1;
\r
4279 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Circ const & reference is null");
\r
4283 if(jenv->GetArrayLength(jarg2)!=3)
\r
4284 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4285 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
4286 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4289 if(jenv->GetArrayLength(jarg3)!=3)
\r
4290 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4291 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
4292 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4294 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Circ const &)*arg1,(gp_Pnt const &)*arg2,(gp_Pnt const &)*arg3);
\r
4295 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4306 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
4307 jlong jresult = 0 ;
\r
4308 gp_Circ *arg1 = 0 ;
\r
4309 TopoDS_Vertex *arg2 = 0 ;
\r
4310 TopoDS_Vertex *arg3 = 0 ;
\r
4311 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4318 arg1 = *(gp_Circ **)&jarg1;
\r
4320 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Circ const & reference is null");
\r
4323 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
4325 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4328 arg3 = *(TopoDS_Vertex **)&jarg3;
\r
4330 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4333 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Circ const &)*arg1,(TopoDS_Vertex const &)*arg2,(TopoDS_Vertex const &)*arg3);
\r
4334 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4339 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4340 jlong jresult = 0 ;
\r
4341 gp_Parab *arg1 = 0 ;
\r
4342 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4347 arg1 = *(gp_Parab **)&jarg1;
\r
4349 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Parab const & reference is null");
\r
4352 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Parab const &)*arg1);
\r
4353 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4358 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
4359 jlong jresult = 0 ;
\r
4360 gp_Parab *arg1 = 0 ;
\r
4361 Standard_Real arg2 ;
\r
4362 Standard_Real arg3 ;
\r
4363 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4368 arg1 = *(gp_Parab **)&jarg1;
\r
4370 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Parab const & reference is null");
\r
4373 arg2 = (Standard_Real)jarg2;
\r
4374 arg3 = (Standard_Real)jarg3;
\r
4375 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Parab const &)*arg1,arg2,arg3);
\r
4376 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4381 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
4382 jlong jresult = 0 ;
\r
4383 gp_Parab *arg1 = 0 ;
\r
4384 gp_Pnt *arg2 = 0 ;
\r
4385 gp_Pnt *arg3 = 0 ;
\r
4386 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4391 arg1 = *(gp_Parab **)&jarg1;
\r
4393 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Parab const & reference is null");
\r
4397 if(jenv->GetArrayLength(jarg2)!=3)
\r
4398 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4399 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
4400 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4403 if(jenv->GetArrayLength(jarg3)!=3)
\r
4404 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
4405 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
4406 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
4408 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Parab const &)*arg1,(gp_Pnt const &)*arg2,(gp_Pnt const &)*arg3);
\r
4409 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4420 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeEdge_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
4421 jlong jresult = 0 ;
\r
4422 gp_Parab *arg1 = 0 ;
\r
4423 TopoDS_Vertex *arg2 = 0 ;
\r
4424 TopoDS_Vertex *arg3 = 0 ;
\r
4425 BRepBuilderAPI_MakeEdge *result = 0 ;
\r
4432 arg1 = *(gp_Parab **)&jarg1;
\r
4434 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Parab const & reference is null");
\r
4437 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
4439 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4442 arg3 = *(TopoDS_Vertex **)&jarg3;
\r
4444 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex const & reference is null");
\r
4447 result = (BRepBuilderAPI_MakeEdge *)new BRepBuilderAPI_MakeEdge((gp_Parab const &)*arg1,(TopoDS_Vertex const &)*arg2,(TopoDS_Vertex const &)*arg3);
\r
4448 *(BRepBuilderAPI_MakeEdge **)&jresult = result;
\r
4453 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeEdge_1isDone(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4454 jboolean jresult = 0 ;
\r
4455 BRepBuilderAPI_MakeEdge *arg1 = (BRepBuilderAPI_MakeEdge *) 0 ;
\r
4456 Standard_Boolean result;
\r
4461 arg1 = *(BRepBuilderAPI_MakeEdge **)&jarg1;
\r
4462 result = ((BRepBuilderAPI_MakeEdge const *)arg1)->IsDone();
\r
4463 jresult = (jboolean)result;
\r
4468 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeEdge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
4469 BRepBuilderAPI_MakeEdge *arg1 = (BRepBuilderAPI_MakeEdge *) 0 ;
\r
4473 arg1 = *(BRepBuilderAPI_MakeEdge **)&jarg1;
\r
4478 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeFace_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
4479 jlong jresult = 0 ;
\r
4480 TopoDS_Wire *arg1 = 0 ;
\r
4481 Standard_Boolean arg2 ;
\r
4482 BRepBuilderAPI_MakeFace *result = 0 ;
\r
4487 arg1 = *(TopoDS_Wire **)&jarg1;
\r
4489 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4495 result = (BRepBuilderAPI_MakeFace *)new BRepBuilderAPI_MakeFace((TopoDS_Wire const &)*arg1,arg2);
\r
4496 *(BRepBuilderAPI_MakeFace **)&jresult = result;
\r
4501 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeFace_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4502 jlong jresult = 0 ;
\r
4503 TopoDS_Wire *arg1 = 0 ;
\r
4504 BRepBuilderAPI_MakeFace *result = 0 ;
\r
4509 arg1 = *(TopoDS_Wire **)&jarg1;
\r
4511 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4514 result = (BRepBuilderAPI_MakeFace *)new BRepBuilderAPI_MakeFace((TopoDS_Wire const &)*arg1);
\r
4515 *(BRepBuilderAPI_MakeFace **)&jresult = result;
\r
4520 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeFace_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4521 jlong jresult = 0 ;
\r
4522 TopoDS_Face *arg1 = 0 ;
\r
4523 TopoDS_Wire *arg2 = 0 ;
\r
4524 BRepBuilderAPI_MakeFace *result = 0 ;
\r
4530 arg1 = *(TopoDS_Face **)&jarg1;
\r
4532 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
4535 arg2 = *(TopoDS_Wire **)&jarg2;
\r
4537 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
4540 result = (BRepBuilderAPI_MakeFace *)new BRepBuilderAPI_MakeFace((TopoDS_Face const &)*arg1,(TopoDS_Wire const &)*arg2);
\r
4541 *(BRepBuilderAPI_MakeFace **)&jresult = result;
\r
4546 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeFace(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
4547 BRepBuilderAPI_MakeFace *arg1 = (BRepBuilderAPI_MakeFace *) 0 ;
\r
4551 arg1 = *(BRepBuilderAPI_MakeFace **)&jarg1;
\r
4556 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
4557 jlong jresult = 0 ;
\r
4558 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4562 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid();
\r
4563 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4568 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4569 jlong jresult = 0 ;
\r
4570 TopoDS_CompSolid *arg1 = 0 ;
\r
4571 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4576 arg1 = *(TopoDS_CompSolid **)&jarg1;
\r
4578 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_CompSolid const & reference is null");
\r
4581 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_CompSolid const &)*arg1);
\r
4582 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4587 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4588 jlong jresult = 0 ;
\r
4589 TopoDS_Shell *arg1 = 0 ;
\r
4590 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4595 arg1 = *(TopoDS_Shell **)&jarg1;
\r
4597 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4600 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_Shell const &)*arg1);
\r
4601 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4606 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4607 jlong jresult = 0 ;
\r
4608 TopoDS_Shell *arg1 = 0 ;
\r
4609 TopoDS_Shell *arg2 = 0 ;
\r
4610 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4616 arg1 = *(TopoDS_Shell **)&jarg1;
\r
4618 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4621 arg2 = *(TopoDS_Shell **)&jarg2;
\r
4623 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4626 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_Shell const &)*arg1,(TopoDS_Shell const &)*arg2);
\r
4627 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4632 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
4633 jlong jresult = 0 ;
\r
4634 TopoDS_Shell *arg1 = 0 ;
\r
4635 TopoDS_Shell *arg2 = 0 ;
\r
4636 TopoDS_Shell *arg3 = 0 ;
\r
4637 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4644 arg1 = *(TopoDS_Shell **)&jarg1;
\r
4646 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4649 arg2 = *(TopoDS_Shell **)&jarg2;
\r
4651 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4654 arg3 = *(TopoDS_Shell **)&jarg3;
\r
4656 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4659 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_Shell const &)*arg1,(TopoDS_Shell const &)*arg2,(TopoDS_Shell const &)*arg3);
\r
4660 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4665 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4666 jlong jresult = 0 ;
\r
4667 TopoDS_Solid *arg1 = 0 ;
\r
4668 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4673 arg1 = *(TopoDS_Solid **)&jarg1;
\r
4675 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Solid const & reference is null");
\r
4678 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_Solid const &)*arg1);
\r
4679 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4684 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1MakeSolid_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4685 jlong jresult = 0 ;
\r
4686 TopoDS_Solid *arg1 = 0 ;
\r
4687 TopoDS_Shell *arg2 = 0 ;
\r
4688 BRepBuilderAPI_MakeSolid *result = 0 ;
\r
4694 arg1 = *(TopoDS_Solid **)&jarg1;
\r
4696 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Solid const & reference is null");
\r
4699 arg2 = *(TopoDS_Shell **)&jarg2;
\r
4701 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4704 result = (BRepBuilderAPI_MakeSolid *)new BRepBuilderAPI_MakeSolid((TopoDS_Solid const &)*arg1,(TopoDS_Shell const &)*arg2);
\r
4705 *(BRepBuilderAPI_MakeSolid **)&jresult = result;
\r
4710 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeSolid_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4711 BRepBuilderAPI_MakeSolid *arg1 = (BRepBuilderAPI_MakeSolid *) 0 ;
\r
4712 TopoDS_Shell *arg2 = 0 ;
\r
4718 arg1 = *(BRepBuilderAPI_MakeSolid **)&jarg1;
\r
4719 arg2 = *(TopoDS_Shell **)&jarg2;
\r
4721 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shell const & reference is null");
\r
4724 (arg1)->Add((TopoDS_Shell const &)*arg2);
\r
4728 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeSolid_1isDone(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4729 jboolean jresult = 0 ;
\r
4730 BRepBuilderAPI_MakeSolid *arg1 = (BRepBuilderAPI_MakeSolid *) 0 ;
\r
4731 Standard_Boolean result;
\r
4736 arg1 = *(BRepBuilderAPI_MakeSolid **)&jarg1;
\r
4737 result = ((BRepBuilderAPI_MakeSolid const *)arg1)->IsDone();
\r
4738 jresult = (jboolean)result;
\r
4743 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeSolid_1isDeleted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4744 jboolean jresult = 0 ;
\r
4745 BRepBuilderAPI_MakeSolid *arg1 = (BRepBuilderAPI_MakeSolid *) 0 ;
\r
4746 TopoDS_Shape *arg2 = 0 ;
\r
4747 Standard_Boolean result;
\r
4753 arg1 = *(BRepBuilderAPI_MakeSolid **)&jarg1;
\r
4754 arg2 = *(TopoDS_Shape **)&jarg2;
\r
4756 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
4759 result = (arg1)->IsDeleted((TopoDS_Shape const &)*arg2);
\r
4760 jresult = (jboolean)result;
\r
4765 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1MakeSolid(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
4766 BRepBuilderAPI_MakeSolid *arg1 = (BRepBuilderAPI_MakeSolid *) 0 ;
\r
4770 arg1 = *(BRepBuilderAPI_MakeSolid **)&jarg1;
\r
4775 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Sewing_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdouble jarg1, jboolean jarg2, jboolean jarg3, jboolean jarg4) {
\r
4776 jlong jresult = 0 ;
\r
4777 Standard_Real arg1 ;
\r
4778 Standard_Boolean arg2 ;
\r
4779 Standard_Boolean arg3 ;
\r
4780 Standard_Boolean arg4 ;
\r
4781 BRepBuilderAPI_Sewing *result = 0 ;
\r
4785 arg1 = (Standard_Real)jarg1;
\r
4795 result = (BRepBuilderAPI_Sewing *)new BRepBuilderAPI_Sewing(arg1,arg2,arg3,arg4);
\r
4796 *(BRepBuilderAPI_Sewing **)&jresult = result;
\r
4801 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Sewing_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdouble jarg1, jboolean jarg2, jboolean jarg3) {
\r
4802 jlong jresult = 0 ;
\r
4803 Standard_Real arg1 ;
\r
4804 Standard_Boolean arg2 ;
\r
4805 Standard_Boolean arg3 ;
\r
4806 BRepBuilderAPI_Sewing *result = 0 ;
\r
4810 arg1 = (Standard_Real)jarg1;
\r
4817 result = (BRepBuilderAPI_Sewing *)new BRepBuilderAPI_Sewing(arg1,arg2,arg3);
\r
4818 *(BRepBuilderAPI_Sewing **)&jresult = result;
\r
4823 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Sewing_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jdouble jarg1, jboolean jarg2) {
\r
4824 jlong jresult = 0 ;
\r
4825 Standard_Real arg1 ;
\r
4826 Standard_Boolean arg2 ;
\r
4827 BRepBuilderAPI_Sewing *result = 0 ;
\r
4831 arg1 = (Standard_Real)jarg1;
\r
4835 result = (BRepBuilderAPI_Sewing *)new BRepBuilderAPI_Sewing(arg1,arg2);
\r
4836 *(BRepBuilderAPI_Sewing **)&jresult = result;
\r
4841 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Sewing_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jdouble jarg1) {
\r
4842 jlong jresult = 0 ;
\r
4843 Standard_Real arg1 ;
\r
4844 BRepBuilderAPI_Sewing *result = 0 ;
\r
4848 arg1 = (Standard_Real)jarg1;
\r
4849 result = (BRepBuilderAPI_Sewing *)new BRepBuilderAPI_Sewing(arg1);
\r
4850 *(BRepBuilderAPI_Sewing **)&jresult = result;
\r
4855 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1Sewing_1_1SWIG_14(JNIEnv *jenv, jclass jcls) {
\r
4856 jlong jresult = 0 ;
\r
4857 BRepBuilderAPI_Sewing *result = 0 ;
\r
4861 result = (BRepBuilderAPI_Sewing *)new BRepBuilderAPI_Sewing();
\r
4862 *(BRepBuilderAPI_Sewing **)&jresult = result;
\r
4867 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1init_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jboolean jarg3, jboolean jarg4, jboolean jarg5) {
\r
4868 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4869 Standard_Real arg2 ;
\r
4870 Standard_Boolean arg3 ;
\r
4871 Standard_Boolean arg4 ;
\r
4872 Standard_Boolean arg5 ;
\r
4877 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4878 arg2 = (Standard_Real)jarg2;
\r
4888 (arg1)->Init(arg2,arg3,arg4,arg5);
\r
4892 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1init_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jboolean jarg3, jboolean jarg4) {
\r
4893 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4894 Standard_Real arg2 ;
\r
4895 Standard_Boolean arg3 ;
\r
4896 Standard_Boolean arg4 ;
\r
4901 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4902 arg2 = (Standard_Real)jarg2;
\r
4909 (arg1)->Init(arg2,arg3,arg4);
\r
4913 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1init_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jboolean jarg3) {
\r
4914 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4915 Standard_Real arg2 ;
\r
4916 Standard_Boolean arg3 ;
\r
4921 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4922 arg2 = (Standard_Real)jarg2;
\r
4926 (arg1)->Init(arg2,arg3);
\r
4930 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1init_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
4931 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4932 Standard_Real arg2 ;
\r
4937 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4938 arg2 = (Standard_Real)jarg2;
\r
4939 (arg1)->Init(arg2);
\r
4943 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1load(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4944 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4945 TopoDS_Shape *arg2 = 0 ;
\r
4951 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4952 arg2 = *(TopoDS_Shape **)&jarg2;
\r
4954 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
4957 (arg1)->Load((TopoDS_Shape const &)*arg2);
\r
4961 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
4962 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4963 TopoDS_Shape *arg2 = 0 ;
\r
4969 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4970 arg2 = *(TopoDS_Shape **)&jarg2;
\r
4972 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
4975 (arg1)->Add((TopoDS_Shape const &)*arg2);
\r
4979 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1perform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4980 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4985 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4986 (arg1)->Perform();
\r
4990 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1sewedShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
4991 jlong jresult = 0 ;
\r
4992 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
4993 TopoDS_Shape *result = 0 ;
\r
4998 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
4999 result = (TopoDS_Shape *) &((BRepBuilderAPI_Sewing const *)arg1)->SewedShape();
\r
5001 if(result->IsNull())
\r
5003 jresult=0L; //NULL
\r
5007 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5008 tsp->TShape(result->TShape());
\r
5009 tsp->Location(result->Location());
\r
5010 tsp->Orientation(result->Orientation());
\r
5011 jresult=(jlong)tsp;
\r
5018 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1nbFreeEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5019 jint jresult = 0 ;
\r
5020 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5021 Standard_Integer result;
\r
5026 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5027 result = (Standard_Integer)((BRepBuilderAPI_Sewing const *)arg1)->NbFreeEdges();
\r
5028 jresult = (jint)result;
\r
5033 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1freeEdge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
5034 jlong jresult = 0 ;
\r
5035 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5036 Standard_Integer arg2 ;
\r
5037 TopoDS_Edge *result = 0 ;
\r
5042 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5043 arg2 = (Standard_Integer)jarg2;
\r
5044 result = (TopoDS_Edge *) &((BRepBuilderAPI_Sewing const *)arg1)->FreeEdge(arg2);
\r
5045 *(TopoDS_Edge **)&jresult = result;
\r
5050 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1nbMultipleEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5051 jint jresult = 0 ;
\r
5052 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5053 Standard_Integer result;
\r
5058 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5059 result = (Standard_Integer)((BRepBuilderAPI_Sewing const *)arg1)->NbMultipleEdges();
\r
5060 jresult = (jint)result;
\r
5065 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1multipleEdge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
5066 jlong jresult = 0 ;
\r
5067 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5068 Standard_Integer arg2 ;
\r
5069 TopoDS_Edge *result = 0 ;
\r
5074 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5075 arg2 = (Standard_Integer)jarg2;
\r
5076 result = (TopoDS_Edge *) &((BRepBuilderAPI_Sewing const *)arg1)->MultipleEdge(arg2);
\r
5077 *(TopoDS_Edge **)&jresult = result;
\r
5082 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1nbDegeneratedShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5083 jint jresult = 0 ;
\r
5084 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5085 Standard_Integer result;
\r
5090 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5091 result = (Standard_Integer)((BRepBuilderAPI_Sewing const *)arg1)->NbDegeneratedShapes();
\r
5092 jresult = (jint)result;
\r
5097 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1degeneratedShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
5098 jlong jresult = 0 ;
\r
5099 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5100 Standard_Integer arg2 ;
\r
5101 TopoDS_Shape *result = 0 ;
\r
5106 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5107 arg2 = (Standard_Integer)jarg2;
\r
5108 result = (TopoDS_Shape *) &((BRepBuilderAPI_Sewing const *)arg1)->DegeneratedShape(arg2);
\r
5110 if(result->IsNull())
\r
5112 jresult=0L; //NULL
\r
5116 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5117 tsp->TShape(result->TShape());
\r
5118 tsp->Location(result->Location());
\r
5119 tsp->Orientation(result->Orientation());
\r
5120 jresult=(jlong)tsp;
\r
5127 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1nbDeletedFaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5128 jint jresult = 0 ;
\r
5129 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5130 Standard_Integer result;
\r
5135 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5136 result = (Standard_Integer)((BRepBuilderAPI_Sewing const *)arg1)->NbDeletedFaces();
\r
5137 jresult = (jint)result;
\r
5142 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1deletedFace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
5143 jlong jresult = 0 ;
\r
5144 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5145 Standard_Integer arg2 ;
\r
5146 TopoDS_Face *result = 0 ;
\r
5151 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5152 arg2 = (Standard_Integer)jarg2;
\r
5153 result = (TopoDS_Face *) &((BRepBuilderAPI_Sewing const *)arg1)->DeletedFace(arg2);
\r
5154 *(TopoDS_Face **)&jresult = result;
\r
5159 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1isDegenerated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5160 jboolean jresult = 0 ;
\r
5161 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5162 TopoDS_Shape *arg2 = 0 ;
\r
5163 Standard_Boolean result;
\r
5169 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5170 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5172 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5175 result = ((BRepBuilderAPI_Sewing const *)arg1)->IsDegenerated((TopoDS_Shape const &)*arg2);
\r
5176 jresult = (jboolean)result;
\r
5181 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1isModified(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5182 jboolean jresult = 0 ;
\r
5183 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5184 TopoDS_Shape *arg2 = 0 ;
\r
5185 Standard_Boolean result;
\r
5191 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5192 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5194 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5197 result = ((BRepBuilderAPI_Sewing const *)arg1)->IsModified((TopoDS_Shape const &)*arg2);
\r
5198 jresult = (jboolean)result;
\r
5203 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1modified(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5204 jlong jresult = 0 ;
\r
5205 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5206 TopoDS_Shape *arg2 = 0 ;
\r
5207 TopoDS_Shape *result = 0 ;
\r
5213 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5214 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5216 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5219 result = (TopoDS_Shape *) &((BRepBuilderAPI_Sewing const *)arg1)->Modified((TopoDS_Shape const &)*arg2);
\r
5221 if(result->IsNull())
\r
5223 jresult=0L; //NULL
\r
5227 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5228 tsp->TShape(result->TShape());
\r
5229 tsp->Location(result->Location());
\r
5230 tsp->Orientation(result->Orientation());
\r
5231 jresult=(jlong)tsp;
\r
5238 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1dump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5239 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5244 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5245 ((BRepBuilderAPI_Sewing const *)arg1)->Dump();
\r
5249 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1isModifiedSubShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5250 jboolean jresult = 0 ;
\r
5251 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5252 TopoDS_Shape *arg2 = 0 ;
\r
5253 Standard_Boolean result;
\r
5259 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5260 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5262 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5265 result = ((BRepBuilderAPI_Sewing const *)arg1)->IsModifiedSubShape((TopoDS_Shape const &)*arg2);
\r
5266 jresult = (jboolean)result;
\r
5271 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Sewing_1modifiedSubShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5272 jlong jresult = 0 ;
\r
5273 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5274 TopoDS_Shape *arg2 = 0 ;
\r
5275 TopoDS_Shape result;
\r
5281 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5282 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5284 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5287 result = ((BRepBuilderAPI_Sewing const *)arg1)->ModifiedSubShape((TopoDS_Shape const &)*arg2);
\r
5289 if((&result)->IsNull())
\r
5291 jresult=0L; //NULL
\r
5295 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5296 tsp->TShape((&result)->TShape());
\r
5297 tsp->Location((&result)->Location());
\r
5298 tsp->Orientation((&result)->Orientation());
\r
5299 jresult=(jlong)tsp;
\r
5306 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1Sewing(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5307 BRepBuilderAPI_Sewing *arg1 = (BRepBuilderAPI_Sewing *) 0 ;
\r
5311 arg1 = *(BRepBuilderAPI_Sewing **)&jarg1;
\r
5316 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1NurbsConvert_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
5317 jlong jresult = 0 ;
\r
5318 BRepBuilderAPI_NurbsConvert *result = 0 ;
\r
5322 result = (BRepBuilderAPI_NurbsConvert *)new BRepBuilderAPI_NurbsConvert();
\r
5323 *(BRepBuilderAPI_NurbsConvert **)&jresult = result;
\r
5328 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1NurbsConvert_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
5329 jlong jresult = 0 ;
\r
5330 TopoDS_Shape *arg1 = 0 ;
\r
5331 Standard_Boolean arg2 ;
\r
5332 BRepBuilderAPI_NurbsConvert *result = 0 ;
\r
5337 arg1 = *(TopoDS_Shape **)&jarg1;
\r
5339 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5345 result = (BRepBuilderAPI_NurbsConvert *)new BRepBuilderAPI_NurbsConvert((TopoDS_Shape const &)*arg1,arg2);
\r
5346 *(BRepBuilderAPI_NurbsConvert **)&jresult = result;
\r
5351 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBuilderAPI_1NurbsConvert_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5352 jlong jresult = 0 ;
\r
5353 TopoDS_Shape *arg1 = 0 ;
\r
5354 BRepBuilderAPI_NurbsConvert *result = 0 ;
\r
5359 arg1 = *(TopoDS_Shape **)&jarg1;
\r
5361 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5364 result = (BRepBuilderAPI_NurbsConvert *)new BRepBuilderAPI_NurbsConvert((TopoDS_Shape const &)*arg1);
\r
5365 *(BRepBuilderAPI_NurbsConvert **)&jresult = result;
\r
5370 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1NurbsConvert_1perform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
5371 BRepBuilderAPI_NurbsConvert *arg1 = (BRepBuilderAPI_NurbsConvert *) 0 ;
\r
5372 TopoDS_Shape *arg2 = 0 ;
\r
5373 Standard_Boolean arg3 ;
\r
5379 arg1 = *(BRepBuilderAPI_NurbsConvert **)&jarg1;
\r
5380 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5382 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5388 (arg1)->Perform((TopoDS_Shape const &)*arg2,arg3);
\r
5392 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1NurbsConvert_1perform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5393 BRepBuilderAPI_NurbsConvert *arg1 = (BRepBuilderAPI_NurbsConvert *) 0 ;
\r
5394 TopoDS_Shape *arg2 = 0 ;
\r
5400 arg1 = *(BRepBuilderAPI_NurbsConvert **)&jarg1;
\r
5401 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5403 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5406 (arg1)->Perform((TopoDS_Shape const &)*arg2);
\r
5410 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBuilderAPI_1NurbsConvert(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5411 BRepBuilderAPI_NurbsConvert *arg1 = (BRepBuilderAPI_NurbsConvert *) 0 ;
\r
5415 arg1 = *(BRepBuilderAPI_NurbsConvert **)&jarg1;
\r
5420 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepOffsetAPI_1NormalProjection_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
5421 jlong jresult = 0 ;
\r
5422 BRepOffsetAPI_NormalProjection *result = 0 ;
\r
5426 result = (BRepOffsetAPI_NormalProjection *)new BRepOffsetAPI_NormalProjection();
\r
5427 *(BRepOffsetAPI_NormalProjection **)&jresult = result;
\r
5432 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepOffsetAPI_1NormalProjection_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5433 jlong jresult = 0 ;
\r
5434 TopoDS_Shape *arg1 = 0 ;
\r
5435 BRepOffsetAPI_NormalProjection *result = 0 ;
\r
5440 arg1 = *(TopoDS_Shape **)&jarg1;
\r
5442 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5445 result = (BRepOffsetAPI_NormalProjection *)new BRepOffsetAPI_NormalProjection((TopoDS_Shape const &)*arg1);
\r
5446 *(BRepOffsetAPI_NormalProjection **)&jresult = result;
\r
5451 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1init(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5452 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5453 TopoDS_Shape *arg2 = 0 ;
\r
5459 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5460 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5462 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5465 (arg1)->Init((TopoDS_Shape const &)*arg2);
\r
5469 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5470 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5471 TopoDS_Shape *arg2 = 0 ;
\r
5477 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5478 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5480 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5483 (arg1)->Add((TopoDS_Shape const &)*arg2);
\r
5487 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1setParams(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3, jint jarg4, jint jarg5, jint jarg6) {
\r
5488 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5489 Standard_Real arg2 ;
\r
5490 Standard_Real arg3 ;
\r
5491 GeomAbs_Shape arg4 ;
\r
5492 Standard_Integer arg5 ;
\r
5493 Standard_Integer arg6 ;
\r
5498 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5499 arg2 = (Standard_Real)jarg2;
\r
5500 arg3 = (Standard_Real)jarg3;
\r
5501 arg4 = (GeomAbs_Shape)jarg4;
\r
5502 arg5 = (Standard_Integer)jarg5;
\r
5503 arg6 = (Standard_Integer)jarg6;
\r
5504 (arg1)->SetParams(arg2,arg3,arg4,arg5,arg6);
\r
5508 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1setMaxDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
5509 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5510 Standard_Real arg2 ;
\r
5515 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5516 arg2 = (Standard_Real)jarg2;
\r
5517 (arg1)->SetMaxDistance(arg2);
\r
5521 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1setLimit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
5522 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5523 Standard_Boolean arg2 ;
\r
5528 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5532 (arg1)->SetLimit(arg2);
\r
5536 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1setLimit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5537 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5542 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5543 (arg1)->SetLimit();
\r
5547 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1compute3d_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
5548 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5549 Standard_Boolean arg2 ;
\r
5554 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5558 (arg1)->Compute3d(arg2);
\r
5562 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1compute3d_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5563 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5568 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5569 (arg1)->Compute3d();
\r
5573 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1build(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5574 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5579 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5584 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1isDone(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5585 jboolean jresult = 0 ;
\r
5586 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5587 Standard_Boolean result;
\r
5592 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5593 result = ((BRepOffsetAPI_NormalProjection const *)arg1)->IsDone();
\r
5594 jresult = (jboolean)result;
\r
5599 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1projection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
5600 jlong jresult = 0 ;
\r
5601 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5602 TopoDS_Shape *result = 0 ;
\r
5607 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5608 result = (TopoDS_Shape *) &((BRepOffsetAPI_NormalProjection const *)arg1)->Projection();
\r
5610 if(result->IsNull())
\r
5612 jresult=0L; //NULL
\r
5616 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5617 tsp->TShape(result->TShape());
\r
5618 tsp->Location(result->Location());
\r
5619 tsp->Orientation(result->Orientation());
\r
5620 jresult=(jlong)tsp;
\r
5627 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1couple(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5628 jlong jresult = 0 ;
\r
5629 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5630 TopoDS_Edge *arg2 = 0 ;
\r
5631 TopoDS_Shape *result = 0 ;
\r
5637 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5638 arg2 = *(TopoDS_Edge **)&jarg2;
\r
5640 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
5643 result = (TopoDS_Shape *) &((BRepOffsetAPI_NormalProjection const *)arg1)->Couple((TopoDS_Edge const &)*arg2);
\r
5645 if(result->IsNull())
\r
5647 jresult=0L; //NULL
\r
5651 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5652 tsp->TShape(result->TShape());
\r
5653 tsp->Location(result->Location());
\r
5654 tsp->Orientation(result->Orientation());
\r
5655 jresult=(jlong)tsp;
\r
5662 SWIGEXPORT jlongArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1generated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5663 jlongArray jresult = 0 ;
\r
5664 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5665 TopoDS_Shape *arg2 = 0 ;
\r
5666 TopTools_ListOfShape *result = 0 ;
\r
5672 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5673 arg2 = *(TopoDS_Shape **)&jarg2;
\r
5675 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
5678 result = (TopTools_ListOfShape *) &(arg1)->Generated((TopoDS_Shape const &)*arg2);
\r
5681 const TopTools_ListOfShape& l = *result;
\r
5683 jlong * as=(jlong*) malloc (sizeof(jlong) * n * 2);
\r
5684 TopTools_ListIteratorOfListOfShape it(l);
\r
5688 const TopoDS_Shape & s=it.Value();
\r
5689 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5690 tsp->TShape(s.TShape());
\r
5691 tsp->Location(s.Location());
\r
5692 tsp->Orientation(s.Orientation());
\r
5693 as[j++]=(jlong)tsp;
\r
5694 as[j++]=s.ShapeType();
\r
5697 jlongArray jarray=jenv->NewLongArray(n*2);
\r
5698 jenv->SetLongArrayRegion(jarray, 0, n*2, as);
\r
5706 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1ancestor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
5707 jlong jresult = 0 ;
\r
5708 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5709 TopoDS_Edge *arg2 = 0 ;
\r
5710 TopoDS_Shape *result = 0 ;
\r
5716 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5717 arg2 = *(TopoDS_Edge **)&jarg2;
\r
5719 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
5722 result = (TopoDS_Shape *) &((BRepOffsetAPI_NormalProjection const *)arg1)->Ancestor((TopoDS_Edge const &)*arg2);
\r
5724 if(result->IsNull())
\r
5726 jresult=0L; //NULL
\r
5730 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
5731 tsp->TShape(result->TShape());
\r
5732 tsp->Location(result->Location());
\r
5733 tsp->Orientation(result->Orientation());
\r
5734 jresult=(jlong)tsp;
\r
5741 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1buildWire(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
\r
5742 jboolean jresult = 0 ;
\r
5743 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5744 TopTools_ListOfShape *arg2 = 0 ;
\r
5745 Standard_Boolean result;
\r
5750 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5751 arg2 = *(TopTools_ListOfShape **)&jarg2;
\r
5753 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopTools_ListOfShape & reference is null");
\r
5756 result = ((BRepOffsetAPI_NormalProjection const *)arg1)->BuildWire(*arg2);
\r
5757 jresult = (jboolean)result;
\r
5762 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepOffsetAPI_1NormalProjection(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5763 BRepOffsetAPI_NormalProjection *arg1 = (BRepOffsetAPI_NormalProjection *) 0 ;
\r
5767 arg1 = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
5772 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeBox(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2) {
\r
5773 jlong jresult = 0 ;
\r
5774 gp_Pnt *arg1 = 0 ;
\r
5775 gp_Pnt *arg2 = 0 ;
\r
5776 BRepPrimAPI_MakeBox *result = 0 ;
\r
5781 if(jenv->GetArrayLength(jarg1)!=3)
\r
5782 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
5783 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5784 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
5787 if(jenv->GetArrayLength(jarg2)!=3)
\r
5788 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
5789 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
5790 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
5792 result = (BRepPrimAPI_MakeBox *)new BRepPrimAPI_MakeBox((gp_Pnt const &)*arg1,(gp_Pnt const &)*arg2);
\r
5793 *(BRepPrimAPI_MakeBox **)&jresult = result;
\r
5804 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeBox(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5805 BRepPrimAPI_MakeBox *arg1 = (BRepPrimAPI_MakeBox *) 0 ;
\r
5809 arg1 = *(BRepPrimAPI_MakeBox **)&jarg1;
\r
5814 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeCone(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2, jdouble jarg3, jdouble jarg4, jdouble jarg5) {
\r
5815 jlong jresult = 0 ;
\r
5816 gp_Ax2 *arg1 = 0 ;
\r
5817 Standard_Real arg2 ;
\r
5818 Standard_Real arg3 ;
\r
5819 Standard_Real arg4 ;
\r
5820 Standard_Real arg5 ;
\r
5821 BRepPrimAPI_MakeCone *result = 0 ;
\r
5826 if(jenv->GetArrayLength(jarg1)!=6)
\r
5827 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
5828 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5829 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
5831 arg2 = (Standard_Real)jarg2;
\r
5832 arg3 = (Standard_Real)jarg3;
\r
5833 arg4 = (Standard_Real)jarg4;
\r
5834 arg5 = (Standard_Real)jarg5;
\r
5835 result = (BRepPrimAPI_MakeCone *)new BRepPrimAPI_MakeCone((gp_Ax2 const &)*arg1,arg2,arg3,arg4,arg5);
\r
5836 *(BRepPrimAPI_MakeCone **)&jresult = result;
\r
5844 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeCone(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5845 BRepPrimAPI_MakeCone *arg1 = (BRepPrimAPI_MakeCone *) 0 ;
\r
5849 arg1 = *(BRepPrimAPI_MakeCone **)&jarg1;
\r
5854 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeCylinder(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2, jdouble jarg3, jdouble jarg4) {
\r
5855 jlong jresult = 0 ;
\r
5856 gp_Ax2 *arg1 = 0 ;
\r
5857 Standard_Real arg2 ;
\r
5858 Standard_Real arg3 ;
\r
5859 Standard_Real arg4 ;
\r
5860 BRepPrimAPI_MakeCylinder *result = 0 ;
\r
5865 if(jenv->GetArrayLength(jarg1)!=6)
\r
5866 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
5867 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5868 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
5870 arg2 = (Standard_Real)jarg2;
\r
5871 arg3 = (Standard_Real)jarg3;
\r
5872 arg4 = (Standard_Real)jarg4;
\r
5873 result = (BRepPrimAPI_MakeCylinder *)new BRepPrimAPI_MakeCylinder((gp_Ax2 const &)*arg1,arg2,arg3,arg4);
\r
5874 *(BRepPrimAPI_MakeCylinder **)&jresult = result;
\r
5882 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeCylinder(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5883 BRepPrimAPI_MakeCylinder *arg1 = (BRepPrimAPI_MakeCylinder *) 0 ;
\r
5887 arg1 = *(BRepPrimAPI_MakeCylinder **)&jarg1;
\r
5892 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeTorus_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2, jdouble jarg3) {
\r
5893 jlong jresult = 0 ;
\r
5894 gp_Ax2 *arg1 = 0 ;
\r
5895 Standard_Real arg2 ;
\r
5896 Standard_Real arg3 ;
\r
5897 BRepPrimAPI_MakeTorus *result = 0 ;
\r
5902 if(jenv->GetArrayLength(jarg1)!=6)
\r
5903 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
5904 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5905 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
5907 arg2 = (Standard_Real)jarg2;
\r
5908 arg3 = (Standard_Real)jarg3;
\r
5909 result = (BRepPrimAPI_MakeTorus *)new BRepPrimAPI_MakeTorus((gp_Ax2 const &)*arg1,arg2,arg3);
\r
5910 *(BRepPrimAPI_MakeTorus **)&jresult = result;
\r
5918 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeTorus_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2, jdouble jarg3, jdouble jarg4, jdouble jarg5, jdouble jarg6) {
\r
5919 jlong jresult = 0 ;
\r
5920 gp_Ax2 *arg1 = 0 ;
\r
5921 Standard_Real arg2 ;
\r
5922 Standard_Real arg3 ;
\r
5923 Standard_Real arg4 ;
\r
5924 Standard_Real arg5 ;
\r
5925 Standard_Real arg6 ;
\r
5926 BRepPrimAPI_MakeTorus *result = 0 ;
\r
5931 if(jenv->GetArrayLength(jarg1)!=6)
\r
5932 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
5933 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5934 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
5936 arg2 = (Standard_Real)jarg2;
\r
5937 arg3 = (Standard_Real)jarg3;
\r
5938 arg4 = (Standard_Real)jarg4;
\r
5939 arg5 = (Standard_Real)jarg5;
\r
5940 arg6 = (Standard_Real)jarg6;
\r
5941 result = (BRepPrimAPI_MakeTorus *)new BRepPrimAPI_MakeTorus((gp_Ax2 const &)*arg1,arg2,arg3,arg4,arg5,arg6);
\r
5942 *(BRepPrimAPI_MakeTorus **)&jresult = result;
\r
5950 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeTorus(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
5951 BRepPrimAPI_MakeTorus *arg1 = (BRepPrimAPI_MakeTorus *) 0 ;
\r
5955 arg1 = *(BRepPrimAPI_MakeTorus **)&jarg1;
\r
5960 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeSphere_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2) {
\r
5961 jlong jresult = 0 ;
\r
5962 gp_Pnt *arg1 = 0 ;
\r
5963 Standard_Real arg2 ;
\r
5964 BRepPrimAPI_MakeSphere *result = 0 ;
\r
5969 if(jenv->GetArrayLength(jarg1)!=3)
\r
5970 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
5971 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5972 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
5974 arg2 = (Standard_Real)jarg2;
\r
5975 result = (BRepPrimAPI_MakeSphere *)new BRepPrimAPI_MakeSphere((gp_Pnt const &)*arg1,arg2);
\r
5976 *(BRepPrimAPI_MakeSphere **)&jresult = result;
\r
5984 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeSphere_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdouble jarg2, jdouble jarg3, jdouble jarg4, jdouble jarg5) {
\r
5985 jlong jresult = 0 ;
\r
5986 gp_Ax2 *arg1 = 0 ;
\r
5987 Standard_Real arg2 ;
\r
5988 Standard_Real arg3 ;
\r
5989 Standard_Real arg4 ;
\r
5990 Standard_Real arg5 ;
\r
5991 BRepPrimAPI_MakeSphere *result = 0 ;
\r
5996 if(jenv->GetArrayLength(jarg1)!=6)
\r
5997 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
5998 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
5999 arg1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
6001 arg2 = (Standard_Real)jarg2;
\r
6002 arg3 = (Standard_Real)jarg3;
\r
6003 arg4 = (Standard_Real)jarg4;
\r
6004 arg5 = (Standard_Real)jarg5;
\r
6005 result = (BRepPrimAPI_MakeSphere *)new BRepPrimAPI_MakeSphere((gp_Ax2 const &)*arg1,arg2,arg3,arg4,arg5);
\r
6006 *(BRepPrimAPI_MakeSphere **)&jresult = result;
\r
6014 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeSphere(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6015 BRepPrimAPI_MakeSphere *arg1 = (BRepPrimAPI_MakeSphere *) 0 ;
\r
6019 arg1 = *(BRepPrimAPI_MakeSphere **)&jarg1;
\r
6024 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeSweep(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6025 BRepPrimAPI_MakeSweep *arg1 = (BRepPrimAPI_MakeSweep *) 0 ;
\r
6029 arg1 = *(BRepPrimAPI_MakeSweep **)&jarg1;
\r
6034 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakePrism_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jboolean jarg3, jboolean jarg4) {
\r
6035 jlong jresult = 0 ;
\r
6036 TopoDS_Shape *arg1 = 0 ;
\r
6037 gp_Vec *arg2 = 0 ;
\r
6038 Standard_Boolean arg3 ;
\r
6039 Standard_Boolean arg4 ;
\r
6040 BRepPrimAPI_MakePrism *result = 0 ;
\r
6045 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6047 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6051 if(jenv->GetArrayLength(jarg2)!=3)
\r
6052 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
6053 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6054 arg2=new gp_Vec(naxe[0],naxe[1],naxe[2]);
\r
6062 result = (BRepPrimAPI_MakePrism *)new BRepPrimAPI_MakePrism((TopoDS_Shape const &)*arg1,(gp_Vec const &)*arg2,arg3,arg4);
\r
6063 *(BRepPrimAPI_MakePrism **)&jresult = result;
\r
6071 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakePrism_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jboolean jarg3) {
\r
6072 jlong jresult = 0 ;
\r
6073 TopoDS_Shape *arg1 = 0 ;
\r
6074 gp_Vec *arg2 = 0 ;
\r
6075 Standard_Boolean arg3 ;
\r
6076 BRepPrimAPI_MakePrism *result = 0 ;
\r
6081 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6083 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6087 if(jenv->GetArrayLength(jarg2)!=3)
\r
6088 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
6089 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6090 arg2=new gp_Vec(naxe[0],naxe[1],naxe[2]);
\r
6095 result = (BRepPrimAPI_MakePrism *)new BRepPrimAPI_MakePrism((TopoDS_Shape const &)*arg1,(gp_Vec const &)*arg2,arg3);
\r
6096 *(BRepPrimAPI_MakePrism **)&jresult = result;
\r
6104 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakePrism_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
6105 jlong jresult = 0 ;
\r
6106 TopoDS_Shape *arg1 = 0 ;
\r
6107 gp_Vec *arg2 = 0 ;
\r
6108 BRepPrimAPI_MakePrism *result = 0 ;
\r
6113 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6115 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6119 if(jenv->GetArrayLength(jarg2)!=3)
\r
6120 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
6121 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6122 arg2=new gp_Vec(naxe[0],naxe[1],naxe[2]);
\r
6124 result = (BRepPrimAPI_MakePrism *)new BRepPrimAPI_MakePrism((TopoDS_Shape const &)*arg1,(gp_Vec const &)*arg2);
\r
6125 *(BRepPrimAPI_MakePrism **)&jresult = result;
\r
6133 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakePrism(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6134 BRepPrimAPI_MakePrism *arg1 = (BRepPrimAPI_MakePrism *) 0 ;
\r
6138 arg1 = *(BRepPrimAPI_MakePrism **)&jarg1;
\r
6143 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeRevol_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdouble jarg3, jboolean jarg4) {
\r
6144 jlong jresult = 0 ;
\r
6145 TopoDS_Shape *arg1 = 0 ;
\r
6146 gp_Ax1 *arg2 = 0 ;
\r
6147 Standard_Real arg3 ;
\r
6148 Standard_Boolean arg4 ;
\r
6149 BRepPrimAPI_MakeRevol *result = 0 ;
\r
6154 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6156 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6160 if(jenv->GetArrayLength(jarg2)!=6)
\r
6161 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
6162 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6163 arg2=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
6165 arg3 = (Standard_Real)jarg3;
\r
6169 result = (BRepPrimAPI_MakeRevol *)new BRepPrimAPI_MakeRevol((TopoDS_Shape const &)*arg1,(gp_Ax1 const &)*arg2,arg3,arg4);
\r
6170 *(BRepPrimAPI_MakeRevol **)&jresult = result;
\r
6178 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeRevol_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdouble jarg3) {
\r
6179 jlong jresult = 0 ;
\r
6180 TopoDS_Shape *arg1 = 0 ;
\r
6181 gp_Ax1 *arg2 = 0 ;
\r
6182 Standard_Real arg3 ;
\r
6183 BRepPrimAPI_MakeRevol *result = 0 ;
\r
6188 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6190 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6194 if(jenv->GetArrayLength(jarg2)!=6)
\r
6195 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
6196 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6197 arg2=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
6199 arg3 = (Standard_Real)jarg3;
\r
6200 result = (BRepPrimAPI_MakeRevol *)new BRepPrimAPI_MakeRevol((TopoDS_Shape const &)*arg1,(gp_Ax1 const &)*arg2,arg3);
\r
6201 *(BRepPrimAPI_MakeRevol **)&jresult = result;
\r
6209 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeRevol_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jboolean jarg3) {
\r
6210 jlong jresult = 0 ;
\r
6211 TopoDS_Shape *arg1 = 0 ;
\r
6212 gp_Ax1 *arg2 = 0 ;
\r
6213 Standard_Boolean arg3 ;
\r
6214 BRepPrimAPI_MakeRevol *result = 0 ;
\r
6219 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6221 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6225 if(jenv->GetArrayLength(jarg2)!=6)
\r
6226 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
6227 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6228 arg2=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
6233 result = (BRepPrimAPI_MakeRevol *)new BRepPrimAPI_MakeRevol((TopoDS_Shape const &)*arg1,(gp_Ax1 const &)*arg2,arg3);
\r
6234 *(BRepPrimAPI_MakeRevol **)&jresult = result;
\r
6242 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepPrimAPI_1MakeRevol_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
6243 jlong jresult = 0 ;
\r
6244 TopoDS_Shape *arg1 = 0 ;
\r
6245 gp_Ax1 *arg2 = 0 ;
\r
6246 BRepPrimAPI_MakeRevol *result = 0 ;
\r
6251 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6253 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6257 if(jenv->GetArrayLength(jarg2)!=6)
\r
6258 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6");
\r
6259 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
6260 arg2=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]));
\r
6262 result = (BRepPrimAPI_MakeRevol *)new BRepPrimAPI_MakeRevol((TopoDS_Shape const &)*arg1,(gp_Ax1 const &)*arg2);
\r
6263 *(BRepPrimAPI_MakeRevol **)&jresult = result;
\r
6271 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepPrimAPI_1MakeRevol(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6272 BRepPrimAPI_MakeRevol *arg1 = (BRepPrimAPI_MakeRevol *) 0 ;
\r
6276 arg1 = *(BRepPrimAPI_MakeRevol **)&jarg1;
\r
6281 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepOffsetAPI_1MakePipe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6282 jlong jresult = 0 ;
\r
6283 TopoDS_Wire *arg1 = 0 ;
\r
6284 TopoDS_Shape *arg2 = 0 ;
\r
6285 BRepOffsetAPI_MakePipe *result = 0 ;
\r
6291 arg1 = *(TopoDS_Wire **)&jarg1;
\r
6293 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Wire const & reference is null");
\r
6296 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6298 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6301 result = (BRepOffsetAPI_MakePipe *)new BRepOffsetAPI_MakePipe((TopoDS_Wire const &)*arg1,(TopoDS_Shape const &)*arg2);
\r
6302 *(BRepOffsetAPI_MakePipe **)&jresult = result;
\r
6307 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepOffsetAPI_1MakePipe(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6308 BRepOffsetAPI_MakePipe *arg1 = (BRepOffsetAPI_MakePipe *) 0 ;
\r
6312 arg1 = *(BRepOffsetAPI_MakePipe **)&jarg1;
\r
6317 SWIGEXPORT jlongArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1modified(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6318 jlongArray jresult = 0 ;
\r
6319 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6320 TopoDS_Shape *arg2 = 0 ;
\r
6321 TopTools_ListOfShape *result = 0 ;
\r
6327 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6328 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6330 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6333 result = (TopTools_ListOfShape *) &(arg1)->Modified((TopoDS_Shape const &)*arg2);
\r
6336 const TopTools_ListOfShape& l = *result;
\r
6338 jlong * as=(jlong*) malloc (sizeof(jlong) * n * 2);
\r
6339 TopTools_ListIteratorOfListOfShape it(l);
\r
6343 const TopoDS_Shape & s=it.Value();
\r
6344 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
6345 tsp->TShape(s.TShape());
\r
6346 tsp->Location(s.Location());
\r
6347 tsp->Orientation(s.Orientation());
\r
6348 as[j++]=(jlong)tsp;
\r
6349 as[j++]=s.ShapeType();
\r
6352 jlongArray jarray=jenv->NewLongArray(n*2);
\r
6353 jenv->SetLongArrayRegion(jarray, 0, n*2, as);
\r
6361 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1isDeleted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6362 jboolean jresult = 0 ;
\r
6363 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6364 TopoDS_Shape *arg2 = 0 ;
\r
6365 Standard_Boolean result;
\r
6371 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6372 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6374 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6377 result = (arg1)->IsDeleted((TopoDS_Shape const &)*arg2);
\r
6378 jresult = (jboolean)result;
\r
6383 SWIGEXPORT jlongArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1modified2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6384 jlongArray jresult = 0 ;
\r
6385 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6386 TopoDS_Shape *arg2 = 0 ;
\r
6387 TopTools_ListOfShape *result = 0 ;
\r
6393 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6394 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6396 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6399 result = (TopTools_ListOfShape *) &(arg1)->Modified2((TopoDS_Shape const &)*arg2);
\r
6402 const TopTools_ListOfShape& l = *result;
\r
6404 jlong * as=(jlong*) malloc (sizeof(jlong) * n * 2);
\r
6405 TopTools_ListIteratorOfListOfShape it(l);
\r
6409 const TopoDS_Shape & s=it.Value();
\r
6410 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
6411 tsp->TShape(s.TShape());
\r
6412 tsp->Location(s.Location());
\r
6413 tsp->Orientation(s.Orientation());
\r
6414 as[j++]=(jlong)tsp;
\r
6415 as[j++]=s.ShapeType();
\r
6418 jlongArray jarray=jenv->NewLongArray(n*2);
\r
6419 jenv->SetLongArrayRegion(jarray, 0, n*2, as);
\r
6427 SWIGEXPORT jlongArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1generated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6428 jlongArray jresult = 0 ;
\r
6429 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6430 TopoDS_Shape *arg2 = 0 ;
\r
6431 TopTools_ListOfShape *result = 0 ;
\r
6437 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6438 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6440 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6443 result = (TopTools_ListOfShape *) &(arg1)->Generated((TopoDS_Shape const &)*arg2);
\r
6446 const TopTools_ListOfShape& l = *result;
\r
6448 jlong * as=(jlong*) malloc (sizeof(jlong) * n * 2);
\r
6449 TopTools_ListIteratorOfListOfShape it(l);
\r
6453 const TopoDS_Shape & s=it.Value();
\r
6454 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
6455 tsp->TShape(s.TShape());
\r
6456 tsp->Location(s.Location());
\r
6457 tsp->Orientation(s.Orientation());
\r
6458 as[j++]=(jlong)tsp;
\r
6459 as[j++]=s.ShapeType();
\r
6462 jlongArray jarray=jenv->NewLongArray(n*2);
\r
6463 jenv->SetLongArrayRegion(jarray, 0, n*2, as);
\r
6471 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1hasModified(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6472 jboolean jresult = 0 ;
\r
6473 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6474 Standard_Boolean result;
\r
6479 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6480 result = ((BRepAlgoAPI_BooleanOperation const *)arg1)->HasModified();
\r
6481 jresult = (jboolean)result;
\r
6486 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1hasGenerated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6487 jboolean jresult = 0 ;
\r
6488 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6489 Standard_Boolean result;
\r
6494 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6495 result = ((BRepAlgoAPI_BooleanOperation const *)arg1)->HasGenerated();
\r
6496 jresult = (jboolean)result;
\r
6501 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1hasDeleted(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6502 jboolean jresult = 0 ;
\r
6503 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6504 Standard_Boolean result;
\r
6509 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6510 result = ((BRepAlgoAPI_BooleanOperation const *)arg1)->HasDeleted();
\r
6511 jresult = (jboolean)result;
\r
6516 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgoAPI_1BooleanOperation(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6517 BRepAlgoAPI_BooleanOperation *arg1 = (BRepAlgoAPI_BooleanOperation *) 0 ;
\r
6521 arg1 = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
6526 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepAlgoAPI_1Fuse(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6527 jlong jresult = 0 ;
\r
6528 TopoDS_Shape *arg1 = 0 ;
\r
6529 TopoDS_Shape *arg2 = 0 ;
\r
6530 BRepAlgoAPI_Fuse *result = 0 ;
\r
6536 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6538 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6541 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6543 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6546 result = (BRepAlgoAPI_Fuse *)new BRepAlgoAPI_Fuse((TopoDS_Shape const &)*arg1,(TopoDS_Shape const &)*arg2);
\r
6547 *(BRepAlgoAPI_Fuse **)&jresult = result;
\r
6552 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgoAPI_1Fuse(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6553 BRepAlgoAPI_Fuse *arg1 = (BRepAlgoAPI_Fuse *) 0 ;
\r
6557 arg1 = *(BRepAlgoAPI_Fuse **)&jarg1;
\r
6562 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepAlgoAPI_1Common(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6563 jlong jresult = 0 ;
\r
6564 TopoDS_Shape *arg1 = 0 ;
\r
6565 TopoDS_Shape *arg2 = 0 ;
\r
6566 BRepAlgoAPI_Common *result = 0 ;
\r
6572 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6574 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6577 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6579 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6582 result = (BRepAlgoAPI_Common *)new BRepAlgoAPI_Common((TopoDS_Shape const &)*arg1,(TopoDS_Shape const &)*arg2);
\r
6583 *(BRepAlgoAPI_Common **)&jresult = result;
\r
6588 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgoAPI_1Common(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6589 BRepAlgoAPI_Common *arg1 = (BRepAlgoAPI_Common *) 0 ;
\r
6593 arg1 = *(BRepAlgoAPI_Common **)&jarg1;
\r
6598 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepAlgoAPI_1Cut(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6599 jlong jresult = 0 ;
\r
6600 TopoDS_Shape *arg1 = 0 ;
\r
6601 TopoDS_Shape *arg2 = 0 ;
\r
6602 BRepAlgoAPI_Cut *result = 0 ;
\r
6608 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6610 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6613 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6615 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6618 result = (BRepAlgoAPI_Cut *)new BRepAlgoAPI_Cut((TopoDS_Shape const &)*arg1,(TopoDS_Shape const &)*arg2);
\r
6619 *(BRepAlgoAPI_Cut **)&jresult = result;
\r
6624 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgoAPI_1Cut(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6625 BRepAlgoAPI_Cut *arg1 = (BRepAlgoAPI_Cut *) 0 ;
\r
6629 arg1 = *(BRepAlgoAPI_Cut **)&jarg1;
\r
6634 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepAlgoAPI_1Section(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
6635 jlong jresult = 0 ;
\r
6636 TopoDS_Shape *arg1 = 0 ;
\r
6637 TopoDS_Shape *arg2 = 0 ;
\r
6638 BRepAlgoAPI_Section *result = 0 ;
\r
6644 arg1 = *(TopoDS_Shape **)&jarg1;
\r
6646 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6649 arg2 = *(TopoDS_Shape **)&jarg2;
\r
6651 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
6654 result = (BRepAlgoAPI_Section *)new BRepAlgoAPI_Section((TopoDS_Shape const &)*arg1,(TopoDS_Shape const &)*arg2);
\r
6655 *(BRepAlgoAPI_Section **)&jresult = result;
\r
6660 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgoAPI_1Section(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6661 BRepAlgoAPI_Section *arg1 = (BRepAlgoAPI_Section *) 0 ;
\r
6665 arg1 = *(BRepAlgoAPI_Section **)&jarg1;
\r
6670 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Poly_1Triangulation(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jboolean jarg3) {
\r
6671 jlong jresult = 0 ;
\r
6672 Standard_Integer arg1 ;
\r
6673 Standard_Integer arg2 ;
\r
6674 Standard_Boolean arg3 ;
\r
6675 Poly_Triangulation *result = 0 ;
\r
6679 arg1 = (Standard_Integer)jarg1;
\r
6680 arg2 = (Standard_Integer)jarg2;
\r
6684 result = (Poly_Triangulation *)new Poly_Triangulation(arg1,arg2,arg3);
\r
6685 *(Poly_Triangulation **)&jresult = result;
\r
6690 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1deflection_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6691 jdouble jresult = 0 ;
\r
6692 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6693 Standard_Real result;
\r
6698 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6699 result = (Standard_Real)((Poly_Triangulation const *)arg1)->Deflection();
\r
6700 jresult = (jdouble)result;
\r
6705 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1deflection_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
6706 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6707 Standard_Real arg2 ;
\r
6712 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6713 arg2 = (Standard_Real)jarg2;
\r
6714 (arg1)->Deflection(arg2);
\r
6718 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1removeUVNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6719 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6724 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6725 (arg1)->RemoveUVNodes();
\r
6729 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1nbNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6730 jint jresult = 0 ;
\r
6731 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6732 Standard_Integer result;
\r
6737 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6738 result = (Standard_Integer)((Poly_Triangulation const *)arg1)->NbNodes();
\r
6739 jresult = (jint)result;
\r
6744 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1nbTriangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6745 jint jresult = 0 ;
\r
6746 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6747 Standard_Integer result;
\r
6752 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6753 result = (Standard_Integer)((Poly_Triangulation const *)arg1)->NbTriangles();
\r
6754 jresult = (jint)result;
\r
6759 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1hasUVNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6760 jboolean jresult = 0 ;
\r
6761 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6762 Standard_Boolean result;
\r
6767 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6768 result = ((Poly_Triangulation const *)arg1)->HasUVNodes();
\r
6769 jresult = (jboolean)result;
\r
6774 SWIGEXPORT jintArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1triangles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6775 jintArray jresult = 0 ;
\r
6776 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6777 Poly_Array1OfTriangle *result = 0 ;
\r
6782 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6783 result = (Poly_Array1OfTriangle *) &((Poly_Triangulation const *)arg1)->Triangles();
\r
6786 const Poly_Array1OfTriangle &Triangles = *result;
\r
6787 s=Triangles.Length()*3;
\r
6788 jint * iarray=new jint[s];
\r
6789 Standard_Integer n1,n2,n3;
\r
6791 for(j=0,i=Triangles.Lower();i<=Triangles.Upper();j+=3,i++)
\r
6793 Triangles(i).Get(n1,n2,n3);
\r
6799 jintArray array=jenv->NewIntArray(s);
\r
6800 jenv->SetIntArrayRegion(array, 0, s, iarray);
\r
6808 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1nodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6809 jdoubleArray jresult = 0 ;
\r
6810 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6811 TColgp_Array1OfPnt *result = 0 ;
\r
6816 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6817 result = (TColgp_Array1OfPnt *) &((Poly_Triangulation const *)arg1)->Nodes();
\r
6819 const TColgp_Array1OfPnt &Nodes = *result;
\r
6821 s=Nodes.Length()*3;
\r
6822 jdouble * ns=(jdouble *)malloc(sizeof(jdouble)*s);
\r
6823 for(j=0,i=Nodes.Lower();i<=Nodes.Upper();j+=3,i++)
\r
6825 ns[j]=Nodes(i).X();
\r
6826 ns[j+1]=Nodes(i).Y();
\r
6827 ns[j+2]=Nodes(i).Z();
\r
6829 jdoubleArray jarray=jenv->NewDoubleArray(s);
\r
6830 jenv->SetDoubleArrayRegion(jarray, 0, s, ns);
\r
6838 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Poly_1Triangulation_1uvNodes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6839 jdoubleArray jresult = 0 ;
\r
6840 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6841 TColgp_Array1OfPnt2d *result = 0 ;
\r
6846 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6847 result = (TColgp_Array1OfPnt2d *) &((Poly_Triangulation const *)arg1)->UVNodes();
\r
6849 const TColgp_Array1OfPnt2d &Nodes2d = *result;
\r
6851 s=Nodes2d.Length()*2;
\r
6852 jdouble * ns=(jdouble *)malloc(sizeof(jdouble)*s);
\r
6853 for(j=0,i=Nodes2d.Lower();i<=Nodes2d.Upper();j+=2,i++)
\r
6855 ns[j]=Nodes2d(i).X();
\r
6856 ns[j+1]=Nodes2d(i).Y();
\r
6858 jdoubleArray jarray=jenv->NewDoubleArray(s);
\r
6859 jenv->SetDoubleArrayRegion(jarray, 0, s, ns);
\r
6867 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Poly_1Triangulation(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6868 Poly_Triangulation *arg1 = (Poly_Triangulation *) 0 ;
\r
6872 arg1 = *(Poly_Triangulation **)&jarg1;
\r
6877 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1Geometry(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6878 Handle_Geom_Geometry *arg1 = (Handle_Geom_Geometry *) 0 ;
\r
6882 arg1 = *(Handle_Geom_Geometry **)&jarg1;
\r
6887 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1firstParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6888 jdouble jresult = 0 ;
\r
6889 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6890 Standard_Real result;
\r
6895 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6896 result = (Standard_Real)Handle_Geom_Curve_firstParameter(arg1);
\r
6897 jresult = (jdouble)result;
\r
6902 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1lastParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6903 jdouble jresult = 0 ;
\r
6904 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6905 Standard_Real result;
\r
6910 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6911 result = (Standard_Real)Handle_Geom_Curve_lastParameter(arg1);
\r
6912 jresult = (jdouble)result;
\r
6917 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1isClosed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6918 jboolean jresult = 0 ;
\r
6919 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6920 Standard_Boolean result;
\r
6925 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6926 result = Handle_Geom_Curve_isClosed(arg1);
\r
6927 jresult = (jboolean)result;
\r
6932 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1isPeriodic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6933 jboolean jresult = 0 ;
\r
6934 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6935 Standard_Boolean result;
\r
6940 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6941 result = Handle_Geom_Curve_isPeriodic(arg1);
\r
6942 jresult = (jboolean)result;
\r
6947 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1period(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
6948 jdouble jresult = 0 ;
\r
6949 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6950 Standard_Real result;
\r
6955 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6956 result = (Standard_Real)Handle_Geom_Curve_period(arg1);
\r
6957 jresult = (jdouble)result;
\r
6962 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
6963 Handle_Geom_Curve *arg1 = (Handle_Geom_Curve *) 0 ;
\r
6967 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
6972 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
6973 jdoubleArray jresult = 0 ;
\r
6974 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
6975 Standard_Real arg2 ;
\r
6976 Standard_Real arg3 ;
\r
6982 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
6983 arg2 = (Standard_Real)jarg2;
\r
6984 arg3 = (Standard_Real)jarg3;
\r
6985 result = Handle_Geom_Surface_value((Handle_Geom_Surface const *)arg1,arg2,arg3);
\r
6987 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
6993 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1bounds_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
6994 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7001 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7002 if (jarg2 && jenv->GetArrayLength(jarg2) != 4) {
\r
7003 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
7006 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
7007 Handle_Geom_Surface_bounds__SWIG_0((Handle_Geom_Surface const *)arg1,arg2);
\r
7008 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
7013 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1bounds_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3, jdoubleArray jarg4, jdoubleArray jarg5) {
\r
7014 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7015 Standard_Real *arg2 = 0 ;
\r
7016 Standard_Real *arg3 = 0 ;
\r
7017 Standard_Real *arg4 = 0 ;
\r
7018 Standard_Real *arg5 = 0 ;
\r
7027 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7028 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
7029 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
7030 if (!SWIG_JavaArrayInDouble(jenv, &jarr4, &arg4, jarg4)) return ;
\r
7031 if (!SWIG_JavaArrayInDouble(jenv, &jarr5, &arg5, jarg5)) return ;
\r
7032 Handle_Geom_Surface_bounds__SWIG_1((Handle_Geom_Surface const *)arg1,*arg2,*arg3,*arg4,*arg5);
\r
7033 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
7034 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
7035 SWIG_JavaArrayArgoutDouble(jenv, jarr4, arg4, jarg4);
\r
7036 SWIG_JavaArrayArgoutDouble(jenv, jarr5, arg5, jarg5);
\r
7044 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1isUClosed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7045 jboolean jresult = 0 ;
\r
7046 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7047 Standard_Boolean result;
\r
7052 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7053 result = Handle_Geom_Surface_isUClosed((Handle_Geom_Surface const *)arg1);
\r
7054 jresult = (jboolean)result;
\r
7059 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1isVClosed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7060 jboolean jresult = 0 ;
\r
7061 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7062 Standard_Boolean result;
\r
7067 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7068 result = Handle_Geom_Surface_isVClosed((Handle_Geom_Surface const *)arg1);
\r
7069 jresult = (jboolean)result;
\r
7074 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1uIso(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
7075 jlong jresult = 0 ;
\r
7076 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7077 Standard_Real arg2 ;
\r
7078 SwigValueWrapper< Handle_Geom_Curve > result;
\r
7083 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7084 arg2 = (Standard_Real)jarg2;
\r
7085 result = Handle_Geom_Surface_uIso((Handle_Geom_Surface const *)arg1,arg2);
\r
7086 *(Handle_Geom_Curve **)&jresult = new Handle_Geom_Curve((const Handle_Geom_Curve &)result);
\r
7091 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1vIso(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
7092 jlong jresult = 0 ;
\r
7093 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7094 Standard_Real arg2 ;
\r
7095 SwigValueWrapper< Handle_Geom_Curve > result;
\r
7100 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7101 arg2 = (Standard_Real)jarg2;
\r
7102 result = Handle_Geom_Surface_vIso((Handle_Geom_Surface const *)arg1,arg2);
\r
7103 *(Handle_Geom_Curve **)&jresult = new Handle_Geom_Curve((const Handle_Geom_Curve &)result);
\r
7108 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1Surface(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7109 Handle_Geom_Surface *arg1 = (Handle_Geom_Surface *) 0 ;
\r
7113 arg1 = *(Handle_Geom_Surface **)&jarg1;
\r
7118 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom2d_1Geometry(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7119 Handle_Geom2d_Geometry *arg1 = (Handle_Geom2d_Geometry *) 0 ;
\r
7123 arg1 = *(Handle_Geom2d_Geometry **)&jarg1;
\r
7128 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom2d_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7129 Handle_Geom2d_Curve *arg1 = (Handle_Geom2d_Curve *) 0 ;
\r
7133 arg1 = *(Handle_Geom2d_Curve **)&jarg1;
\r
7138 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1BoundedCurve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7139 Handle_Geom_BoundedCurve *arg1 = (Handle_Geom_BoundedCurve *) 0 ;
\r
7143 arg1 = *(Handle_Geom_BoundedCurve **)&jarg1;
\r
7148 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom_1BSplineCurve_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jdoubleArray jarg3, jlong jarg4, jint jarg5, jboolean jarg6, jboolean jarg7) {
\r
7149 jlong jresult = 0 ;
\r
7150 TColgp_Array1OfPnt *arg1 = 0 ;
\r
7151 TColStd_Array1OfReal *arg2 = 0 ;
\r
7152 TColStd_Array1OfReal *arg3 = 0 ;
\r
7153 TColStd_Array1OfInteger *arg4 = 0 ;
\r
7154 Standard_Integer arg5 ;
\r
7155 Standard_Boolean arg6 ;
\r
7156 Standard_Boolean arg7 ;
\r
7157 Handle_Geom_BSplineCurve *result = 0 ;
\r
7165 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7168 jsize sz = jenv->GetArrayLength(jarg1);
\r
7169 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
7173 //sinn? - modulo test 3
\r
7174 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
7177 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
7178 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
7179 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
7187 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7190 jsize sz = jenv->GetArrayLength(jarg2);
\r
7191 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
7193 arg2 = new TColStd_Array1OfReal(1,sz);
\r
7194 for (i=1,j=0; i<=sz; i++,j++) {
\r
7195 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
7203 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7206 jsize sz = jenv->GetArrayLength(jarg3);
\r
7207 jdouble* jarr = jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7209 arg3 = new TColStd_Array1OfReal(1,sz);
\r
7210 for (i=1,j=0; i<=sz; i++,j++) {
\r
7211 arg3->SetValue(i,Standard_Real(jarr[j]));
\r
7215 arg4 = *(TColStd_Array1OfInteger **)&jarg4;
\r
7217 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TColStd_Array1OfInteger const & reference is null");
\r
7220 arg5 = (Standard_Integer)jarg5;
\r
7227 result = (Handle_Geom_BSplineCurve *)new_Handle_Geom_BSplineCurve__SWIG_0((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,(TColStd_Array1OfReal const &)*arg3,(TColStd_Array1OfInteger const &)*arg4,arg5,arg6,arg7);
\r
7228 *(Handle_Geom_BSplineCurve **)&jresult = result;
\r
7242 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom_1BSplineCurve_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jdoubleArray jarg3, jlong jarg4, jint jarg5, jboolean jarg6) {
\r
7243 jlong jresult = 0 ;
\r
7244 TColgp_Array1OfPnt *arg1 = 0 ;
\r
7245 TColStd_Array1OfReal *arg2 = 0 ;
\r
7246 TColStd_Array1OfReal *arg3 = 0 ;
\r
7247 TColStd_Array1OfInteger *arg4 = 0 ;
\r
7248 Standard_Integer arg5 ;
\r
7249 Standard_Boolean arg6 ;
\r
7250 Handle_Geom_BSplineCurve *result = 0 ;
\r
7258 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7261 jsize sz = jenv->GetArrayLength(jarg1);
\r
7262 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
7266 //sinn? - modulo test 3
\r
7267 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
7270 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
7271 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
7272 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
7280 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7283 jsize sz = jenv->GetArrayLength(jarg2);
\r
7284 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
7286 arg2 = new TColStd_Array1OfReal(1,sz);
\r
7287 for (i=1,j=0; i<=sz; i++,j++) {
\r
7288 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
7296 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7299 jsize sz = jenv->GetArrayLength(jarg3);
\r
7300 jdouble* jarr = jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7302 arg3 = new TColStd_Array1OfReal(1,sz);
\r
7303 for (i=1,j=0; i<=sz; i++,j++) {
\r
7304 arg3->SetValue(i,Standard_Real(jarr[j]));
\r
7308 arg4 = *(TColStd_Array1OfInteger **)&jarg4;
\r
7310 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TColStd_Array1OfInteger const & reference is null");
\r
7313 arg5 = (Standard_Integer)jarg5;
\r
7317 result = (Handle_Geom_BSplineCurve *)new_Handle_Geom_BSplineCurve__SWIG_0((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,(TColStd_Array1OfReal const &)*arg3,(TColStd_Array1OfInteger const &)*arg4,arg5,arg6);
\r
7318 *(Handle_Geom_BSplineCurve **)&jresult = result;
\r
7332 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom_1BSplineCurve_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jdoubleArray jarg3, jlong jarg4, jint jarg5) {
\r
7333 jlong jresult = 0 ;
\r
7334 TColgp_Array1OfPnt *arg1 = 0 ;
\r
7335 TColStd_Array1OfReal *arg2 = 0 ;
\r
7336 TColStd_Array1OfReal *arg3 = 0 ;
\r
7337 TColStd_Array1OfInteger *arg4 = 0 ;
\r
7338 Standard_Integer arg5 ;
\r
7339 Handle_Geom_BSplineCurve *result = 0 ;
\r
7347 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7350 jsize sz = jenv->GetArrayLength(jarg1);
\r
7351 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
7355 //sinn? - modulo test 3
\r
7356 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
7359 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
7360 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
7361 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
7369 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7372 jsize sz = jenv->GetArrayLength(jarg2);
\r
7373 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
7375 arg2 = new TColStd_Array1OfReal(1,sz);
\r
7376 for (i=1,j=0; i<=sz; i++,j++) {
\r
7377 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
7385 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
7388 jsize sz = jenv->GetArrayLength(jarg3);
\r
7389 jdouble* jarr = jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7391 arg3 = new TColStd_Array1OfReal(1,sz);
\r
7392 for (i=1,j=0; i<=sz; i++,j++) {
\r
7393 arg3->SetValue(i,Standard_Real(jarr[j]));
\r
7397 arg4 = *(TColStd_Array1OfInteger **)&jarg4;
\r
7399 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TColStd_Array1OfInteger const & reference is null");
\r
7402 arg5 = (Standard_Integer)jarg5;
\r
7403 result = (Handle_Geom_BSplineCurve *)new_Handle_Geom_BSplineCurve__SWIG_0((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,(TColStd_Array1OfReal const &)*arg3,(TColStd_Array1OfInteger const &)*arg4,arg5);
\r
7404 *(Handle_Geom_BSplineCurve **)&jresult = result;
\r
7418 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setKnot_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdouble jarg3) {
\r
7419 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7420 Standard_Integer arg2 ;
\r
7421 Standard_Real arg3 ;
\r
7426 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7427 arg2 = (Standard_Integer)jarg2;
\r
7428 arg3 = (Standard_Real)jarg3;
\r
7429 Handle_Geom_BSplineCurve_setKnot__SWIG_0(arg1,arg2,arg3);
\r
7433 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setKnot_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdouble jarg3, jint jarg4) {
\r
7434 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7435 Standard_Integer arg2 ;
\r
7436 Standard_Real arg3 ;
\r
7437 Standard_Integer arg4 ;
\r
7442 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7443 arg2 = (Standard_Integer)jarg2;
\r
7444 arg3 = (Standard_Real)jarg3;
\r
7445 arg4 = (Standard_Integer)jarg4;
\r
7446 Handle_Geom_BSplineCurve_setKnot__SWIG_1(arg1,arg2,arg3,arg4);
\r
7450 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setPeriodic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7451 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7456 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7457 Handle_Geom_BSplineCurve_setPeriodic(arg1);
\r
7461 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setNotPeriodic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7462 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7467 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7468 Handle_Geom_BSplineCurve_setNotPeriodic(arg1);
\r
7472 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setOrigin_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
7473 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7474 Standard_Integer arg2 ;
\r
7479 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7480 arg2 = (Standard_Integer)jarg2;
\r
7481 Handle_Geom_BSplineCurve_setOrigin__SWIG_0(arg1,arg2);
\r
7485 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setOrigin_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
7486 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7487 Standard_Real arg2 ;
\r
7488 Standard_Real arg3 ;
\r
7493 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7494 arg2 = (Standard_Real)jarg2;
\r
7495 arg3 = (Standard_Real)jarg3;
\r
7496 Handle_Geom_BSplineCurve_setOrigin__SWIG_1(arg1,arg2,arg3);
\r
7500 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setPole_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdoubleArray jarg3) {
\r
7501 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7502 Standard_Integer arg2 ;
\r
7503 gp_Pnt *arg3 = 0 ;
\r
7508 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7509 arg2 = (Standard_Integer)jarg2;
\r
7511 if(jenv->GetArrayLength(jarg3)!=3)
\r
7512 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
7513 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7514 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
7516 Handle_Geom_BSplineCurve_setPole__SWIG_0(arg1,arg2,(gp_Pnt const &)*arg3);
\r
7523 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1setPole_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdoubleArray jarg3, jdouble jarg4) {
\r
7524 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7525 Standard_Integer arg2 ;
\r
7526 gp_Pnt *arg3 = 0 ;
\r
7527 Standard_Real arg4 ;
\r
7532 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7533 arg2 = (Standard_Integer)jarg2;
\r
7535 if(jenv->GetArrayLength(jarg3)!=3)
\r
7536 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
7537 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7538 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
7540 arg4 = (Standard_Real)jarg4;
\r
7541 Handle_Geom_BSplineCurve_setPole__SWIG_1(arg1,arg2,(gp_Pnt const &)*arg3,arg4);
\r
7548 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1movePoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdoubleArray jarg3, jint jarg4, jint jarg5, jlong jarg6, jlong jarg7) {
\r
7549 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7550 Standard_Real arg2 ;
\r
7551 gp_Pnt *arg3 = 0 ;
\r
7552 Standard_Integer arg4 ;
\r
7553 Standard_Integer arg5 ;
\r
7554 Standard_Integer *arg6 = 0 ;
\r
7555 Standard_Integer *arg7 = 0 ;
\r
7560 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7561 arg2 = (Standard_Real)jarg2;
\r
7563 if(jenv->GetArrayLength(jarg3)!=3)
\r
7564 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
7565 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7566 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
7568 arg4 = (Standard_Integer)jarg4;
\r
7569 arg5 = (Standard_Integer)jarg5;
\r
7570 arg6 = *(Standard_Integer **)&jarg6;
\r
7572 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Standard_Integer & reference is null");
\r
7575 arg7 = *(Standard_Integer **)&jarg7;
\r
7577 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Standard_Integer & reference is null");
\r
7580 Handle_Geom_BSplineCurve_movePoint(arg1,arg2,(gp_Pnt const &)*arg3,arg4,arg5,*arg6,*arg7);
\r
7587 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1movePointAndTangent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdoubleArray jarg3, jdoubleArray jarg4, jdouble jarg5, jint jarg6, jint jarg7) {
\r
7588 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7589 Standard_Real arg2 ;
\r
7590 gp_Pnt *arg3 = 0 ;
\r
7591 gp_Vec *arg4 = 0 ;
\r
7592 Standard_Real arg5 ;
\r
7593 Standard_Integer arg6 ;
\r
7594 Standard_Integer arg7 ;
\r
7599 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7600 arg2 = (Standard_Real)jarg2;
\r
7602 if(jenv->GetArrayLength(jarg3)!=3)
\r
7603 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
7604 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
7605 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
7608 if(jenv->GetArrayLength(jarg4)!=3)
\r
7609 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
7610 jdouble * naxe=jenv->GetDoubleArrayElements(jarg4, NULL);
\r
7611 arg4=new gp_Vec(naxe[0],naxe[1],naxe[2]);
\r
7613 arg5 = (Standard_Real)jarg5;
\r
7614 arg6 = (Standard_Integer)jarg6;
\r
7615 arg7 = (Standard_Integer)jarg7;
\r
7616 Handle_Geom_BSplineCurve_movePointAndTangent(arg1,arg2,(gp_Pnt const &)*arg3,(gp_Vec const &)*arg4,arg5,arg6,arg7);
\r
7626 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1isClosed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7627 jboolean jresult = 0 ;
\r
7628 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7629 Standard_Boolean result;
\r
7634 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7635 result = Handle_Geom_BSplineCurve_isClosed((Handle_Geom_BSplineCurve const *)arg1);
\r
7636 jresult = (jboolean)result;
\r
7641 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1isPeriodic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7642 jboolean jresult = 0 ;
\r
7643 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7644 Standard_Boolean result;
\r
7649 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7650 result = Handle_Geom_BSplineCurve_isPeriodic((Handle_Geom_BSplineCurve const *)arg1);
\r
7651 jresult = (jboolean)result;
\r
7656 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1isRational(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7657 jboolean jresult = 0 ;
\r
7658 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7659 Standard_Boolean result;
\r
7664 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7665 result = Handle_Geom_BSplineCurve_isRational((Handle_Geom_BSplineCurve const *)arg1);
\r
7666 jresult = (jboolean)result;
\r
7671 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1continuity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7672 jint jresult = 0 ;
\r
7673 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7674 GeomAbs_Shape result;
\r
7679 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7680 result = (GeomAbs_Shape)Handle_Geom_BSplineCurve_continuity((Handle_Geom_BSplineCurve const *)arg1);
\r
7681 jresult = (jint)result;
\r
7686 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1Degree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7687 jint jresult = 0 ;
\r
7688 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7689 Standard_Integer result;
\r
7694 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7695 result = (Standard_Integer)Handle_Geom_BSplineCurve_Degree((Handle_Geom_BSplineCurve const *)arg1);
\r
7696 jresult = (jint)result;
\r
7701 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1localValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jint jarg3, jint jarg4) {
\r
7702 jdoubleArray jresult = 0 ;
\r
7703 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7704 Standard_Real arg2 ;
\r
7705 Standard_Integer arg3 ;
\r
7706 Standard_Integer arg4 ;
\r
7712 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7713 arg2 = (Standard_Real)jarg2;
\r
7714 arg3 = (Standard_Integer)jarg3;
\r
7715 arg4 = (Standard_Integer)jarg4;
\r
7716 result = Handle_Geom_BSplineCurve_localValue((Handle_Geom_BSplineCurve const *)arg1,arg2,arg3,arg4);
\r
7718 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
7724 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1endPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7725 jdoubleArray jresult = 0 ;
\r
7726 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7732 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7733 result = Handle_Geom_BSplineCurve_endPoint((Handle_Geom_BSplineCurve const *)arg1);
\r
7735 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
7741 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1startPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7742 jdoubleArray jresult = 0 ;
\r
7743 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7749 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7750 result = Handle_Geom_BSplineCurve_startPoint((Handle_Geom_BSplineCurve const *)arg1);
\r
7752 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
7758 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1nbKnots(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7759 jint jresult = 0 ;
\r
7760 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7761 Standard_Integer result;
\r
7766 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7767 result = (Standard_Integer)Handle_Geom_BSplineCurve_nbKnots((Handle_Geom_BSplineCurve const *)arg1);
\r
7768 jresult = (jint)result;
\r
7773 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1nbPoles(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7774 jint jresult = 0 ;
\r
7775 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7776 Standard_Integer result;
\r
7781 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7782 result = (Standard_Integer)Handle_Geom_BSplineCurve_nbPoles((Handle_Geom_BSplineCurve const *)arg1);
\r
7783 jresult = (jint)result;
\r
7788 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1pole(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
7789 jdoubleArray jresult = 0 ;
\r
7790 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7791 Standard_Integer arg2 ;
\r
7797 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7798 arg2 = (Standard_Integer)jarg2;
\r
7799 result = Handle_Geom_BSplineCurve_pole((Handle_Geom_BSplineCurve const *)arg1,arg2);
\r
7801 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
7807 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1weight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
7808 jdouble jresult = 0 ;
\r
7809 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7810 Standard_Integer arg2 ;
\r
7811 Standard_Real result;
\r
7816 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7817 arg2 = (Standard_Integer)jarg2;
\r
7818 result = (Standard_Real)Handle_Geom_BSplineCurve_weight((Handle_Geom_BSplineCurve const *)arg1,arg2);
\r
7819 jresult = (jdouble)result;
\r
7824 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1BSplineCurve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7825 Handle_Geom_BSplineCurve *arg1 = (Handle_Geom_BSplineCurve *) 0 ;
\r
7829 arg1 = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
7834 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom_1TrimmedCurve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7835 Handle_Geom_TrimmedCurve *arg1 = (Handle_Geom_TrimmedCurve *) 0 ;
\r
7839 arg1 = *(Handle_Geom_TrimmedCurve **)&jarg1;
\r
7844 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepLib_1encodeRegularity_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
7845 TopoDS_Shape *arg1 = 0 ;
\r
7846 Standard_Real arg2 ;
\r
7851 arg1 = *(TopoDS_Shape **)&jarg1;
\r
7853 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
7856 arg2 = (Standard_Real)jarg2;
\r
7857 BRepLib::EncodeRegularity((TopoDS_Shape const &)*arg1,arg2);
\r
7861 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepLib_1encodeRegularity_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7862 TopoDS_Shape *arg1 = 0 ;
\r
7867 arg1 = *(TopoDS_Shape **)&jarg1;
\r
7869 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
7872 BRepLib::EncodeRegularity((TopoDS_Shape const &)*arg1);
\r
7876 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepLib(JNIEnv *jenv, jclass jcls) {
\r
7877 jlong jresult = 0 ;
\r
7878 BRepLib *result = 0 ;
\r
7882 result = (BRepLib *)new BRepLib();
\r
7883 *(BRepLib **)&jresult = result;
\r
7888 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepLib(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7889 BRepLib *arg1 = (BRepLib *) 0 ;
\r
7893 arg1 = *(BRepLib **)&jarg1;
\r
7898 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepFilletAPI_1LocalOperation(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7899 BRepFilletAPI_LocalOperation *arg1 = (BRepFilletAPI_LocalOperation *) 0 ;
\r
7903 arg1 = *(BRepFilletAPI_LocalOperation **)&jarg1;
\r
7908 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepFilletAPI_1MakeFillet_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
7909 jlong jresult = 0 ;
\r
7910 TopoDS_Shape *arg1 = 0 ;
\r
7911 ChFi3d_FilletShape arg2 ;
\r
7912 BRepFilletAPI_MakeFillet *result = 0 ;
\r
7917 arg1 = *(TopoDS_Shape **)&jarg1;
\r
7919 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
7922 arg2 = (ChFi3d_FilletShape)jarg2;
\r
7923 result = (BRepFilletAPI_MakeFillet *)new BRepFilletAPI_MakeFillet((TopoDS_Shape const &)*arg1,arg2);
\r
7924 *(BRepFilletAPI_MakeFillet **)&jresult = result;
\r
7929 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepFilletAPI_1MakeFillet_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7930 jlong jresult = 0 ;
\r
7931 TopoDS_Shape *arg1 = 0 ;
\r
7932 BRepFilletAPI_MakeFillet *result = 0 ;
\r
7937 arg1 = *(TopoDS_Shape **)&jarg1;
\r
7939 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
7942 result = (BRepFilletAPI_MakeFillet *)new BRepFilletAPI_MakeFillet((TopoDS_Shape const &)*arg1);
\r
7943 *(BRepFilletAPI_MakeFillet **)&jresult = result;
\r
7948 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepFilletAPI_1MakeFillet_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jlong jarg3, jobject jarg3_) {
\r
7949 BRepFilletAPI_MakeFillet *arg1 = (BRepFilletAPI_MakeFillet *) 0 ;
\r
7950 Standard_Real arg2 ;
\r
7951 TopoDS_Edge *arg3 = 0 ;
\r
7957 arg1 = *(BRepFilletAPI_MakeFillet **)&jarg1;
\r
7958 arg2 = (Standard_Real)jarg2;
\r
7959 arg3 = *(TopoDS_Edge **)&jarg3;
\r
7961 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
7964 (arg1)->Add(arg2,(TopoDS_Edge const &)*arg3);
\r
7968 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepFilletAPI_1MakeFillet(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
7969 BRepFilletAPI_MakeFillet *arg1 = (BRepFilletAPI_MakeFillet *) 0 ;
\r
7973 arg1 = *(BRepFilletAPI_MakeFillet **)&jarg1;
\r
7978 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepFilletAPI_1MakeChamfer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
7979 jlong jresult = 0 ;
\r
7980 TopoDS_Shape *arg1 = 0 ;
\r
7981 BRepFilletAPI_MakeChamfer *result = 0 ;
\r
7986 arg1 = *(TopoDS_Shape **)&jarg1;
\r
7988 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
7991 result = (BRepFilletAPI_MakeChamfer *)new BRepFilletAPI_MakeChamfer((TopoDS_Shape const &)*arg1);
\r
7992 *(BRepFilletAPI_MakeChamfer **)&jresult = result;
\r
7997 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepFilletAPI_1MakeChamfer_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
\r
7998 BRepFilletAPI_MakeChamfer *arg1 = (BRepFilletAPI_MakeChamfer *) 0 ;
\r
7999 Standard_Real arg2 ;
\r
8000 TopoDS_Edge *arg3 = 0 ;
\r
8001 TopoDS_Face *arg4 = 0 ;
\r
8008 arg1 = *(BRepFilletAPI_MakeChamfer **)&jarg1;
\r
8009 arg2 = (Standard_Real)jarg2;
\r
8010 arg3 = *(TopoDS_Edge **)&jarg3;
\r
8012 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
8015 arg4 = *(TopoDS_Face **)&jarg4;
\r
8017 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Face const & reference is null");
\r
8020 (arg1)->Add(arg2,(TopoDS_Edge const &)*arg3,(TopoDS_Face const &)*arg4);
\r
8024 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepFilletAPI_1MakeChamfer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8025 BRepFilletAPI_MakeChamfer *arg1 = (BRepFilletAPI_MakeChamfer *) 0 ;
\r
8029 arg1 = *(BRepFilletAPI_MakeChamfer **)&jarg1;
\r
8034 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepCheck_1Analyzer_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
8035 jlong jresult = 0 ;
\r
8036 TopoDS_Shape *arg1 = 0 ;
\r
8037 Standard_Boolean arg2 ;
\r
8038 BRepCheck_Analyzer *result = 0 ;
\r
8043 arg1 = *(TopoDS_Shape **)&jarg1;
\r
8045 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8051 result = (BRepCheck_Analyzer *)new BRepCheck_Analyzer((TopoDS_Shape const &)*arg1,arg2);
\r
8052 *(BRepCheck_Analyzer **)&jresult = result;
\r
8057 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepCheck_1Analyzer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8058 jlong jresult = 0 ;
\r
8059 TopoDS_Shape *arg1 = 0 ;
\r
8060 BRepCheck_Analyzer *result = 0 ;
\r
8065 arg1 = *(TopoDS_Shape **)&jarg1;
\r
8067 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8070 result = (BRepCheck_Analyzer *)new BRepCheck_Analyzer((TopoDS_Shape const &)*arg1);
\r
8071 *(BRepCheck_Analyzer **)&jresult = result;
\r
8076 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepCheck_1Analyzer_1init_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
8077 BRepCheck_Analyzer *arg1 = (BRepCheck_Analyzer *) 0 ;
\r
8078 TopoDS_Shape *arg2 = 0 ;
\r
8079 Standard_Boolean arg3 ;
\r
8085 arg1 = *(BRepCheck_Analyzer **)&jarg1;
\r
8086 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8088 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8094 (arg1)->Init((TopoDS_Shape const &)*arg2,arg3);
\r
8098 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepCheck_1Analyzer_1init_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8099 BRepCheck_Analyzer *arg1 = (BRepCheck_Analyzer *) 0 ;
\r
8100 TopoDS_Shape *arg2 = 0 ;
\r
8106 arg1 = *(BRepCheck_Analyzer **)&jarg1;
\r
8107 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8109 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8112 (arg1)->Init((TopoDS_Shape const &)*arg2);
\r
8116 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepCheck_1Analyzer_1isValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8117 jboolean jresult = 0 ;
\r
8118 BRepCheck_Analyzer *arg1 = (BRepCheck_Analyzer *) 0 ;
\r
8119 Standard_Boolean result;
\r
8124 arg1 = *(BRepCheck_Analyzer **)&jarg1;
\r
8125 result = ((BRepCheck_Analyzer const *)arg1)->IsValid();
\r
8126 jresult = (jboolean)result;
\r
8131 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepCheck_1Analyzer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8132 BRepCheck_Analyzer *arg1 = (BRepCheck_Analyzer *) 0 ;
\r
8136 arg1 = *(BRepCheck_Analyzer **)&jarg1;
\r
8141 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeBuild_1ReShape(JNIEnv *jenv, jclass jcls) {
\r
8142 jlong jresult = 0 ;
\r
8143 ShapeBuild_ReShape *result = 0 ;
\r
8147 result = (ShapeBuild_ReShape *)new ShapeBuild_ReShape();
\r
8148 *(ShapeBuild_ReShape **)&jresult = result;
\r
8153 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeBuild_1ReShape_1replace_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
\r
8154 ShapeBuild_ReShape *arg1 = (ShapeBuild_ReShape *) 0 ;
\r
8155 TopoDS_Shape *arg2 = 0 ;
\r
8156 TopoDS_Shape *arg3 = 0 ;
\r
8157 Standard_Boolean arg4 ;
\r
8164 arg1 = *(ShapeBuild_ReShape **)&jarg1;
\r
8165 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8167 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8170 arg3 = *(TopoDS_Shape **)&jarg3;
\r
8172 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8178 (arg1)->Replace((TopoDS_Shape const &)*arg2,(TopoDS_Shape const &)*arg3,arg4);
\r
8182 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeBuild_1ReShape_1replace_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
8183 ShapeBuild_ReShape *arg1 = (ShapeBuild_ReShape *) 0 ;
\r
8184 TopoDS_Shape *arg2 = 0 ;
\r
8185 TopoDS_Shape *arg3 = 0 ;
\r
8192 arg1 = *(ShapeBuild_ReShape **)&jarg1;
\r
8193 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8195 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8198 arg3 = *(TopoDS_Shape **)&jarg3;
\r
8200 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8203 (arg1)->Replace((TopoDS_Shape const &)*arg2,(TopoDS_Shape const &)*arg3);
\r
8207 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeBuild_1ReShape_1apply_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
\r
8208 jlong jresult = 0 ;
\r
8209 ShapeBuild_ReShape *arg1 = (ShapeBuild_ReShape *) 0 ;
\r
8210 TopoDS_Shape *arg2 = 0 ;
\r
8211 TopAbs_ShapeEnum arg3 ;
\r
8212 TopoDS_Shape result;
\r
8218 arg1 = *(ShapeBuild_ReShape **)&jarg1;
\r
8219 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8221 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8224 arg3 = (TopAbs_ShapeEnum)jarg3;
\r
8225 result = (arg1)->Apply((TopoDS_Shape const &)*arg2,arg3);
\r
8227 if((&result)->IsNull())
\r
8229 jresult=0L; //NULL
\r
8233 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
8234 tsp->TShape((&result)->TShape());
\r
8235 tsp->Location((&result)->Location());
\r
8236 tsp->Orientation((&result)->Orientation());
\r
8237 jresult=(jlong)tsp;
\r
8244 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeBuild_1ReShape_1apply_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8245 jlong jresult = 0 ;
\r
8246 ShapeBuild_ReShape *arg1 = (ShapeBuild_ReShape *) 0 ;
\r
8247 TopoDS_Shape *arg2 = 0 ;
\r
8248 TopoDS_Shape result;
\r
8254 arg1 = *(ShapeBuild_ReShape **)&jarg1;
\r
8255 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8257 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8260 result = (arg1)->Apply((TopoDS_Shape const &)*arg2);
\r
8262 if((&result)->IsNull())
\r
8264 jresult=0L; //NULL
\r
8268 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
8269 tsp->TShape((&result)->TShape());
\r
8270 tsp->Location((&result)->Location());
\r
8271 tsp->Orientation((&result)->Orientation());
\r
8272 jresult=(jlong)tsp;
\r
8279 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeBuild_1ReShape(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8280 ShapeBuild_ReShape *arg1 = (ShapeBuild_ReShape *) 0 ;
\r
8284 arg1 = *(ShapeBuild_ReShape **)&jarg1;
\r
8289 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1readFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
\r
8290 jint jresult = 0 ;
\r
8291 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8292 Standard_CString arg2 ;
\r
8293 IFSelect_ReturnStatus result;
\r
8298 arg1 = *(XSControl_Reader **)&jarg1;
\r
8300 arg2 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg2, 0));
\r
8302 result = (IFSelect_ReturnStatus)(arg1)->ReadFile(arg2);
\r
8303 jresult = (jint)result;
\r
8308 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1transferRoots(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8309 jint jresult = 0 ;
\r
8310 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8311 Standard_Integer result;
\r
8316 arg1 = *(XSControl_Reader **)&jarg1;
\r
8317 result = (Standard_Integer)(arg1)->TransferRoots();
\r
8318 jresult = (jint)result;
\r
8323 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1clearShapes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8324 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8329 arg1 = *(XSControl_Reader **)&jarg1;
\r
8330 (arg1)->ClearShapes();
\r
8334 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1nbRootsForTransfer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8335 jint jresult = 0 ;
\r
8336 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8337 Standard_Integer result;
\r
8342 arg1 = *(XSControl_Reader **)&jarg1;
\r
8343 result = (Standard_Integer)(arg1)->NbRootsForTransfer();
\r
8344 jresult = (jint)result;
\r
8349 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1oneShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8350 jlong jresult = 0 ;
\r
8351 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8352 TopoDS_Shape result;
\r
8357 arg1 = *(XSControl_Reader **)&jarg1;
\r
8358 result = ((XSControl_Reader const *)arg1)->OneShape();
\r
8360 if((&result)->IsNull())
\r
8362 jresult=0L; //NULL
\r
8366 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
8367 tsp->TShape((&result)->TShape());
\r
8368 tsp->Location((&result)->Location());
\r
8369 tsp->Orientation((&result)->Orientation());
\r
8370 jresult=(jlong)tsp;
\r
8377 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_XSControl_1Reader_1readFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
\r
8378 jint jresult = 0 ;
\r
8379 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8381 IFSelect_ReturnStatus result;
\r
8386 arg1 = *(XSControl_Reader **)&jarg1;
\r
8388 int length = jenv->GetArrayLength(jarg2);
\r
8389 jbyte * name = new jbyte[length+1];
\r
8390 jenv->GetByteArrayRegion(jarg2, 0, length, name);
\r
8391 name[length] = '\0';
\r
8394 result = (IFSelect_ReturnStatus)XSControl_Reader_readFile__SWIG_1(arg1,arg2);
\r
8395 jresult = (jint)result;
\r
8401 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1XSControl_1Reader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8402 XSControl_Reader *arg1 = (XSControl_Reader *) 0 ;
\r
8406 arg1 = *(XSControl_Reader **)&jarg1;
\r
8411 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1STEPControl_1Reader(JNIEnv *jenv, jclass jcls) {
\r
8412 jlong jresult = 0 ;
\r
8413 STEPControl_Reader *result = 0 ;
\r
8417 result = (STEPControl_Reader *)new STEPControl_Reader();
\r
8418 *(STEPControl_Reader **)&jresult = result;
\r
8423 SWIGEXPORT jstring JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_STEPControl_1Reader_1getLabel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8424 jstring jresult = 0 ;
\r
8425 STEPControl_Reader *arg1 = (STEPControl_Reader *) 0 ;
\r
8426 TopoDS_Shape *arg2 = (TopoDS_Shape *) 0 ;
\r
8427 char *result = 0 ;
\r
8433 arg1 = *(STEPControl_Reader **)&jarg1;
\r
8434 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8435 result = (char *)STEPControl_Reader_getLabel(arg1,arg2);
\r
8436 if (result) jresult = jenv->NewStringUTF((const char *)result);
\r
8441 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1STEPControl_1Reader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8442 STEPControl_Reader *arg1 = (STEPControl_Reader *) 0 ;
\r
8446 arg1 = *(STEPControl_Reader **)&jarg1;
\r
8451 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1IGESControl_1Reader(JNIEnv *jenv, jclass jcls) {
\r
8452 jlong jresult = 0 ;
\r
8453 IGESControl_Reader *result = 0 ;
\r
8457 result = (IGESControl_Reader *)new IGESControl_Reader();
\r
8458 *(IGESControl_Reader **)&jresult = result;
\r
8463 SWIGEXPORT jstring JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Reader_1getLabel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8464 jstring jresult = 0 ;
\r
8465 IGESControl_Reader *arg1 = (IGESControl_Reader *) 0 ;
\r
8466 TopoDS_Shape arg2 ;
\r
8467 TopoDS_Shape *argp2 ;
\r
8468 char *result = 0 ;
\r
8474 arg1 = *(IGESControl_Reader **)&jarg1;
\r
8475 argp2 = *(TopoDS_Shape **)&jarg2;
\r
8477 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null TopoDS_Shape");
\r
8481 result = (char *)IGESControl_Reader_getLabel(arg1,arg2);
\r
8482 if (result) jresult = jenv->NewStringUTF((const char *)result);
\r
8487 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Reader_1getShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
\r
8488 jlong jresult = 0 ;
\r
8489 IGESControl_Reader *arg1 = (IGESControl_Reader *) 0 ;
\r
8490 char *arg2 = (char *) 0 ;
\r
8491 TopoDS_Shape result;
\r
8496 arg1 = *(IGESControl_Reader **)&jarg1;
\r
8499 arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
\r
8500 if (!arg2) return 0;
\r
8502 result = IGESControl_Reader_getShape(arg1,arg2);
\r
8504 if((&result)->IsNull())
\r
8506 jresult=0L; //NULL
\r
8510 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
8511 tsp->TShape((&result)->TShape());
\r
8512 tsp->Location((&result)->Location());
\r
8513 tsp->Orientation((&result)->Orientation());
\r
8514 jresult=(jlong)tsp;
\r
8517 if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
\r
8522 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Reader_1dumpLabels(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8523 IGESControl_Reader *arg1 = (IGESControl_Reader *) 0 ;
\r
8528 arg1 = *(IGESControl_Reader **)&jarg1;
\r
8529 IGESControl_Reader_dumpLabels(arg1);
\r
8533 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1IGESControl_1Reader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8534 IGESControl_Reader *arg1 = (IGESControl_Reader *) 0 ;
\r
8538 arg1 = *(IGESControl_Reader **)&jarg1;
\r
8543 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1STEPControl_1Writer(JNIEnv *jenv, jclass jcls) {
\r
8544 jlong jresult = 0 ;
\r
8545 STEPControl_Writer *result = 0 ;
\r
8549 result = (STEPControl_Writer *)new STEPControl_Writer();
\r
8550 *(STEPControl_Writer **)&jresult = result;
\r
8555 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_STEPControl_1Writer_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
\r
8556 jint jresult = 0 ;
\r
8557 STEPControl_Writer *arg1 = (STEPControl_Writer *) 0 ;
\r
8558 Standard_CString arg2 ;
\r
8559 IFSelect_ReturnStatus result;
\r
8564 arg1 = *(STEPControl_Writer **)&jarg1;
\r
8566 arg2 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg2, 0));
\r
8568 result = (IFSelect_ReturnStatus)(arg1)->Write(arg2);
\r
8569 jresult = (jint)result;
\r
8574 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_STEPControl_1Writer_1transfer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
\r
8575 jint jresult = 0 ;
\r
8576 STEPControl_Writer *arg1 = (STEPControl_Writer *) 0 ;
\r
8577 TopoDS_Shape arg2 ;
\r
8578 STEPControl_StepModelType arg3 ;
\r
8579 TopoDS_Shape *argp2 ;
\r
8580 IFSelect_ReturnStatus result;
\r
8586 arg1 = *(STEPControl_Writer **)&jarg1;
\r
8587 argp2 = *(TopoDS_Shape **)&jarg2;
\r
8589 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null TopoDS_Shape");
\r
8593 arg3 = (STEPControl_StepModelType)jarg3;
\r
8594 result = (IFSelect_ReturnStatus)(arg1)->Transfer(arg2,arg3);
\r
8595 jresult = (jint)result;
\r
8600 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_STEPControl_1Writer_1model(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
8601 jlong jresult = 0 ;
\r
8602 STEPControl_Writer *arg1 = (STEPControl_Writer *) 0 ;
\r
8603 Standard_Boolean arg2 ;
\r
8604 Handle_StepData_StepModel result;
\r
8609 arg1 = *(STEPControl_Writer **)&jarg1;
\r
8613 result = (arg1)->Model(arg2);
\r
8614 *(Handle_StepData_StepModel **)&jresult = new Handle_StepData_StepModel((const Handle_StepData_StepModel &)result);
\r
8619 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1STEPControl_1Writer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8620 STEPControl_Writer *arg1 = (STEPControl_Writer *) 0 ;
\r
8624 arg1 = *(STEPControl_Writer **)&jarg1;
\r
8629 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1IGESControl_1Writer_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
8630 jlong jresult = 0 ;
\r
8631 IGESControl_Writer *result = 0 ;
\r
8635 result = (IGESControl_Writer *)new IGESControl_Writer();
\r
8636 *(IGESControl_Writer **)&jresult = result;
\r
8641 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1IGESControl_1Writer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
\r
8642 jlong jresult = 0 ;
\r
8643 Standard_CString arg1 ;
\r
8644 Standard_Integer arg2 ;
\r
8645 IGESControl_Writer *result = 0 ;
\r
8650 arg1 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg1, 0));
\r
8652 arg2 = (Standard_Integer)jarg2;
\r
8653 result = (IGESControl_Writer *)new IGESControl_Writer(arg1,arg2);
\r
8654 *(IGESControl_Writer **)&jresult = result;
\r
8659 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1IGESControl_1Writer_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1) {
\r
8660 jlong jresult = 0 ;
\r
8661 Standard_CString arg1 ;
\r
8662 IGESControl_Writer *result = 0 ;
\r
8667 arg1 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg1, 0));
\r
8669 result = (IGESControl_Writer *)new IGESControl_Writer(arg1);
\r
8670 *(IGESControl_Writer **)&jresult = result;
\r
8675 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Writer_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
\r
8676 jboolean jresult = 0 ;
\r
8677 IGESControl_Writer *arg1 = (IGESControl_Writer *) 0 ;
\r
8678 Standard_CString arg2 ;
\r
8679 Standard_Boolean result;
\r
8684 arg1 = *(IGESControl_Writer **)&jarg1;
\r
8686 arg2 = const_cast<Standard_CString>(jenv->GetStringUTFChars(jarg2, 0));
\r
8688 result = (arg1)->Write(arg2);
\r
8689 jresult = (jboolean)result;
\r
8694 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Writer_1addShape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8695 jboolean jresult = 0 ;
\r
8696 IGESControl_Writer *arg1 = (IGESControl_Writer *) 0 ;
\r
8697 TopoDS_Shape *arg2 = 0 ;
\r
8698 Standard_Boolean result;
\r
8704 arg1 = *(IGESControl_Writer **)&jarg1;
\r
8705 arg2 = *(TopoDS_Shape **)&jarg2;
\r
8707 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8710 result = (arg1)->AddShape((TopoDS_Shape const &)*arg2);
\r
8711 jresult = (jboolean)result;
\r
8716 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Writer_1computeModel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8717 IGESControl_Writer *arg1 = (IGESControl_Writer *) 0 ;
\r
8722 arg1 = *(IGESControl_Writer **)&jarg1;
\r
8723 (arg1)->ComputeModel();
\r
8727 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1IGESControl_1Writer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8728 IGESControl_Writer *arg1 = (IGESControl_Writer *) 0 ;
\r
8732 arg1 = *(IGESControl_Writer **)&jarg1;
\r
8737 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1IGESControl_1Controller(JNIEnv *jenv, jclass jcls) {
\r
8738 jlong jresult = 0 ;
\r
8739 IGESControl_Controller *result = 0 ;
\r
8743 result = (IGESControl_Controller *)new IGESControl_Controller();
\r
8744 *(IGESControl_Controller **)&jresult = result;
\r
8749 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Controller_1init(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8750 IGESControl_Controller *arg1 = (IGESControl_Controller *) 0 ;
\r
8755 arg1 = *(IGESControl_Controller **)&jarg1;
\r
8760 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1IGESControl_1Controller(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8761 IGESControl_Controller *arg1 = (IGESControl_Controller *) 0 ;
\r
8765 arg1 = *(IGESControl_Controller **)&jarg1;
\r
8770 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Root_1setPrecision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
8771 ShapeFix_Root *arg1 = (ShapeFix_Root *) 0 ;
\r
8772 Standard_Real arg2 ;
\r
8777 arg1 = *(ShapeFix_Root **)&jarg1;
\r
8778 arg2 = (Standard_Real)jarg2;
\r
8779 (arg1)->SetPrecision(arg2);
\r
8783 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Root_1getPrecision(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8784 jdouble jresult = 0 ;
\r
8785 ShapeFix_Root *arg1 = (ShapeFix_Root *) 0 ;
\r
8786 Standard_Real result;
\r
8791 arg1 = *(ShapeFix_Root **)&jarg1;
\r
8792 result = (Standard_Real)((ShapeFix_Root const *)arg1)->Precision();
\r
8793 jresult = (jdouble)result;
\r
8798 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Root_1setContext(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
8799 ShapeFix_Root *arg1 = (ShapeFix_Root *) 0 ;
\r
8800 ShapeBuild_ReShape *arg2 = (ShapeBuild_ReShape *) 0 ;
\r
8806 arg1 = *(ShapeFix_Root **)&jarg1;
\r
8807 arg2 = *(ShapeBuild_ReShape **)&jarg2;
\r
8808 (arg1)->SetContext((ShapeBuild_ReShape const *)arg2);
\r
8812 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Root_1getContext(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8813 jlong jresult = 0 ;
\r
8814 ShapeFix_Root *arg1 = (ShapeFix_Root *) 0 ;
\r
8815 ShapeBuild_ReShape *result = 0 ;
\r
8820 arg1 = *(ShapeFix_Root **)&jarg1;
\r
8821 result = (ShapeBuild_ReShape *)ShapeFix_Root_getContext(arg1);
\r
8822 *(ShapeBuild_ReShape **)&jresult = result;
\r
8827 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeFix_1Root(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8828 ShapeFix_Root *arg1 = (ShapeFix_Root *) 0 ;
\r
8832 arg1 = *(ShapeFix_Root **)&jarg1;
\r
8837 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeFix_1Wireframe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8838 jlong jresult = 0 ;
\r
8839 TopoDS_Shape *arg1 = 0 ;
\r
8840 ShapeFix_Wireframe *result = 0 ;
\r
8845 arg1 = *(TopoDS_Shape **)&jarg1;
\r
8847 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
8850 result = (ShapeFix_Wireframe *)new ShapeFix_Wireframe((TopoDS_Shape const &)*arg1);
\r
8851 *(ShapeFix_Wireframe **)&jresult = result;
\r
8856 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1fixWireGaps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8857 jboolean jresult = 0 ;
\r
8858 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8859 Standard_Boolean result;
\r
8864 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8865 result = (arg1)->FixWireGaps();
\r
8866 jresult = (jboolean)result;
\r
8871 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1fixSmallEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8872 jboolean jresult = 0 ;
\r
8873 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8874 Standard_Boolean result;
\r
8879 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8880 result = (arg1)->FixSmallEdges();
\r
8881 jresult = (jboolean)result;
\r
8886 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1setLimitAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
8887 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8888 Standard_Real arg2 ;
\r
8893 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8894 arg2 = (Standard_Real)jarg2;
\r
8895 (arg1)->SetLimitAngle(arg2);
\r
8899 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1getLimitAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8900 jdouble jresult = 0 ;
\r
8901 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8902 Standard_Real result;
\r
8907 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8908 result = (Standard_Real)((ShapeFix_Wireframe const *)arg1)->LimitAngle();
\r
8909 jresult = (jdouble)result;
\r
8914 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1shape(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8915 jlong jresult = 0 ;
\r
8916 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8917 TopoDS_Shape result;
\r
8922 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8923 result = (arg1)->Shape();
\r
8925 if((&result)->IsNull())
\r
8927 jresult=0L; //NULL
\r
8931 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
8932 tsp->TShape((&result)->TShape());
\r
8933 tsp->Location((&result)->Location());
\r
8934 tsp->Orientation((&result)->Orientation());
\r
8935 jresult=(jlong)tsp;
\r
8942 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1setDropSmallEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
8943 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8949 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8950 arg2 = jarg2 ? true : false;
\r
8951 ShapeFix_Wireframe_setDropSmallEdges(arg1,arg2);
\r
8955 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1getDropSmallEdges(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
8956 jboolean jresult = 0 ;
\r
8957 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8963 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8964 result = (bool)ShapeFix_Wireframe_getDropSmallEdges(arg1);
\r
8965 jresult = (jboolean)result;
\r
8970 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeFix_1Wireframe(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8971 ShapeFix_Wireframe *arg1 = (ShapeFix_Wireframe *) 0 ;
\r
8975 arg1 = *(ShapeFix_Wireframe **)&jarg1;
\r
8980 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1APIHeaderSection_1MakeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
8981 jlong jresult = 0 ;
\r
8982 Handle_StepData_StepModel *arg1 = 0 ;
\r
8983 APIHeaderSection_MakeHeader *result = 0 ;
\r
8987 arg1 = *(Handle_StepData_StepModel **)&jarg1;
\r
8989 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_StepData_StepModel const & reference is null");
\r
8992 result = (APIHeaderSection_MakeHeader *)new APIHeaderSection_MakeHeader((Handle_StepData_StepModel const &)*arg1);
\r
8993 *(APIHeaderSection_MakeHeader **)&jresult = result;
\r
8998 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_APIHeaderSection_1MakeHeader_1setName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
\r
8999 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9000 Handle_TCollection_HAsciiString *arg2 = 0 ;
\r
9005 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9006 arg2 = *(Handle_TCollection_HAsciiString **)&jarg2;
\r
9008 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_TCollection_HAsciiString const & reference is null");
\r
9011 (arg1)->SetName((Handle_TCollection_HAsciiString const &)*arg2);
\r
9015 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_APIHeaderSection_1MakeHeader_1setAuthorValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3) {
\r
9016 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9017 Standard_Integer arg2 ;
\r
9018 Handle_TCollection_HAsciiString *arg3 = 0 ;
\r
9023 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9024 arg2 = (Standard_Integer)jarg2;
\r
9025 arg3 = *(Handle_TCollection_HAsciiString **)&jarg3;
\r
9027 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_TCollection_HAsciiString const & reference is null");
\r
9030 (arg1)->SetAuthorValue(arg2,(Handle_TCollection_HAsciiString const &)*arg3);
\r
9034 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_APIHeaderSection_1MakeHeader_1setOrganizationValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3) {
\r
9035 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9036 Standard_Integer arg2 ;
\r
9037 Handle_TCollection_HAsciiString *arg3 = 0 ;
\r
9042 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9043 arg2 = (Standard_Integer)jarg2;
\r
9044 arg3 = *(Handle_TCollection_HAsciiString **)&jarg3;
\r
9046 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_TCollection_HAsciiString const & reference is null");
\r
9049 (arg1)->SetOrganizationValue(arg2,(Handle_TCollection_HAsciiString const &)*arg3);
\r
9053 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_APIHeaderSection_1MakeHeader_1setOriginatingSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
\r
9054 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9055 Handle_TCollection_HAsciiString *arg2 = 0 ;
\r
9060 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9061 arg2 = *(Handle_TCollection_HAsciiString **)&jarg2;
\r
9063 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_TCollection_HAsciiString const & reference is null");
\r
9066 (arg1)->SetOriginatingSystem((Handle_TCollection_HAsciiString const &)*arg2);
\r
9070 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_APIHeaderSection_1MakeHeader_1setDescriptionValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3) {
\r
9071 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9072 Standard_Integer arg2 ;
\r
9073 Handle_TCollection_HAsciiString *arg3 = 0 ;
\r
9078 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9079 arg2 = (Standard_Integer)jarg2;
\r
9080 arg3 = *(Handle_TCollection_HAsciiString **)&jarg3;
\r
9082 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_TCollection_HAsciiString const & reference is null");
\r
9085 (arg1)->SetDescriptionValue(arg2,(Handle_TCollection_HAsciiString const &)*arg3);
\r
9089 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1APIHeaderSection_1MakeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9090 APIHeaderSection_MakeHeader *arg1 = (APIHeaderSection_MakeHeader *) 0 ;
\r
9094 arg1 = *(APIHeaderSection_MakeHeader **)&jarg1;
\r
9099 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeUpgrade_1Tool(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9100 ShapeUpgrade_Tool *arg1 = (ShapeUpgrade_Tool *) 0 ;
\r
9104 arg1 = *(ShapeUpgrade_Tool **)&jarg1;
\r
9109 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeUpgrade_1RemoveInternalWires(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9110 jlong jresult = 0 ;
\r
9111 TopoDS_Shape *arg1 = 0 ;
\r
9112 ShapeUpgrade_RemoveInternalWires *result = 0 ;
\r
9117 arg1 = *(TopoDS_Shape **)&jarg1;
\r
9119 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
9122 result = (ShapeUpgrade_RemoveInternalWires *)new ShapeUpgrade_RemoveInternalWires((TopoDS_Shape const &)*arg1);
\r
9123 *(ShapeUpgrade_RemoveInternalWires **)&jresult = result;
\r
9128 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1perform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9129 jboolean jresult = 0 ;
\r
9130 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9131 Standard_Boolean result;
\r
9136 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9137 result = (arg1)->Perform();
\r
9138 jresult = (jboolean)result;
\r
9143 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1getResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9144 jlong jresult = 0 ;
\r
9145 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9146 TopoDS_Shape result;
\r
9151 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9152 result = ((ShapeUpgrade_RemoveInternalWires const *)arg1)->GetResult();
\r
9154 if((&result)->IsNull())
\r
9156 jresult=0L; //NULL
\r
9160 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
9161 tsp->TShape((&result)->TShape());
\r
9162 tsp->Location((&result)->Location());
\r
9163 tsp->Orientation((&result)->Orientation());
\r
9164 jresult=(jlong)tsp;
\r
9171 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1setMinArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
9172 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9178 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9179 arg2 = (double)jarg2;
\r
9180 ShapeUpgrade_RemoveInternalWires_setMinArea(arg1,arg2);
\r
9184 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1getMinArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9185 jdouble jresult = 0 ;
\r
9186 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9192 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9193 result = (double)ShapeUpgrade_RemoveInternalWires_getMinArea(arg1);
\r
9194 jresult = (jdouble)result;
\r
9199 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1setRemoveFaceMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
9200 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9201 Standard_Boolean arg2 ;
\r
9206 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9210 ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(arg1,arg2);
\r
9214 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1getRemoveFaceMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9215 jboolean jresult = 0 ;
\r
9216 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9217 Standard_Boolean result;
\r
9222 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9223 result = ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(arg1);
\r
9224 jresult = (jboolean)result;
\r
9229 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeUpgrade_1RemoveInternalWires(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9230 ShapeUpgrade_RemoveInternalWires *arg1 = (ShapeUpgrade_RemoveInternalWires *) 0 ;
\r
9234 arg1 = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
9239 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivide_1getResult(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9240 jlong jresult = 0 ;
\r
9241 ShapeUpgrade_ShapeDivide *arg1 = (ShapeUpgrade_ShapeDivide *) 0 ;
\r
9242 TopoDS_Shape result;
\r
9247 arg1 = *(ShapeUpgrade_ShapeDivide **)&jarg1;
\r
9248 result = ((ShapeUpgrade_ShapeDivide const *)arg1)->Result();
\r
9250 if((&result)->IsNull())
\r
9252 jresult=0L; //NULL
\r
9256 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
9257 tsp->TShape((&result)->TShape());
\r
9258 tsp->Location((&result)->Location());
\r
9259 tsp->Orientation((&result)->Orientation());
\r
9260 jresult=(jlong)tsp;
\r
9267 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivide_1perform_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
9268 jboolean jresult = 0 ;
\r
9269 ShapeUpgrade_ShapeDivide *arg1 = (ShapeUpgrade_ShapeDivide *) 0 ;
\r
9270 Standard_Boolean arg2 ;
\r
9271 Standard_Boolean result;
\r
9276 arg1 = *(ShapeUpgrade_ShapeDivide **)&jarg1;
\r
9280 result = (arg1)->Perform(arg2);
\r
9281 jresult = (jboolean)result;
\r
9286 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivide_1perform_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9287 jboolean jresult = 0 ;
\r
9288 ShapeUpgrade_ShapeDivide *arg1 = (ShapeUpgrade_ShapeDivide *) 0 ;
\r
9289 Standard_Boolean result;
\r
9294 arg1 = *(ShapeUpgrade_ShapeDivide **)&jarg1;
\r
9295 result = (arg1)->Perform();
\r
9296 jresult = (jboolean)result;
\r
9301 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeUpgrade_1ShapeDivide(JNIEnv *jenv, jclass jcls) {
\r
9302 jlong jresult = 0 ;
\r
9303 ShapeUpgrade_ShapeDivide *result = 0 ;
\r
9307 result = (ShapeUpgrade_ShapeDivide *)new ShapeUpgrade_ShapeDivide();
\r
9308 *(ShapeUpgrade_ShapeDivide **)&jresult = result;
\r
9313 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeUpgrade_1ShapeDivide(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9314 ShapeUpgrade_ShapeDivide *arg1 = (ShapeUpgrade_ShapeDivide *) 0 ;
\r
9318 arg1 = *(ShapeUpgrade_ShapeDivide **)&jarg1;
\r
9323 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeUpgrade_1ShapeDivideArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9324 jlong jresult = 0 ;
\r
9325 TopoDS_Shape *arg1 = 0 ;
\r
9326 ShapeUpgrade_ShapeDivideArea *result = 0 ;
\r
9331 arg1 = *(TopoDS_Shape **)&jarg1;
\r
9333 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
9336 result = (ShapeUpgrade_ShapeDivideArea *)new ShapeUpgrade_ShapeDivideArea((TopoDS_Shape const &)*arg1);
\r
9337 *(ShapeUpgrade_ShapeDivideArea **)&jresult = result;
\r
9342 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivideArea_1setMaxArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
9343 ShapeUpgrade_ShapeDivideArea *arg1 = (ShapeUpgrade_ShapeDivideArea *) 0 ;
\r
9349 arg1 = *(ShapeUpgrade_ShapeDivideArea **)&jarg1;
\r
9350 arg2 = (double)jarg2;
\r
9351 ShapeUpgrade_ShapeDivideArea_setMaxArea(arg1,arg2);
\r
9355 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivideArea_1getMaxArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9356 jdouble jresult = 0 ;
\r
9357 ShapeUpgrade_ShapeDivideArea *arg1 = (ShapeUpgrade_ShapeDivideArea *) 0 ;
\r
9363 arg1 = *(ShapeUpgrade_ShapeDivideArea **)&jarg1;
\r
9364 result = (double)ShapeUpgrade_ShapeDivideArea_getMaxArea(arg1);
\r
9365 jresult = (jdouble)result;
\r
9370 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeUpgrade_1ShapeDivideArea(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9371 ShapeUpgrade_ShapeDivideArea *arg1 = (ShapeUpgrade_ShapeDivideArea *) 0 ;
\r
9375 arg1 = *(ShapeUpgrade_ShapeDivideArea **)&jarg1;
\r
9380 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
9381 jlong jresult = 0 ;
\r
9382 GeomAPI_PointsToBSpline *result = 0 ;
\r
9386 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline();
\r
9387 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9392 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jint jarg2, jint jarg3, jint jarg4, jdouble jarg5) {
\r
9393 jlong jresult = 0 ;
\r
9394 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9395 Standard_Integer arg2 ;
\r
9396 Standard_Integer arg3 ;
\r
9397 GeomAbs_Shape arg4 ;
\r
9398 Standard_Real arg5 ;
\r
9399 GeomAPI_PointsToBSpline *result = 0 ;
\r
9407 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9410 jsize sz = jenv->GetArrayLength(jarg1);
\r
9411 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9415 //sinn? - modulo test 3
\r
9416 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9419 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9420 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9421 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9425 arg2 = (Standard_Integer)jarg2;
\r
9426 arg3 = (Standard_Integer)jarg3;
\r
9427 arg4 = (GeomAbs_Shape)jarg4;
\r
9428 arg5 = (Standard_Real)jarg5;
\r
9429 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,arg2,arg3,arg4,arg5);
\r
9430 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9438 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jint jarg2, jint jarg3, jint jarg4) {
\r
9439 jlong jresult = 0 ;
\r
9440 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9441 Standard_Integer arg2 ;
\r
9442 Standard_Integer arg3 ;
\r
9443 GeomAbs_Shape arg4 ;
\r
9444 GeomAPI_PointsToBSpline *result = 0 ;
\r
9452 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9455 jsize sz = jenv->GetArrayLength(jarg1);
\r
9456 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9460 //sinn? - modulo test 3
\r
9461 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9464 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9465 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9466 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9470 arg2 = (Standard_Integer)jarg2;
\r
9471 arg3 = (Standard_Integer)jarg3;
\r
9472 arg4 = (GeomAbs_Shape)jarg4;
\r
9473 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,arg2,arg3,arg4);
\r
9474 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9482 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jint jarg2, jint jarg3) {
\r
9483 jlong jresult = 0 ;
\r
9484 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9485 Standard_Integer arg2 ;
\r
9486 Standard_Integer arg3 ;
\r
9487 GeomAPI_PointsToBSpline *result = 0 ;
\r
9495 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9498 jsize sz = jenv->GetArrayLength(jarg1);
\r
9499 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9503 //sinn? - modulo test 3
\r
9504 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9507 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9508 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9509 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9513 arg2 = (Standard_Integer)jarg2;
\r
9514 arg3 = (Standard_Integer)jarg3;
\r
9515 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,arg2,arg3);
\r
9516 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9524 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jint jarg2) {
\r
9525 jlong jresult = 0 ;
\r
9526 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9527 Standard_Integer arg2 ;
\r
9528 GeomAPI_PointsToBSpline *result = 0 ;
\r
9536 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9539 jsize sz = jenv->GetArrayLength(jarg1);
\r
9540 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9544 //sinn? - modulo test 3
\r
9545 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9548 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9549 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9550 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9554 arg2 = (Standard_Integer)jarg2;
\r
9555 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,arg2);
\r
9556 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9564 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1) {
\r
9565 jlong jresult = 0 ;
\r
9566 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9567 GeomAPI_PointsToBSpline *result = 0 ;
\r
9575 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9578 jsize sz = jenv->GetArrayLength(jarg1);
\r
9579 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9583 //sinn? - modulo test 3
\r
9584 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9587 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9588 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9589 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9593 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1);
\r
9594 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9602 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jint jarg3, jint jarg4, jint jarg5, jdouble jarg6) {
\r
9603 jlong jresult = 0 ;
\r
9604 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9605 TColStd_Array1OfReal *arg2 = 0 ;
\r
9606 Standard_Integer arg3 ;
\r
9607 Standard_Integer arg4 ;
\r
9608 GeomAbs_Shape arg5 ;
\r
9609 Standard_Real arg6 ;
\r
9610 GeomAPI_PointsToBSpline *result = 0 ;
\r
9618 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9621 jsize sz = jenv->GetArrayLength(jarg1);
\r
9622 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9626 //sinn? - modulo test 3
\r
9627 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9630 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9631 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9632 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9640 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9643 jsize sz = jenv->GetArrayLength(jarg2);
\r
9644 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
9646 arg2 = new TColStd_Array1OfReal(1,sz);
\r
9647 for (i=1,j=0; i<=sz; i++,j++) {
\r
9648 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
9652 arg3 = (Standard_Integer)jarg3;
\r
9653 arg4 = (Standard_Integer)jarg4;
\r
9654 arg5 = (GeomAbs_Shape)jarg5;
\r
9655 arg6 = (Standard_Real)jarg6;
\r
9656 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,arg3,arg4,arg5,arg6);
\r
9657 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9668 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jint jarg3, jint jarg4, jint jarg5) {
\r
9669 jlong jresult = 0 ;
\r
9670 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9671 TColStd_Array1OfReal *arg2 = 0 ;
\r
9672 Standard_Integer arg3 ;
\r
9673 Standard_Integer arg4 ;
\r
9674 GeomAbs_Shape arg5 ;
\r
9675 GeomAPI_PointsToBSpline *result = 0 ;
\r
9683 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9686 jsize sz = jenv->GetArrayLength(jarg1);
\r
9687 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9691 //sinn? - modulo test 3
\r
9692 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9695 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9696 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9697 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9705 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9708 jsize sz = jenv->GetArrayLength(jarg2);
\r
9709 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
9711 arg2 = new TColStd_Array1OfReal(1,sz);
\r
9712 for (i=1,j=0; i<=sz; i++,j++) {
\r
9713 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
9717 arg3 = (Standard_Integer)jarg3;
\r
9718 arg4 = (Standard_Integer)jarg4;
\r
9719 arg5 = (GeomAbs_Shape)jarg5;
\r
9720 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,arg3,arg4,arg5);
\r
9721 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9732 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jint jarg3, jint jarg4) {
\r
9733 jlong jresult = 0 ;
\r
9734 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9735 TColStd_Array1OfReal *arg2 = 0 ;
\r
9736 Standard_Integer arg3 ;
\r
9737 Standard_Integer arg4 ;
\r
9738 GeomAPI_PointsToBSpline *result = 0 ;
\r
9746 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9749 jsize sz = jenv->GetArrayLength(jarg1);
\r
9750 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9754 //sinn? - modulo test 3
\r
9755 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9758 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9759 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9760 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9768 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9771 jsize sz = jenv->GetArrayLength(jarg2);
\r
9772 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
9774 arg2 = new TColStd_Array1OfReal(1,sz);
\r
9775 for (i=1,j=0; i<=sz; i++,j++) {
\r
9776 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
9780 arg3 = (Standard_Integer)jarg3;
\r
9781 arg4 = (Standard_Integer)jarg4;
\r
9782 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,arg3,arg4);
\r
9783 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9794 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jint jarg3) {
\r
9795 jlong jresult = 0 ;
\r
9796 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9797 TColStd_Array1OfReal *arg2 = 0 ;
\r
9798 Standard_Integer arg3 ;
\r
9799 GeomAPI_PointsToBSpline *result = 0 ;
\r
9807 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9810 jsize sz = jenv->GetArrayLength(jarg1);
\r
9811 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9815 //sinn? - modulo test 3
\r
9816 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9819 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9820 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9821 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9829 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9832 jsize sz = jenv->GetArrayLength(jarg2);
\r
9833 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
9835 arg2 = new TColStd_Array1OfReal(1,sz);
\r
9836 for (i=1,j=0; i<=sz; i++,j++) {
\r
9837 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
9841 arg3 = (Standard_Integer)jarg3;
\r
9842 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2,arg3);
\r
9843 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9854 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1PointsToBSpline_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2) {
\r
9855 jlong jresult = 0 ;
\r
9856 TColgp_Array1OfPnt *arg1 = 0 ;
\r
9857 TColStd_Array1OfReal *arg2 = 0 ;
\r
9858 GeomAPI_PointsToBSpline *result = 0 ;
\r
9866 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9869 jsize sz = jenv->GetArrayLength(jarg1);
\r
9870 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9874 //sinn? - modulo test 3
\r
9875 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9878 arg1 = new TColgp_Array1OfPnt(1,sz/3);
\r
9879 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9880 arg1->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9888 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9891 jsize sz = jenv->GetArrayLength(jarg2);
\r
9892 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
9894 arg2 = new TColStd_Array1OfReal(1,sz);
\r
9895 for (i=1,j=0; i<=sz; i++,j++) {
\r
9896 arg2->SetValue(i,Standard_Real(jarr[j]));
\r
9900 result = (GeomAPI_PointsToBSpline *)new GeomAPI_PointsToBSpline((TColgp_Array1OfPnt const &)*arg1,(TColStd_Array1OfReal const &)*arg2);
\r
9901 *(GeomAPI_PointsToBSpline **)&jresult = result;
\r
9912 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1PointsToBSpline_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
9913 jlong jresult = 0 ;
\r
9914 GeomAPI_PointsToBSpline *arg1 = (GeomAPI_PointsToBSpline *) 0 ;
\r
9915 Handle_Geom_BSplineCurve *result = 0 ;
\r
9920 arg1 = *(GeomAPI_PointsToBSpline **)&jarg1;
\r
9921 result = (Handle_Geom_BSplineCurve *) &((GeomAPI_PointsToBSpline const *)arg1)->Curve();
\r
9922 *(Handle_Geom_BSplineCurve **)&jresult = result;
\r
9927 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GeomAPI_1PointsToBSpline(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
9928 GeomAPI_PointsToBSpline *arg1 = (GeomAPI_PointsToBSpline *) 0 ;
\r
9932 arg1 = *(GeomAPI_PointsToBSpline **)&jarg1;
\r
9937 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1Interpolate(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jboolean jarg2, jdouble jarg3) {
\r
9938 jlong jresult = 0 ;
\r
9939 Handle_TColgp_HArray1OfPnt *arg1 = 0 ;
\r
9940 Standard_Boolean arg2 ;
\r
9941 Standard_Real arg3 ;
\r
9942 GeomAPI_Interpolate *result = 0 ;
\r
9950 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
9953 jsize sz = jenv->GetArrayLength(jarg1);
\r
9954 jdouble* jarr = jenv->GetDoubleArrayElements(jarg1, NULL);
\r
9958 //sinn? - modulo test 3
\r
9959 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
9962 //Handle(TColgp_HArray1OfPnt) b = new TColgp_HArray1OfPnt(1,sz/3);
\r
9963 //TODO: this is a leak!
\r
9964 TColgp_HArray1OfPnt *a = new TColgp_HArray1OfPnt(1,sz/3);
\r
9965 //Handle(TColgp_HArray1OfPnt) a = new TColgp_HArray1OfPnt(1,sz/3);
\r
9967 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
9968 a->SetValue(i,gp_Pnt(jarr[j],jarr[j+1],jarr[j+2]));
\r
9971 Handle_TColgp_HArray1OfPnt *c = new Handle_TColgp_HArray1OfPnt(a);
\r
9972 arg1 = *(Handle_TColgp_HArray1OfPnt **)&c;
\r
9976 arg1 = *(TColgp_HArray1OfPnt **)&jarg1;
\r
9978 TColgp_HArray1OfPnt arg1 = a;*/
\r
9979 //Handle_TColgp_HArray1OfPnt arg1 = Handle(a);
\r
9985 arg3 = (Standard_Real)jarg3;
\r
9986 result = (GeomAPI_Interpolate *)new GeomAPI_Interpolate((Handle_TColgp_HArray1OfPnt const &)*arg1,arg2,arg3);
\r
9987 *(GeomAPI_Interpolate **)&jresult = result;
\r
9992 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1Interpolate_1Load_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jbooleanArray jarg3, jboolean jarg4) {
\r
9993 GeomAPI_Interpolate *arg1 = (GeomAPI_Interpolate *) 0 ;
\r
9994 TColgp_Array1OfVec *arg2 = 0 ;
\r
9995 Handle_TColStd_HArray1OfBoolean *arg3 = 0 ;
\r
9996 Standard_Boolean arg4 ;
\r
10001 arg1 = *(GeomAPI_Interpolate **)&jarg1;
\r
10006 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
10009 jsize sz = jenv->GetArrayLength(jarg2);
\r
10010 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
10014 //sinn? - modulo test 3
\r
10015 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
10018 arg2 = new TColgp_Array1OfVec(1,sz/3);
\r
10019 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
10020 arg2->SetValue(i,gp_Vec(gp_Dir(jarr[j],jarr[j+1],jarr[j+2])));
\r
10028 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
10031 jsize sz = jenv->GetArrayLength(jarg3);
\r
10032 jboolean* jarr = jenv->GetBooleanArrayElements(jarg3, NULL);
\r
10036 //sinn? - modulo test 3
\r
10037 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
10040 TColStd_HArray1OfBoolean *a = new TColStd_HArray1OfBoolean(1,sz);
\r
10041 for (i=1,j=0; i<=sz; i++,j++) {
\r
10042 a->SetValue(i,Standard_Boolean(jarr[j]));
\r
10045 Handle_TColStd_HArray1OfBoolean *c = new Handle_TColStd_HArray1OfBoolean(a);
\r
10046 arg3 = *(Handle_TColStd_HArray1OfBoolean **)&c;
\r
10052 (arg1)->Load((TColgp_Array1OfVec const &)*arg2,(Handle_TColStd_HArray1OfBoolean const &)*arg3,arg4);
\r
10059 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1Interpolate_1Load_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jbooleanArray jarg3) {
\r
10060 GeomAPI_Interpolate *arg1 = (GeomAPI_Interpolate *) 0 ;
\r
10061 TColgp_Array1OfVec *arg2 = 0 ;
\r
10062 Handle_TColStd_HArray1OfBoolean *arg3 = 0 ;
\r
10067 arg1 = *(GeomAPI_Interpolate **)&jarg1;
\r
10072 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
10075 jsize sz = jenv->GetArrayLength(jarg2);
\r
10076 jdouble* jarr = jenv->GetDoubleArrayElements(jarg2, NULL);
\r
10080 //sinn? - modulo test 3
\r
10081 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
10084 arg2 = new TColgp_Array1OfVec(1,sz/3);
\r
10085 for (i=1,j=0; i<=sz/3; i++,j=j+3) {
\r
10086 arg2->SetValue(i,gp_Vec(gp_Dir(jarr[j],jarr[j+1],jarr[j+2])));
\r
10094 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array");
\r
10097 jsize sz = jenv->GetArrayLength(jarg3);
\r
10098 jboolean* jarr = jenv->GetBooleanArrayElements(jarg3, NULL);
\r
10102 //sinn? - modulo test 3
\r
10103 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null array (2)");
\r
10106 TColStd_HArray1OfBoolean *a = new TColStd_HArray1OfBoolean(1,sz);
\r
10107 for (i=1,j=0; i<=sz; i++,j++) {
\r
10108 a->SetValue(i,Standard_Boolean(jarr[j]));
\r
10111 Handle_TColStd_HArray1OfBoolean *c = new Handle_TColStd_HArray1OfBoolean(a);
\r
10112 arg3 = *(Handle_TColStd_HArray1OfBoolean **)&c;
\r
10115 (arg1)->Load((TColgp_Array1OfVec const &)*arg2,(Handle_TColStd_HArray1OfBoolean const &)*arg3);
\r
10122 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1Interpolate_1Perform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10123 GeomAPI_Interpolate *arg1 = (GeomAPI_Interpolate *) 0 ;
\r
10128 arg1 = *(GeomAPI_Interpolate **)&jarg1;
\r
10129 (arg1)->Perform();
\r
10133 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1Interpolate_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10134 jlong jresult = 0 ;
\r
10135 GeomAPI_Interpolate *arg1 = (GeomAPI_Interpolate *) 0 ;
\r
10136 Handle_Geom_BSplineCurve *result = 0 ;
\r
10141 arg1 = *(GeomAPI_Interpolate **)&jarg1;
\r
10142 result = (Handle_Geom_BSplineCurve *) &((GeomAPI_Interpolate const *)arg1)->Curve();
\r
10143 *(Handle_Geom_BSplineCurve **)&jresult = result;
\r
10148 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GeomAPI_1Interpolate(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10149 GeomAPI_Interpolate *arg1 = (GeomAPI_Interpolate *) 0 ;
\r
10153 arg1 = *(GeomAPI_Interpolate **)&jarg1;
\r
10158 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GC_1MakeArcOfCircle_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
10159 jlong jresult = 0 ;
\r
10160 gp_Pnt *arg1 = 0 ;
\r
10161 gp_Pnt *arg2 = 0 ;
\r
10162 gp_Pnt *arg3 = 0 ;
\r
10163 GC_MakeArcOfCircle *result = 0 ;
\r
10168 if(jenv->GetArrayLength(jarg1)!=3)
\r
10169 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
10170 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
10171 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
10174 if(jenv->GetArrayLength(jarg2)!=3)
\r
10175 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
10176 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
10177 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
10180 if(jenv->GetArrayLength(jarg3)!=3)
\r
10181 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
10182 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
10183 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
10185 result = (GC_MakeArcOfCircle *)new GC_MakeArcOfCircle((gp_Pnt const &)*arg1,(gp_Pnt const &)*arg2,(gp_Pnt const &)*arg3);
\r
10186 *(GC_MakeArcOfCircle **)&jresult = result;
\r
10200 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GC_1MakeArcOfCircle_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3, jboolean jarg4) {
\r
10201 jlong jresult = 0 ;
\r
10202 gp_Circ *arg1 = 0 ;
\r
10203 gp_Pnt *arg2 = 0 ;
\r
10204 gp_Pnt *arg3 = 0 ;
\r
10205 Standard_Boolean arg4 ;
\r
10206 GC_MakeArcOfCircle *result = 0 ;
\r
10211 arg1 = *(gp_Circ **)&jarg1;
\r
10213 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "gp_Circ const & reference is null");
\r
10217 if(jenv->GetArrayLength(jarg2)!=3)
\r
10218 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
10219 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
10220 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
10223 if(jenv->GetArrayLength(jarg3)!=3)
\r
10224 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
10225 jdouble * naxe=jenv->GetDoubleArrayElements(jarg3, NULL);
\r
10226 arg3=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
10231 result = (GC_MakeArcOfCircle *)new GC_MakeArcOfCircle((gp_Circ const &)*arg1,(gp_Pnt const &)*arg2,(gp_Pnt const &)*arg3,arg4);
\r
10232 *(GC_MakeArcOfCircle **)&jresult = result;
\r
10243 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GC_1MakeArcOfCircle_1Value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10244 jlong jresult = 0 ;
\r
10245 GC_MakeArcOfCircle *arg1 = (GC_MakeArcOfCircle *) 0 ;
\r
10246 Handle_Geom_TrimmedCurve *result = 0 ;
\r
10251 arg1 = *(GC_MakeArcOfCircle **)&jarg1;
\r
10252 result = (Handle_Geom_TrimmedCurve *) &((GC_MakeArcOfCircle const *)arg1)->Value();
\r
10253 *(Handle_Geom_TrimmedCurve **)&jresult = result;
\r
10258 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GC_1MakeArcOfCircle(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10259 GC_MakeArcOfCircle *arg1 = (GC_MakeArcOfCircle *) 0 ;
\r
10263 arg1 = *(GC_MakeArcOfCircle **)&jarg1;
\r
10268 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopLoc_1Location_1isIdentity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10269 jboolean jresult = 0 ;
\r
10270 TopLoc_Location *arg1 = (TopLoc_Location *) 0 ;
\r
10271 Standard_Boolean result;
\r
10276 arg1 = *(TopLoc_Location **)&jarg1;
\r
10277 result = (arg1)->IsIdentity();
\r
10278 jresult = (jboolean)result;
\r
10283 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopLoc_1Location_1transformation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10284 jlong jresult = 0 ;
\r
10285 TopLoc_Location *arg1 = (TopLoc_Location *) 0 ;
\r
10286 gp_Trsf *result = 0 ;
\r
10291 arg1 = *(TopLoc_Location **)&jarg1;
\r
10292 result = (gp_Trsf *) &(arg1)->Transformation();
\r
10293 *(gp_Trsf **)&jresult = result;
\r
10298 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopLoc_1Location(JNIEnv *jenv, jclass jcls) {
\r
10299 jlong jresult = 0 ;
\r
10300 TopLoc_Location *result = 0 ;
\r
10304 result = (TopLoc_Location *)new TopLoc_Location();
\r
10305 *(TopLoc_Location **)&jresult = result;
\r
10310 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopLoc_1Location(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10311 TopLoc_Location *arg1 = (TopLoc_Location *) 0 ;
\r
10315 arg1 = *(TopLoc_Location **)&jarg1;
\r
10320 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1vertices_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jboolean jarg4) {
\r
10321 TopoDS_Edge *arg1 = 0 ;
\r
10322 TopoDS_Vertex *arg2 = 0 ;
\r
10323 TopoDS_Vertex *arg3 = 0 ;
\r
10324 Standard_Boolean arg4 ;
\r
10331 arg1 = *(TopoDS_Edge **)&jarg1;
\r
10333 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
10336 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
10338 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex & reference is null");
\r
10341 arg3 = *(TopoDS_Vertex **)&jarg3;
\r
10343 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex & reference is null");
\r
10349 TopExp::Vertices((TopoDS_Edge const &)*arg1,*arg2,*arg3,arg4);
\r
10353 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1vertices_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
\r
10354 TopoDS_Edge *arg1 = 0 ;
\r
10355 TopoDS_Vertex *arg2 = 0 ;
\r
10356 TopoDS_Vertex *arg3 = 0 ;
\r
10363 arg1 = *(TopoDS_Edge **)&jarg1;
\r
10365 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Edge const & reference is null");
\r
10368 arg2 = *(TopoDS_Vertex **)&jarg2;
\r
10370 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex & reference is null");
\r
10373 arg3 = *(TopoDS_Vertex **)&jarg3;
\r
10375 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Vertex & reference is null");
\r
10378 TopExp::Vertices((TopoDS_Edge const &)*arg1,*arg2,*arg3);
\r
10382 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopExp(JNIEnv *jenv, jclass jcls) {
\r
10383 jlong jresult = 0 ;
\r
10384 TopExp *result = 0 ;
\r
10388 result = (TopExp *)new TopExp();
\r
10389 *(TopExp **)&jresult = result;
\r
10394 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopExp(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10395 TopExp *arg1 = (TopExp *) 0 ;
\r
10399 arg1 = *(TopExp **)&jarg1;
\r
10404 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopExp_1Explorer_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
10405 jlong jresult = 0 ;
\r
10406 TopExp_Explorer *result = 0 ;
\r
10410 result = (TopExp_Explorer *)new TopExp_Explorer();
\r
10411 *(TopExp_Explorer **)&jresult = result;
\r
10416 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopExp_1Explorer_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
\r
10417 jlong jresult = 0 ;
\r
10418 TopoDS_Shape *arg1 = 0 ;
\r
10419 TopAbs_ShapeEnum arg2 ;
\r
10420 TopAbs_ShapeEnum arg3 ;
\r
10421 TopExp_Explorer *result = 0 ;
\r
10426 arg1 = *(TopoDS_Shape **)&jarg1;
\r
10428 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
10431 arg2 = (TopAbs_ShapeEnum)jarg2;
\r
10432 arg3 = (TopAbs_ShapeEnum)jarg3;
\r
10433 result = (TopExp_Explorer *)new TopExp_Explorer((TopoDS_Shape const &)*arg1,arg2,arg3);
\r
10434 *(TopExp_Explorer **)&jresult = result;
\r
10439 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1TopExp_1Explorer_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
10440 jlong jresult = 0 ;
\r
10441 TopoDS_Shape *arg1 = 0 ;
\r
10442 TopAbs_ShapeEnum arg2 ;
\r
10443 TopExp_Explorer *result = 0 ;
\r
10448 arg1 = *(TopoDS_Shape **)&jarg1;
\r
10450 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
10453 arg2 = (TopAbs_ShapeEnum)jarg2;
\r
10454 result = (TopExp_Explorer *)new TopExp_Explorer((TopoDS_Shape const &)*arg1,arg2);
\r
10455 *(TopExp_Explorer **)&jresult = result;
\r
10460 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1Explorer_1init_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3, jint jarg4) {
\r
10461 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10462 TopoDS_Shape *arg2 = 0 ;
\r
10463 TopAbs_ShapeEnum arg3 ;
\r
10464 TopAbs_ShapeEnum arg4 ;
\r
10470 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10471 arg2 = *(TopoDS_Shape **)&jarg2;
\r
10473 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
10476 arg3 = (TopAbs_ShapeEnum)jarg3;
\r
10477 arg4 = (TopAbs_ShapeEnum)jarg4;
\r
10478 (arg1)->Init((TopoDS_Shape const &)*arg2,arg3,arg4);
\r
10482 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1Explorer_1init_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
\r
10483 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10484 TopoDS_Shape *arg2 = 0 ;
\r
10485 TopAbs_ShapeEnum arg3 ;
\r
10491 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10492 arg2 = *(TopoDS_Shape **)&jarg2;
\r
10494 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
10497 arg3 = (TopAbs_ShapeEnum)jarg3;
\r
10498 (arg1)->Init((TopoDS_Shape const &)*arg2,arg3);
\r
10502 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1Explorer_1more(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10503 jboolean jresult = 0 ;
\r
10504 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10505 Standard_Boolean result;
\r
10510 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10511 result = ((TopExp_Explorer const *)arg1)->More();
\r
10512 jresult = (jboolean)result;
\r
10517 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1Explorer_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10518 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10523 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10528 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopExp_1Explorer_1current(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10529 jlong jresult = 0 ;
\r
10530 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10531 TopoDS_Shape *result = 0 ;
\r
10536 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10537 result = (TopoDS_Shape *) &(arg1)->Current();
\r
10539 if(result->IsNull())
\r
10541 jresult=0L; //NULL
\r
10545 TopoDS_Shape * tsp=new TopoDS_Shape();
\r
10546 tsp->TShape(result->TShape());
\r
10547 tsp->Location(result->Location());
\r
10548 tsp->Orientation(result->Orientation());
\r
10549 jresult=(jlong)tsp;
\r
10556 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1TopExp_1Explorer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10557 TopExp_Explorer *arg1 = (TopExp_Explorer *) 0 ;
\r
10561 arg1 = *(TopExp_Explorer **)&jarg1;
\r
10566 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Bnd_1Box(JNIEnv *jenv, jclass jcls) {
\r
10567 jlong jresult = 0 ;
\r
10568 Bnd_Box *result = 0 ;
\r
10572 result = (Bnd_Box *)new Bnd_Box();
\r
10573 *(Bnd_Box **)&jresult = result;
\r
10578 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Bnd_1Box_1isVoid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10579 jboolean jresult = 0 ;
\r
10580 Bnd_Box *arg1 = (Bnd_Box *) 0 ;
\r
10581 Standard_Boolean result;
\r
10586 arg1 = *(Bnd_Box **)&jarg1;
\r
10587 result = ((Bnd_Box const *)arg1)->IsVoid();
\r
10588 jresult = (jboolean)result;
\r
10593 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Bnd_1Box_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2) {
\r
10594 Bnd_Box *arg1 = (Bnd_Box *) 0 ;
\r
10601 arg1 = *(Bnd_Box **)&jarg1;
\r
10602 if (jarg2 && jenv->GetArrayLength(jarg2) != 6) {
\r
10603 SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "incorrect array size");
\r
10606 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
10607 Bnd_Box_get(arg1,arg2);
\r
10608 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
10613 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Bnd_1Box(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10614 Bnd_Box *arg1 = (Bnd_Box *) 0 ;
\r
10618 arg1 = *(Bnd_Box **)&jarg1;
\r
10623 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBndLib_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
10624 TopoDS_Shape *arg1 = 0 ;
\r
10625 Bnd_Box *arg2 = 0 ;
\r
10631 arg1 = *(TopoDS_Shape **)&jarg1;
\r
10633 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
10636 arg2 = *(Bnd_Box **)&jarg2;
\r
10638 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Bnd_Box & reference is null");
\r
10641 BRepBndLib::Add((TopoDS_Shape const &)*arg1,*arg2);
\r
10645 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepBndLib(JNIEnv *jenv, jclass jcls) {
\r
10646 jlong jresult = 0 ;
\r
10647 BRepBndLib *result = 0 ;
\r
10651 result = (BRepBndLib *)new BRepBndLib();
\r
10652 *(BRepBndLib **)&jresult = result;
\r
10657 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepBndLib(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10658 BRepBndLib *arg1 = (BRepBndLib *) 0 ;
\r
10662 arg1 = *(BRepBndLib **)&jarg1;
\r
10667 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Adaptor2d_1Curve2d_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
10668 jdoubleArray jresult = 0 ;
\r
10669 Adaptor2d_Curve2d *arg1 = (Adaptor2d_Curve2d *) 0 ;
\r
10670 Standard_Real arg2 ;
\r
10676 arg1 = *(Adaptor2d_Curve2d **)&jarg1;
\r
10677 arg2 = (Standard_Real)jarg2;
\r
10678 result = ((Adaptor2d_Curve2d const *)arg1)->Value(arg2);
\r
10680 jdouble nativeArray[]={
\r
10681 (&result)->X(), (&result)->Y()
\r
10683 jdoubleArray toReturn=jenv->NewDoubleArray(2);
\r
10684 jenv->SetDoubleArrayRegion(toReturn, 0, 2, nativeArray);
\r
10685 jresult=toReturn;
\r
10691 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Adaptor2d_1Curve2d(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10692 Adaptor2d_Curve2d *arg1 = (Adaptor2d_Curve2d *) 0 ;
\r
10696 arg1 = *(Adaptor2d_Curve2d **)&jarg1;
\r
10701 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom2dAdaptor_1Curve_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
10702 jlong jresult = 0 ;
\r
10703 Geom2dAdaptor_Curve *result = 0 ;
\r
10707 result = (Geom2dAdaptor_Curve *)new Geom2dAdaptor_Curve();
\r
10708 *(Geom2dAdaptor_Curve **)&jresult = result;
\r
10713 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom2dAdaptor_1Curve_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10714 jlong jresult = 0 ;
\r
10715 Handle_Geom2d_Curve *arg1 = 0 ;
\r
10716 Geom2dAdaptor_Curve *result = 0 ;
\r
10721 arg1 = *(Handle_Geom2d_Curve **)&jarg1;
\r
10723 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom2d_Curve const & reference is null");
\r
10726 result = (Geom2dAdaptor_Curve *)new Geom2dAdaptor_Curve((Handle_Geom2d_Curve const &)*arg1);
\r
10727 *(Geom2dAdaptor_Curve **)&jresult = result;
\r
10732 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1Geom2dAdaptor_1Curve_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
10733 jlong jresult = 0 ;
\r
10734 Handle_Geom2d_Curve *arg1 = 0 ;
\r
10735 Standard_Real arg2 ;
\r
10736 Standard_Real arg3 ;
\r
10737 Geom2dAdaptor_Curve *result = 0 ;
\r
10742 arg1 = *(Handle_Geom2d_Curve **)&jarg1;
\r
10744 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom2d_Curve const & reference is null");
\r
10747 arg2 = (Standard_Real)jarg2;
\r
10748 arg3 = (Standard_Real)jarg3;
\r
10749 result = (Geom2dAdaptor_Curve *)new Geom2dAdaptor_Curve((Handle_Geom2d_Curve const &)*arg1,arg2,arg3);
\r
10750 *(Geom2dAdaptor_Curve **)&jresult = result;
\r
10755 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom2dAdaptor_1Curve_1load_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
10756 Geom2dAdaptor_Curve *arg1 = (Geom2dAdaptor_Curve *) 0 ;
\r
10757 Handle_Geom2d_Curve *arg2 = 0 ;
\r
10763 arg1 = *(Geom2dAdaptor_Curve **)&jarg1;
\r
10764 arg2 = *(Handle_Geom2d_Curve **)&jarg2;
\r
10766 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom2d_Curve const & reference is null");
\r
10769 (arg1)->Load((Handle_Geom2d_Curve const &)*arg2);
\r
10773 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom2dAdaptor_1Curve_1load_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jdouble jarg4) {
\r
10774 Geom2dAdaptor_Curve *arg1 = (Geom2dAdaptor_Curve *) 0 ;
\r
10775 Handle_Geom2d_Curve *arg2 = 0 ;
\r
10776 Standard_Real arg3 ;
\r
10777 Standard_Real arg4 ;
\r
10783 arg1 = *(Geom2dAdaptor_Curve **)&jarg1;
\r
10784 arg2 = *(Handle_Geom2d_Curve **)&jarg2;
\r
10786 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom2d_Curve const & reference is null");
\r
10789 arg3 = (Standard_Real)jarg3;
\r
10790 arg4 = (Standard_Real)jarg4;
\r
10791 (arg1)->Load((Handle_Geom2d_Curve const &)*arg2,arg3,arg4);
\r
10795 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Geom2dAdaptor_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10796 Geom2dAdaptor_Curve *arg1 = (Geom2dAdaptor_Curve *) 0 ;
\r
10800 arg1 = *(Geom2dAdaptor_Curve **)&jarg1;
\r
10805 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Adaptor3d_1Curve_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
10806 jdoubleArray jresult = 0 ;
\r
10807 Adaptor3d_Curve *arg1 = (Adaptor3d_Curve *) 0 ;
\r
10808 Standard_Real arg2 ;
\r
10809 gp_Pnt *result = 0 ;
\r
10814 arg1 = *(Adaptor3d_Curve **)&jarg1;
\r
10815 arg2 = (Standard_Real)jarg2;
\r
10816 result = (gp_Pnt *) &((Adaptor3d_Curve const *)arg1)->Value(arg2);
\r
10818 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
10824 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Adaptor3d_1Curve_1arrayValues(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdoubleArray jarg3) {
\r
10825 Adaptor3d_Curve *arg1 = (Adaptor3d_Curve *) 0 ;
\r
10833 arg1 = *(Adaptor3d_Curve **)&jarg1;
\r
10834 arg2 = (int)jarg2;
\r
10835 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
10836 Adaptor3d_Curve_arrayValues(arg1,arg2,arg3);
\r
10837 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
10842 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1Adaptor3d_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10843 Adaptor3d_Curve *arg1 = (Adaptor3d_Curve *) 0 ;
\r
10847 arg1 = *(Adaptor3d_Curve **)&jarg1;
\r
10852 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAdaptor_1Curve_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
10853 jlong jresult = 0 ;
\r
10854 GeomAdaptor_Curve *result = 0 ;
\r
10858 result = (GeomAdaptor_Curve *)new GeomAdaptor_Curve();
\r
10859 *(GeomAdaptor_Curve **)&jresult = result;
\r
10864 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAdaptor_1Curve_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10865 jlong jresult = 0 ;
\r
10866 Handle_Geom_Curve *arg1 = 0 ;
\r
10867 GeomAdaptor_Curve *result = 0 ;
\r
10872 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
10874 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Curve const & reference is null");
\r
10877 result = (GeomAdaptor_Curve *)new GeomAdaptor_Curve((Handle_Geom_Curve const &)*arg1);
\r
10878 *(GeomAdaptor_Curve **)&jresult = result;
\r
10883 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAdaptor_1Curve_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jdouble jarg3) {
\r
10884 jlong jresult = 0 ;
\r
10885 Handle_Geom_Curve *arg1 = 0 ;
\r
10886 Standard_Real arg2 ;
\r
10887 Standard_Real arg3 ;
\r
10888 GeomAdaptor_Curve *result = 0 ;
\r
10893 arg1 = *(Handle_Geom_Curve **)&jarg1;
\r
10895 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Curve const & reference is null");
\r
10898 arg2 = (Standard_Real)jarg2;
\r
10899 arg3 = (Standard_Real)jarg3;
\r
10900 result = (GeomAdaptor_Curve *)new GeomAdaptor_Curve((Handle_Geom_Curve const &)*arg1,arg2,arg3);
\r
10901 *(GeomAdaptor_Curve **)&jresult = result;
\r
10906 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAdaptor_1Curve_1load_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
10907 GeomAdaptor_Curve *arg1 = (GeomAdaptor_Curve *) 0 ;
\r
10908 Handle_Geom_Curve *arg2 = 0 ;
\r
10914 arg1 = *(GeomAdaptor_Curve **)&jarg1;
\r
10915 arg2 = *(Handle_Geom_Curve **)&jarg2;
\r
10917 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Curve const & reference is null");
\r
10920 (arg1)->Load((Handle_Geom_Curve const &)*arg2);
\r
10924 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAdaptor_1Curve_1load_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jdouble jarg4) {
\r
10925 GeomAdaptor_Curve *arg1 = (GeomAdaptor_Curve *) 0 ;
\r
10926 Handle_Geom_Curve *arg2 = 0 ;
\r
10927 Standard_Real arg3 ;
\r
10928 Standard_Real arg4 ;
\r
10934 arg1 = *(GeomAdaptor_Curve **)&jarg1;
\r
10935 arg2 = *(Handle_Geom_Curve **)&jarg2;
\r
10937 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Curve const & reference is null");
\r
10940 arg3 = (Standard_Real)jarg3;
\r
10941 arg4 = (Standard_Real)jarg4;
\r
10942 (arg1)->Load((Handle_Geom_Curve const &)*arg2,arg3,arg4);
\r
10946 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GeomAdaptor_1Curve(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10947 GeomAdaptor_Curve *arg1 = (GeomAdaptor_Curve *) 0 ;
\r
10951 arg1 = *(GeomAdaptor_Curve **)&jarg1;
\r
10956 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GProp_1GProps(JNIEnv *jenv, jclass jcls) {
\r
10957 jlong jresult = 0 ;
\r
10958 GProp_GProps *result = 0 ;
\r
10962 result = (GProp_GProps *)new GProp_GProps();
\r
10963 *(GProp_GProps **)&jresult = result;
\r
10968 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GProp_1GProps_1mass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
10969 jdouble jresult = 0 ;
\r
10970 GProp_GProps *arg1 = (GProp_GProps *) 0 ;
\r
10971 Standard_Real result;
\r
10976 arg1 = *(GProp_GProps **)&jarg1;
\r
10977 result = (Standard_Real)((GProp_GProps const *)arg1)->Mass();
\r
10978 jresult = (jdouble)result;
\r
10983 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GProp_1GProps(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
10984 GProp_GProps *arg1 = (GProp_GProps *) 0 ;
\r
10988 arg1 = *(GProp_GProps **)&jarg1;
\r
10993 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1linearProperties(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
10994 TopoDS_Shape *arg1 = 0 ;
\r
10995 GProp_GProps *arg2 = 0 ;
\r
11001 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11003 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11006 arg2 = *(GProp_GProps **)&jarg2;
\r
11008 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11011 BRepGProp::LinearProperties((TopoDS_Shape const &)*arg1,*arg2);
\r
11015 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1volumeProperties_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
\r
11016 TopoDS_Shape *arg1 = 0 ;
\r
11017 GProp_GProps *arg2 = 0 ;
\r
11018 Standard_Boolean arg3 ;
\r
11024 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11026 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11029 arg2 = *(GProp_GProps **)&jarg2;
\r
11031 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11037 BRepGProp::VolumeProperties((TopoDS_Shape const &)*arg1,*arg2,arg3);
\r
11041 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1volumeProperties_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
11042 TopoDS_Shape *arg1 = 0 ;
\r
11043 GProp_GProps *arg2 = 0 ;
\r
11049 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11051 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11054 arg2 = *(GProp_GProps **)&jarg2;
\r
11056 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11059 BRepGProp::VolumeProperties((TopoDS_Shape const &)*arg1,*arg2);
\r
11063 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1volumeProperties_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jboolean jarg4) {
\r
11064 jdouble jresult = 0 ;
\r
11065 TopoDS_Shape *arg1 = 0 ;
\r
11066 GProp_GProps *arg2 = 0 ;
\r
11067 Standard_Real arg3 ;
\r
11068 Standard_Boolean arg4 ;
\r
11069 Standard_Real result;
\r
11075 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11077 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11080 arg2 = *(GProp_GProps **)&jarg2;
\r
11082 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11085 arg3 = (Standard_Real)jarg3;
\r
11089 result = (Standard_Real)BRepGProp::VolumeProperties((TopoDS_Shape const &)*arg1,*arg2,arg3,arg4);
\r
11090 jresult = (jdouble)result;
\r
11095 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1volumeProperties_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3) {
\r
11096 jdouble jresult = 0 ;
\r
11097 TopoDS_Shape *arg1 = 0 ;
\r
11098 GProp_GProps *arg2 = 0 ;
\r
11099 Standard_Real arg3 ;
\r
11100 Standard_Real result;
\r
11106 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11108 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11111 arg2 = *(GProp_GProps **)&jarg2;
\r
11113 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11116 arg3 = (Standard_Real)jarg3;
\r
11117 result = (Standard_Real)BRepGProp::VolumeProperties((TopoDS_Shape const &)*arg1,*arg2,arg3);
\r
11118 jresult = (jdouble)result;
\r
11123 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1surfaceProperties_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
11124 TopoDS_Shape *arg1 = 0 ;
\r
11125 GProp_GProps *arg2 = 0 ;
\r
11131 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11133 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11136 arg2 = *(GProp_GProps **)&jarg2;
\r
11138 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11141 BRepGProp::SurfaceProperties((TopoDS_Shape const &)*arg1,*arg2);
\r
11145 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepGProp_1surfaceProperties_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3) {
\r
11146 jdouble jresult = 0 ;
\r
11147 TopoDS_Shape *arg1 = 0 ;
\r
11148 GProp_GProps *arg2 = 0 ;
\r
11149 Standard_Real arg3 ;
\r
11150 Standard_Real result;
\r
11156 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11158 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11161 arg2 = *(GProp_GProps **)&jarg2;
\r
11163 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GProp_GProps & reference is null");
\r
11166 arg3 = (Standard_Real)jarg3;
\r
11167 result = (Standard_Real)BRepGProp::SurfaceProperties((TopoDS_Shape const &)*arg1,*arg2,arg3);
\r
11168 jresult = (jdouble)result;
\r
11173 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepGProp(JNIEnv *jenv, jclass jcls) {
\r
11174 jlong jresult = 0 ;
\r
11175 BRepGProp *result = 0 ;
\r
11179 result = (BRepGProp *)new BRepGProp();
\r
11180 *(BRepGProp **)&jresult = result;
\r
11185 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepGProp(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11186 BRepGProp *arg1 = (BRepGProp *) 0 ;
\r
11190 arg1 = *(BRepGProp **)&jarg1;
\r
11195 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeAnalysis_1FreeBounds_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2, jboolean jarg3) {
\r
11196 jlong jresult = 0 ;
\r
11197 TopoDS_Shape *arg1 = 0 ;
\r
11198 Standard_Boolean arg2 ;
\r
11199 Standard_Boolean arg3 ;
\r
11200 ShapeAnalysis_FreeBounds *result = 0 ;
\r
11205 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11207 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11216 result = (ShapeAnalysis_FreeBounds *)new ShapeAnalysis_FreeBounds((TopoDS_Shape const &)*arg1,arg2,arg3);
\r
11217 *(ShapeAnalysis_FreeBounds **)&jresult = result;
\r
11222 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeAnalysis_1FreeBounds_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
\r
11223 jlong jresult = 0 ;
\r
11224 TopoDS_Shape *arg1 = 0 ;
\r
11225 Standard_Boolean arg2 ;
\r
11226 ShapeAnalysis_FreeBounds *result = 0 ;
\r
11231 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11233 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11239 result = (ShapeAnalysis_FreeBounds *)new ShapeAnalysis_FreeBounds((TopoDS_Shape const &)*arg1,arg2);
\r
11240 *(ShapeAnalysis_FreeBounds **)&jresult = result;
\r
11245 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1ShapeAnalysis_1FreeBounds_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11246 jlong jresult = 0 ;
\r
11247 TopoDS_Shape *arg1 = 0 ;
\r
11248 ShapeAnalysis_FreeBounds *result = 0 ;
\r
11253 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11255 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11258 result = (ShapeAnalysis_FreeBounds *)new ShapeAnalysis_FreeBounds((TopoDS_Shape const &)*arg1);
\r
11259 *(ShapeAnalysis_FreeBounds **)&jresult = result;
\r
11264 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeAnalysis_1FreeBounds_1getClosedWires(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11265 jlong jresult = 0 ;
\r
11266 ShapeAnalysis_FreeBounds *arg1 = (ShapeAnalysis_FreeBounds *) 0 ;
\r
11267 TopoDS_Compound *result = 0 ;
\r
11272 arg1 = *(ShapeAnalysis_FreeBounds **)&jarg1;
\r
11273 result = (TopoDS_Compound *) &((ShapeAnalysis_FreeBounds const *)arg1)->GetClosedWires();
\r
11275 if(result->IsNull())
\r
11277 jresult=0L; //NULL
\r
11281 TopoDS_Compound * tsp=new TopoDS_Compound();
\r
11282 tsp->TShape(result->TShape());
\r
11283 tsp->Location(result->Location());
\r
11284 tsp->Orientation(result->Orientation());
\r
11285 jresult=(jlong)tsp;
\r
11292 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeAnalysis_1FreeBounds_1getOpenWires(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11293 jlong jresult = 0 ;
\r
11294 ShapeAnalysis_FreeBounds *arg1 = (ShapeAnalysis_FreeBounds *) 0 ;
\r
11295 TopoDS_Compound *result = 0 ;
\r
11300 arg1 = *(ShapeAnalysis_FreeBounds **)&jarg1;
\r
11301 result = (TopoDS_Compound *) &((ShapeAnalysis_FreeBounds const *)arg1)->GetOpenWires();
\r
11303 if(result->IsNull())
\r
11305 jresult=0L; //NULL
\r
11309 TopoDS_Compound * tsp=new TopoDS_Compound();
\r
11310 tsp->TShape(result->TShape());
\r
11311 tsp->Location(result->Location());
\r
11312 tsp->Orientation(result->Orientation());
\r
11313 jresult=(jlong)tsp;
\r
11320 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1ShapeAnalysis_1FreeBounds(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11321 ShapeAnalysis_FreeBounds *arg1 = (ShapeAnalysis_FreeBounds *) 0 ;
\r
11325 arg1 = *(ShapeAnalysis_FreeBounds **)&jarg1;
\r
11330 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GCPnts_1UniformDeflection(JNIEnv *jenv, jclass jcls) {
\r
11331 jlong jresult = 0 ;
\r
11332 GCPnts_UniformDeflection *result = 0 ;
\r
11336 result = (GCPnts_UniformDeflection *)new GCPnts_UniformDeflection();
\r
11337 *(GCPnts_UniformDeflection **)&jresult = result;
\r
11342 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GCPnts_1UniformDeflection_1initialize_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jdouble jarg4, jdouble jarg5, jboolean jarg6) {
\r
11343 GCPnts_UniformDeflection *arg1 = (GCPnts_UniformDeflection *) 0 ;
\r
11344 Adaptor3d_Curve *arg2 = 0 ;
\r
11345 Standard_Real arg3 ;
\r
11346 Standard_Real arg4 ;
\r
11347 Standard_Real arg5 ;
\r
11348 Standard_Boolean arg6 ;
\r
11354 arg1 = *(GCPnts_UniformDeflection **)&jarg1;
\r
11355 arg2 = *(Adaptor3d_Curve **)&jarg2;
\r
11357 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Adaptor3d_Curve & reference is null");
\r
11360 arg3 = (Standard_Real)jarg3;
\r
11361 arg4 = (Standard_Real)jarg4;
\r
11362 arg5 = (Standard_Real)jarg5;
\r
11366 (arg1)->Initialize(*arg2,arg3,arg4,arg5,arg6);
\r
11370 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GCPnts_1UniformDeflection_1initialize_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3, jdouble jarg4, jdouble jarg5) {
\r
11371 GCPnts_UniformDeflection *arg1 = (GCPnts_UniformDeflection *) 0 ;
\r
11372 Adaptor3d_Curve *arg2 = 0 ;
\r
11373 Standard_Real arg3 ;
\r
11374 Standard_Real arg4 ;
\r
11375 Standard_Real arg5 ;
\r
11381 arg1 = *(GCPnts_UniformDeflection **)&jarg1;
\r
11382 arg2 = *(Adaptor3d_Curve **)&jarg2;
\r
11384 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Adaptor3d_Curve & reference is null");
\r
11387 arg3 = (Standard_Real)jarg3;
\r
11388 arg4 = (Standard_Real)jarg4;
\r
11389 arg5 = (Standard_Real)jarg5;
\r
11390 (arg1)->Initialize(*arg2,arg3,arg4,arg5);
\r
11394 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GCPnts_1UniformDeflection_1nbPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11395 jint jresult = 0 ;
\r
11396 GCPnts_UniformDeflection *arg1 = (GCPnts_UniformDeflection *) 0 ;
\r
11397 Standard_Integer result;
\r
11402 arg1 = *(GCPnts_UniformDeflection **)&jarg1;
\r
11403 result = (Standard_Integer)((GCPnts_UniformDeflection const *)arg1)->NbPoints();
\r
11404 jresult = (jint)result;
\r
11409 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GCPnts_1UniformDeflection_1parameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
11410 jdouble jresult = 0 ;
\r
11411 GCPnts_UniformDeflection *arg1 = (GCPnts_UniformDeflection *) 0 ;
\r
11412 Standard_Integer arg2 ;
\r
11413 Standard_Real result;
\r
11418 arg1 = *(GCPnts_UniformDeflection **)&jarg1;
\r
11419 arg2 = (Standard_Integer)jarg2;
\r
11420 result = (Standard_Real)((GCPnts_UniformDeflection const *)arg1)->Parameter(arg2);
\r
11421 jresult = (jdouble)result;
\r
11426 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GCPnts_1UniformDeflection(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11427 GCPnts_UniformDeflection *arg1 = (GCPnts_UniformDeflection *) 0 ;
\r
11431 arg1 = *(GCPnts_UniformDeflection **)&jarg1;
\r
11436 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1DiscretRoot_1setDeflection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
11437 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11438 Standard_Real arg2 ;
\r
11443 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11444 arg2 = (Standard_Real)jarg2;
\r
11445 (arg1)->SetDeflection(arg2);
\r
11449 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1DiscretRoot_1setAngle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
11450 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11451 Standard_Real arg2 ;
\r
11456 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11457 arg2 = (Standard_Real)jarg2;
\r
11458 (arg1)->SetAngle(arg2);
\r
11462 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1DiscretRoot_1deflection(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11463 jdouble jresult = 0 ;
\r
11464 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11465 Standard_Real result;
\r
11470 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11471 result = (Standard_Real)((BRepMesh_DiscretRoot const *)arg1)->Deflection();
\r
11472 jresult = (jdouble)result;
\r
11477 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1DiscretRoot_1angle(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11478 jdouble jresult = 0 ;
\r
11479 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11480 Standard_Real result;
\r
11485 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11486 result = (Standard_Real)((BRepMesh_DiscretRoot const *)arg1)->Angle();
\r
11487 jresult = (jdouble)result;
\r
11492 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1DiscretRoot_1perform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11493 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11498 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11499 (arg1)->Perform();
\r
11503 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepMesh_1DiscretRoot(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11504 BRepMesh_DiscretRoot *arg1 = (BRepMesh_DiscretRoot *) 0 ;
\r
11508 arg1 = *(BRepMesh_DiscretRoot **)&jarg1;
\r
11513 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepMesh_1IncrementalMesh_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
\r
11514 jlong jresult = 0 ;
\r
11515 BRepMesh_IncrementalMesh *result = 0 ;
\r
11519 result = (BRepMesh_IncrementalMesh *)new BRepMesh_IncrementalMesh();
\r
11520 *(BRepMesh_IncrementalMesh **)&jresult = result;
\r
11525 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepMesh_1IncrementalMesh_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jboolean jarg3, jdouble jarg4) {
\r
11526 jlong jresult = 0 ;
\r
11527 TopoDS_Shape *arg1 = 0 ;
\r
11528 Standard_Real arg2 ;
\r
11529 Standard_Boolean arg3 ;
\r
11530 Standard_Real arg4 ;
\r
11531 BRepMesh_IncrementalMesh *result = 0 ;
\r
11536 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11538 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11541 arg2 = (Standard_Real)jarg2;
\r
11545 arg4 = (Standard_Real)jarg4;
\r
11546 result = (BRepMesh_IncrementalMesh *)new BRepMesh_IncrementalMesh((TopoDS_Shape const &)*arg1,arg2,arg3,arg4);
\r
11547 *(BRepMesh_IncrementalMesh **)&jresult = result;
\r
11552 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepMesh_1IncrementalMesh_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jboolean jarg3) {
\r
11553 jlong jresult = 0 ;
\r
11554 TopoDS_Shape *arg1 = 0 ;
\r
11555 Standard_Real arg2 ;
\r
11556 Standard_Boolean arg3 ;
\r
11557 BRepMesh_IncrementalMesh *result = 0 ;
\r
11562 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11564 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11567 arg2 = (Standard_Real)jarg2;
\r
11571 result = (BRepMesh_IncrementalMesh *)new BRepMesh_IncrementalMesh((TopoDS_Shape const &)*arg1,arg2,arg3);
\r
11572 *(BRepMesh_IncrementalMesh **)&jresult = result;
\r
11577 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepMesh_1IncrementalMesh_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
\r
11578 jlong jresult = 0 ;
\r
11579 TopoDS_Shape *arg1 = 0 ;
\r
11580 Standard_Real arg2 ;
\r
11581 BRepMesh_IncrementalMesh *result = 0 ;
\r
11586 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11588 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11591 arg2 = (Standard_Real)jarg2;
\r
11592 result = (BRepMesh_IncrementalMesh *)new BRepMesh_IncrementalMesh((TopoDS_Shape const &)*arg1,arg2);
\r
11593 *(BRepMesh_IncrementalMesh **)&jresult = result;
\r
11598 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1IncrementalMesh_1perform(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11599 BRepMesh_IncrementalMesh *arg1 = (BRepMesh_IncrementalMesh *) 0 ;
\r
11604 arg1 = *(BRepMesh_IncrementalMesh **)&jarg1;
\r
11605 (arg1)->Perform();
\r
11609 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1IncrementalMesh_1update(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
\r
11610 BRepMesh_IncrementalMesh *arg1 = (BRepMesh_IncrementalMesh *) 0 ;
\r
11611 TopoDS_Shape *arg2 = 0 ;
\r
11617 arg1 = *(BRepMesh_IncrementalMesh **)&jarg1;
\r
11618 arg2 = *(TopoDS_Shape **)&jarg2;
\r
11620 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11623 (arg1)->Update((TopoDS_Shape const &)*arg2);
\r
11627 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1IncrementalMesh_1isModified(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11628 jboolean jresult = 0 ;
\r
11629 BRepMesh_IncrementalMesh *arg1 = (BRepMesh_IncrementalMesh *) 0 ;
\r
11630 Standard_Boolean result;
\r
11635 arg1 = *(BRepMesh_IncrementalMesh **)&jarg1;
\r
11636 result = ((BRepMesh_IncrementalMesh const *)arg1)->IsModified();
\r
11637 jresult = (jboolean)result;
\r
11642 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepMesh_1IncrementalMesh(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11643 BRepMesh_IncrementalMesh *arg1 = (BRepMesh_IncrementalMesh *) 0 ;
\r
11647 arg1 = *(BRepMesh_IncrementalMesh **)&jarg1;
\r
11652 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1GeomAPI_1ProjectPointOnSurf(JNIEnv *jenv, jclass jcls, jdoubleArray jarg1, jlong jarg2, jobject jarg2_) {
\r
11653 jlong jresult = 0 ;
\r
11654 gp_Pnt *arg1 = 0 ;
\r
11655 Handle_Geom_Surface *arg2 = 0 ;
\r
11656 GeomAPI_ProjectPointOnSurf *result = 0 ;
\r
11662 if(jenv->GetArrayLength(jarg1)!=3)
\r
11663 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
11664 jdouble * naxe=jenv->GetDoubleArrayElements(jarg1, NULL);
\r
11665 arg1=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
11667 arg2 = *(Handle_Geom_Surface **)&jarg2;
\r
11669 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Surface const & reference is null");
\r
11672 result = (GeomAPI_ProjectPointOnSurf *)new GeomAPI_ProjectPointOnSurf((gp_Pnt const &)*arg1,(Handle_Geom_Surface const &)*arg2);
\r
11673 *(GeomAPI_ProjectPointOnSurf **)&jresult = result;
\r
11681 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1init(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jlong jarg3, jobject jarg3_) {
\r
11682 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11683 gp_Pnt *arg2 = 0 ;
\r
11684 Handle_Geom_Surface *arg3 = 0 ;
\r
11690 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11692 if(jenv->GetArrayLength(jarg2)!=3)
\r
11693 SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3");
\r
11694 jdouble * naxe=jenv->GetDoubleArrayElements(jarg2, NULL);
\r
11695 arg2=new gp_Pnt(naxe[0],naxe[1],naxe[2]);
\r
11697 arg3 = *(Handle_Geom_Surface **)&jarg3;
\r
11699 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Handle_Geom_Surface const & reference is null");
\r
11702 (arg1)->Init((gp_Pnt const &)*arg2,(Handle_Geom_Surface const &)*arg3);
\r
11709 SWIGEXPORT jint JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1nbPoints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11710 jint jresult = 0 ;
\r
11711 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11712 Standard_Integer result;
\r
11717 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11718 result = (Standard_Integer)((GeomAPI_ProjectPointOnSurf const *)arg1)->NbPoints();
\r
11719 jresult = (jint)result;
\r
11724 SWIGEXPORT jdouble JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1lowerDistance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11725 jdouble jresult = 0 ;
\r
11726 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11727 Quantity_Length result;
\r
11732 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11733 result = (Quantity_Length)((GeomAPI_ProjectPointOnSurf const *)arg1)->LowerDistance();
\r
11734 jresult = (jdouble)result;
\r
11739 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1point(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
\r
11740 jdoubleArray jresult = 0 ;
\r
11741 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11742 Standard_Integer arg2 ;
\r
11743 gp_Pnt *result = 0 ;
\r
11748 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11749 arg2 = (Standard_Integer)jarg2;
\r
11750 result = (gp_Pnt *) &((GeomAPI_ProjectPointOnSurf const *)arg1)->Point(arg2);
\r
11752 jresult=XYZtoDoubleArray(jenv, result->XYZ());
\r
11758 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1lowerDistanceParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdoubleArray jarg2, jdoubleArray jarg3) {
\r
11759 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11760 Quantity_Parameter *arg2 = 0 ;
\r
11761 Quantity_Parameter *arg3 = 0 ;
\r
11768 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11769 if (!SWIG_JavaArrayInDouble(jenv, &jarr2, &arg2, jarg2)) return ;
\r
11770 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
11771 ((GeomAPI_ProjectPointOnSurf const *)arg1)->LowerDistanceParameters(*arg2,*arg3);
\r
11772 SWIG_JavaArrayArgoutDouble(jenv, jarr2, arg2, jarg2);
\r
11773 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
11779 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1parameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jdoubleArray jarg3, jdoubleArray jarg4) {
\r
11780 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11781 Standard_Integer arg2 ;
\r
11782 Quantity_Parameter *arg3 = 0 ;
\r
11783 Quantity_Parameter *arg4 = 0 ;
\r
11790 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11791 arg2 = (Standard_Integer)jarg2;
\r
11792 if (!SWIG_JavaArrayInDouble(jenv, &jarr3, &arg3, jarg3)) return ;
\r
11793 if (!SWIG_JavaArrayInDouble(jenv, &jarr4, &arg4, jarg4)) return ;
\r
11794 ((GeomAPI_ProjectPointOnSurf const *)arg1)->Parameters(arg2,*arg3,*arg4);
\r
11795 SWIG_JavaArrayArgoutDouble(jenv, jarr3, arg3, jarg3);
\r
11796 SWIG_JavaArrayArgoutDouble(jenv, jarr4, arg4, jarg4);
\r
11802 SWIGEXPORT jdoubleArray JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAPI_1ProjectPointOnSurf_1nearestPoint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11803 jdoubleArray jresult = 0 ;
\r
11804 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11810 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11811 result = ((GeomAPI_ProjectPointOnSurf const *)arg1)->NearestPoint();
\r
11813 jresult=XYZtoDoubleArray(jenv, (&result)->XYZ());
\r
11819 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1GeomAPI_1ProjectPointOnSurf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11820 GeomAPI_ProjectPointOnSurf *arg1 = (GeomAPI_ProjectPointOnSurf *) 0 ;
\r
11824 arg1 = *(GeomAPI_ProjectPointOnSurf **)&jarg1;
\r
11829 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgo_1isValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11830 jboolean jresult = 0 ;
\r
11831 TopoDS_Shape *arg1 = 0 ;
\r
11832 Standard_Boolean result;
\r
11837 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11839 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11842 result = BRepAlgo::IsValid((TopoDS_Shape const &)*arg1);
\r
11843 jresult = (jboolean)result;
\r
11848 SWIGEXPORT jboolean JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgo_1isTopologicallyValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
\r
11849 jboolean jresult = 0 ;
\r
11850 TopoDS_Shape *arg1 = 0 ;
\r
11851 Standard_Boolean result;
\r
11856 arg1 = *(TopoDS_Shape **)&jarg1;
\r
11858 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "TopoDS_Shape const & reference is null");
\r
11861 result = BRepAlgo::IsTopologicallyValid((TopoDS_Shape const &)*arg1);
\r
11862 jresult = (jboolean)result;
\r
11867 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_new_1BRepAlgo(JNIEnv *jenv, jclass jcls) {
\r
11868 jlong jresult = 0 ;
\r
11869 BRepAlgo *result = 0 ;
\r
11873 result = (BRepAlgo *)new BRepAlgo();
\r
11874 *(BRepAlgo **)&jresult = result;
\r
11879 SWIGEXPORT void JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_delete_1BRepAlgo(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11880 BRepAlgo *arg1 = (BRepAlgo *) 0 ;
\r
11884 arg1 = *(BRepAlgo **)&jarg1;
\r
11889 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Compound_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11890 jlong baseptr = 0;
\r
11893 *(TopoDS_Shape **)&baseptr = *(TopoDS_Compound **)&jarg1;
\r
11897 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1CompSolid_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11898 jlong baseptr = 0;
\r
11901 *(TopoDS_Shape **)&baseptr = *(TopoDS_CompSolid **)&jarg1;
\r
11905 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Solid_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11906 jlong baseptr = 0;
\r
11909 *(TopoDS_Shape **)&baseptr = *(TopoDS_Solid **)&jarg1;
\r
11913 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Shell_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11914 jlong baseptr = 0;
\r
11917 *(TopoDS_Shape **)&baseptr = *(TopoDS_Shell **)&jarg1;
\r
11921 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Face_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11922 jlong baseptr = 0;
\r
11925 *(TopoDS_Shape **)&baseptr = *(TopoDS_Face **)&jarg1;
\r
11929 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Wire_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11930 jlong baseptr = 0;
\r
11933 *(TopoDS_Shape **)&baseptr = *(TopoDS_Wire **)&jarg1;
\r
11937 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Edge_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11938 jlong baseptr = 0;
\r
11941 *(TopoDS_Shape **)&baseptr = *(TopoDS_Edge **)&jarg1;
\r
11945 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_TopoDS_1Vertex_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11946 jlong baseptr = 0;
\r
11949 *(TopoDS_Shape **)&baseptr = *(TopoDS_Vertex **)&jarg1;
\r
11953 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRep_1Builder_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11954 jlong baseptr = 0;
\r
11957 *(TopoDS_Builder **)&baseptr = *(BRep_Builder **)&jarg1;
\r
11961 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1ModifyShape_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11962 jlong baseptr = 0;
\r
11965 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_ModifyShape **)&jarg1;
\r
11969 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1Transform_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11970 jlong baseptr = 0;
\r
11973 *(BRepBuilderAPI_ModifyShape **)&baseptr = *(BRepBuilderAPI_Transform **)&jarg1;
\r
11977 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeVertex_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11978 jlong baseptr = 0;
\r
11981 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_MakeVertex **)&jarg1;
\r
11985 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeWire_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11986 jlong baseptr = 0;
\r
11989 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_MakeWire **)&jarg1;
\r
11993 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeEdge_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
11994 jlong baseptr = 0;
\r
11997 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_MakeEdge **)&jarg1;
\r
12001 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeFace_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12002 jlong baseptr = 0;
\r
12005 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_MakeFace **)&jarg1;
\r
12009 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1MakeSolid_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12010 jlong baseptr = 0;
\r
12013 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepBuilderAPI_MakeSolid **)&jarg1;
\r
12017 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepBuilderAPI_1NurbsConvert_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12018 jlong baseptr = 0;
\r
12021 *(BRepBuilderAPI_ModifyShape **)&baseptr = *(BRepBuilderAPI_NurbsConvert **)&jarg1;
\r
12025 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1NormalProjection_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12026 jlong baseptr = 0;
\r
12029 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepOffsetAPI_NormalProjection **)&jarg1;
\r
12033 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeBox_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12034 jlong baseptr = 0;
\r
12037 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeBox **)&jarg1;
\r
12041 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeCone_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12042 jlong baseptr = 0;
\r
12045 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeCone **)&jarg1;
\r
12049 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeCylinder_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12050 jlong baseptr = 0;
\r
12053 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeCylinder **)&jarg1;
\r
12057 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeTorus_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12058 jlong baseptr = 0;
\r
12061 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeTorus **)&jarg1;
\r
12065 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeSphere_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12066 jlong baseptr = 0;
\r
12069 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeSphere **)&jarg1;
\r
12073 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeSweep_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12074 jlong baseptr = 0;
\r
12077 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepPrimAPI_MakeSweep **)&jarg1;
\r
12081 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakePrism_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12082 jlong baseptr = 0;
\r
12085 *(BRepPrimAPI_MakeSweep **)&baseptr = *(BRepPrimAPI_MakePrism **)&jarg1;
\r
12089 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepPrimAPI_1MakeRevol_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12090 jlong baseptr = 0;
\r
12093 *(BRepPrimAPI_MakeSweep **)&baseptr = *(BRepPrimAPI_MakeRevol **)&jarg1;
\r
12097 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepOffsetAPI_1MakePipe_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12098 jlong baseptr = 0;
\r
12101 *(BRepPrimAPI_MakeSweep **)&baseptr = *(BRepOffsetAPI_MakePipe **)&jarg1;
\r
12105 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1BooleanOperation_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12106 jlong baseptr = 0;
\r
12109 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepAlgoAPI_BooleanOperation **)&jarg1;
\r
12113 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1Fuse_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12114 jlong baseptr = 0;
\r
12117 *(BRepAlgoAPI_BooleanOperation **)&baseptr = *(BRepAlgoAPI_Fuse **)&jarg1;
\r
12121 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1Common_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12122 jlong baseptr = 0;
\r
12125 *(BRepAlgoAPI_BooleanOperation **)&baseptr = *(BRepAlgoAPI_Common **)&jarg1;
\r
12129 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1Cut_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12130 jlong baseptr = 0;
\r
12133 *(BRepAlgoAPI_BooleanOperation **)&baseptr = *(BRepAlgoAPI_Cut **)&jarg1;
\r
12137 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepAlgoAPI_1Section_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12138 jlong baseptr = 0;
\r
12141 *(BRepAlgoAPI_BooleanOperation **)&baseptr = *(BRepAlgoAPI_Section **)&jarg1;
\r
12145 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Curve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12146 jlong baseptr = 0;
\r
12149 *(Handle_Geom_Geometry **)&baseptr = *(Handle_Geom_Curve **)&jarg1;
\r
12153 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1Surface_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12154 jlong baseptr = 0;
\r
12157 *(Handle_Geom_Geometry **)&baseptr = *(Handle_Geom_Surface **)&jarg1;
\r
12161 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom2d_1Curve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12162 jlong baseptr = 0;
\r
12165 *(Handle_Geom2d_Geometry **)&baseptr = *(Handle_Geom2d_Curve **)&jarg1;
\r
12169 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BoundedCurve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12170 jlong baseptr = 0;
\r
12173 *(Handle_Geom_Curve **)&baseptr = *(Handle_Geom_BoundedCurve **)&jarg1;
\r
12177 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1BSplineCurve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12178 jlong baseptr = 0;
\r
12181 *(Handle_Geom_BoundedCurve **)&baseptr = *(Handle_Geom_BSplineCurve **)&jarg1;
\r
12185 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom_1TrimmedCurve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12186 jlong baseptr = 0;
\r
12189 *(Handle_Geom_BoundedCurve **)&baseptr = *(Handle_Geom_TrimmedCurve **)&jarg1;
\r
12193 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepFilletAPI_1LocalOperation_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12194 jlong baseptr = 0;
\r
12197 *(BRepBuilderAPI_MakeShape **)&baseptr = *(BRepFilletAPI_LocalOperation **)&jarg1;
\r
12201 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepFilletAPI_1MakeFillet_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12202 jlong baseptr = 0;
\r
12205 *(BRepFilletAPI_LocalOperation **)&baseptr = *(BRepFilletAPI_MakeFillet **)&jarg1;
\r
12209 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepFilletAPI_1MakeChamfer_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12210 jlong baseptr = 0;
\r
12213 *(BRepFilletAPI_LocalOperation **)&baseptr = *(BRepFilletAPI_MakeChamfer **)&jarg1;
\r
12217 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_STEPControl_1Reader_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12218 jlong baseptr = 0;
\r
12221 *(XSControl_Reader **)&baseptr = *(STEPControl_Reader **)&jarg1;
\r
12225 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_IGESControl_1Reader_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12226 jlong baseptr = 0;
\r
12229 *(XSControl_Reader **)&baseptr = *(IGESControl_Reader **)&jarg1;
\r
12233 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeFix_1Wireframe_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12234 jlong baseptr = 0;
\r
12237 *(ShapeFix_Root **)&baseptr = *(ShapeFix_Wireframe **)&jarg1;
\r
12241 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1RemoveInternalWires_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12242 jlong baseptr = 0;
\r
12245 *(ShapeUpgrade_Tool **)&baseptr = *(ShapeUpgrade_RemoveInternalWires **)&jarg1;
\r
12249 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_ShapeUpgrade_1ShapeDivideArea_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12250 jlong baseptr = 0;
\r
12253 *(ShapeUpgrade_ShapeDivide **)&baseptr = *(ShapeUpgrade_ShapeDivideArea **)&jarg1;
\r
12257 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_Geom2dAdaptor_1Curve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12258 jlong baseptr = 0;
\r
12261 *(Adaptor2d_Curve2d **)&baseptr = *(Geom2dAdaptor_Curve **)&jarg1;
\r
12265 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_GeomAdaptor_1Curve_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12266 jlong baseptr = 0;
\r
12269 *(Adaptor3d_Curve **)&baseptr = *(GeomAdaptor_Curve **)&jarg1;
\r
12273 SWIGEXPORT jlong JNICALL Java_org_jcae_opencascade_jni_OccJavaJNI_BRepMesh_1IncrementalMesh_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
\r
12274 jlong baseptr = 0;
\r
12277 *(BRepMesh_DiscretRoot **)&baseptr = *(BRepMesh_IncrementalMesh **)&jarg1;
\r
12281 #ifdef __cplusplus
\r