-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.4\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-package org.jcae.opencascade.jni;\r
-\r
-public class TopoDS_Iterator {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public TopoDS_Iterator(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(TopoDS_Iterator obj) {\r
- return (obj == null) ? 0 : obj.swigCPtr;\r
- }\r
-\r
- protected void finalize() {\r
- delete();\r
- }\r
-\r
- public synchronized void delete() {\r
- if (swigCPtr != 0) {\r
- if (swigCMemOwn) {\r
- swigCMemOwn = false;\r
- OccJavaJNI.delete_TopoDS_Iterator(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public TopoDS_Iterator() {\r
- this(OccJavaJNI.new_TopoDS_Iterator__SWIG_0(), true);\r
- }\r
-\r
- public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {\r
- this(OccJavaJNI.new_TopoDS_Iterator__SWIG_1(TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc), true);\r
- }\r
-\r
- public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri) {\r
- this(OccJavaJNI.new_TopoDS_Iterator__SWIG_2(TopoDS_Shape.getCPtr(S), S, cumOri), true);\r
- }\r
-\r
- public TopoDS_Iterator(TopoDS_Shape S) {\r
- this(OccJavaJNI.new_TopoDS_Iterator__SWIG_3(TopoDS_Shape.getCPtr(S), S), true);\r
- }\r
-\r
- public void initialize(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {\r
- OccJavaJNI.TopoDS_Iterator_initialize__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc);\r
- }\r
-\r
- public void initialize(TopoDS_Shape S, boolean cumOri) {\r
- OccJavaJNI.TopoDS_Iterator_initialize__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri);\r
- }\r
-\r
- public void initialize(TopoDS_Shape S) {\r
- OccJavaJNI.TopoDS_Iterator_initialize__SWIG_2(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\r
- }\r
-\r
- public boolean more() {\r
- return OccJavaJNI.TopoDS_Iterator_more(swigCPtr, this);\r
-}\r
-\r
- public void next() {\r
- OccJavaJNI.TopoDS_Iterator_next(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Shape value() {\r
- long cPtr = OccJavaJNI.TopoDS_Iterator_value(swigCPtr, this);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
-}\r
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 3.0.12
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+package org.jcae.opencascade.jni;
+
+public class TopoDS_Iterator {
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected TopoDS_Iterator(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(TopoDS_Iterator obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_TopoDS_Iterator(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public TopoDS_Iterator() {
+ this(OccJavaJNI.new_TopoDS_Iterator__SWIG_0(), true);
+ }
+
+ public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {
+ this(OccJavaJNI.new_TopoDS_Iterator__SWIG_1(TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc), true);
+ }
+
+ public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri) {
+ this(OccJavaJNI.new_TopoDS_Iterator__SWIG_2(TopoDS_Shape.getCPtr(S), S, cumOri), true);
+ }
+
+ public TopoDS_Iterator(TopoDS_Shape S) {
+ this(OccJavaJNI.new_TopoDS_Iterator__SWIG_3(TopoDS_Shape.getCPtr(S), S), true);
+ }
+
+ public void initialize(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {
+ OccJavaJNI.TopoDS_Iterator_initialize__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc);
+ }
+
+ public void initialize(TopoDS_Shape S, boolean cumOri) {
+ OccJavaJNI.TopoDS_Iterator_initialize__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri);
+ }
+
+ public void initialize(TopoDS_Shape S) {
+ OccJavaJNI.TopoDS_Iterator_initialize__SWIG_2(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);
+ }
+
+ public boolean more() {
+ return OccJavaJNI.TopoDS_Iterator_more(swigCPtr, this);
+}
+
+ public void next() {
+ OccJavaJNI.TopoDS_Iterator_next(swigCPtr, this);
+ }
+
+ public TopoDS_Shape value() {
+ long cPtr = OccJavaJNI.TopoDS_Iterator_value(swigCPtr, this);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+}