]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp_Explorer.java
Updated OpenCASCADE to 7.3.0
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / TopExp_Explorer.java
index 7df24f8c294362d81ab22bd2f92ce0ac3072ccf2..8a6be5182f1d4d95ae24f7d81b6c0d81c459ae98 100644 (file)
@@ -1,71 +1,71 @@
-/* ----------------------------------------------------------------------------\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 TopExp_Explorer {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public TopExp_Explorer(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(TopExp_Explorer 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_TopExp_Explorer(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-  public TopExp_Explorer() {\r
-    this(OccJavaJNI.new_TopExp_Explorer__SWIG_0(), true);\r
-  }\r
-\r
-  public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) {\r
-    this(OccJavaJNI.new_TopExp_Explorer__SWIG_1(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()), true);\r
-  }\r
-\r
-  public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) {\r
-    this(OccJavaJNI.new_TopExp_Explorer__SWIG_2(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()), true);\r
-  }\r
-\r
-  public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) {\r
-    OccJavaJNI.TopExp_Explorer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue());\r
-  }\r
-\r
-  public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) {\r
-    OccJavaJNI.TopExp_Explorer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue());\r
-  }\r
-\r
-  public boolean more() {\r
-       return OccJavaJNI.TopExp_Explorer_more(swigCPtr, this);\r
-}\r
-\r
-  public void next() {\r
-    OccJavaJNI.TopExp_Explorer_next(swigCPtr, this);\r
-  }\r
-\r
-  public TopoDS_Shape current() {\r
-    long cPtr = OccJavaJNI.TopExp_Explorer_current(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 TopExp_Explorer {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected TopExp_Explorer(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(TopExp_Explorer obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_TopExp_Explorer(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+  public TopExp_Explorer() {
+    this(OccJavaJNI.new_TopExp_Explorer__SWIG_0(), true);
+  }
+
+  public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) {
+    this(OccJavaJNI.new_TopExp_Explorer__SWIG_1(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()), true);
+  }
+
+  public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) {
+    this(OccJavaJNI.new_TopExp_Explorer__SWIG_2(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()), true);
+  }
+
+  public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) {
+    OccJavaJNI.TopExp_Explorer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue());
+  }
+
+  public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) {
+    OccJavaJNI.TopExp_Explorer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue());
+  }
+
+  public boolean more() {
+       return OccJavaJNI.TopExp_Explorer_more(swigCPtr, this);
+}
+
+  public void next() {
+    OccJavaJNI.TopExp_Explorer_next(swigCPtr, this);
+  }
+
+  public TopoDS_Shape current() {
+    long cPtr = OccJavaJNI.TopExp_Explorer_current(swigCPtr, this);
+    return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+}