]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Bnd_Box.java
Updated OpenCASCADE to 7.3.0
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / Bnd_Box.java
index b7ae7656e06d8d92c97ad4a20f6c7ab58a132190..e8235f4ecf74da75f60a629cc6f1acd78e1b4661 100644 (file)
@@ -1,60 +1,60 @@
-/* ----------------------------------------------------------------------------\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 Bnd_Box {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public Bnd_Box(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(Bnd_Box 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_Bnd_Box(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-    /**\r
-     * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax }\r
-     */ \r
-       public double[] get()\r
-       {\r
-               double[] toReturn=new double[6];\r
-               get(toReturn);\r
-               return toReturn;\r
-       }\r
-\r
-  public Bnd_Box() {\r
-    this(OccJavaJNI.new_Bnd_Box(), true);\r
-  }\r
-\r
-  public boolean isVoid() {\r
-       return OccJavaJNI.Bnd_Box_isVoid(swigCPtr, this);\r
-}\r
-\r
-  public void get(double[] box) {\r
-    OccJavaJNI.Bnd_Box_get(swigCPtr, this, box);\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 Bnd_Box {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected Bnd_Box(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(Bnd_Box obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_Bnd_Box(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+    /**
+     * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax }
+     */ 
+       public double[] get()
+       {
+               double[] toReturn=new double[6];
+               get(toReturn);
+               return toReturn;
+       }
+
+  public Bnd_Box() {
+    this(OccJavaJNI.new_Bnd_Box(), true);
+  }
+
+  public boolean isVoid() {
+       return OccJavaJNI.Bnd_Box_isVoid(swigCPtr, this);
+}
+
+  public void get(double[] box) {
+    OccJavaJNI.Bnd_Box_get(swigCPtr, this, box);
+  }
+
+}