]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Root.java
Avoid extra write transactions when opening Plant3D editor
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / ShapeFix_Root.java
index 8f9977567adf0bc6b13132165155e609ab66b2e1..1ac99692affdd42b45eec839d5f5fadb8edb4186 100644 (file)
@@ -1,55 +1,55 @@
-/* ----------------------------------------------------------------------------\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 ShapeFix_Root {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public ShapeFix_Root(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(ShapeFix_Root 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_ShapeFix_Root(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-  public void setPrecision(double preci) {\r
-    OccJavaJNI.ShapeFix_Root_setPrecision(swigCPtr, this, preci);\r
-  }\r
-\r
-  public double getPrecision() {\r
-    return OccJavaJNI.ShapeFix_Root_getPrecision(swigCPtr, this);\r
-  }\r
-\r
-  public void setContext(ShapeBuild_ReShape context) {\r
-    OccJavaJNI.ShapeFix_Root_setContext(swigCPtr, this, ShapeBuild_ReShape.getCPtr(context), context);\r
-  }\r
-\r
-  public ShapeBuild_ReShape getContext() {\r
-    long cPtr = OccJavaJNI.ShapeFix_Root_getContext(swigCPtr, this);\r
-    return (cPtr == 0) ? null : new ShapeBuild_ReShape(cPtr, false);\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 ShapeFix_Root {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected ShapeFix_Root(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(ShapeFix_Root obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_ShapeFix_Root(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+  public void setPrecision(double preci) {
+    OccJavaJNI.ShapeFix_Root_setPrecision(swigCPtr, this, preci);
+  }
+
+  public double getPrecision() {
+    return OccJavaJNI.ShapeFix_Root_getPrecision(swigCPtr, this);
+  }
+
+  public void setContext(ShapeBuild_ReShape context) {
+    OccJavaJNI.ShapeFix_Root_setContext(swigCPtr, this, ShapeBuild_ReShape.getCPtr(context), context);
+  }
+
+  public ShapeBuild_ReShape getContext() {
+    long cPtr = OccJavaJNI.ShapeFix_Root_getContext(swigCPtr, this);
+    return (cPtr == 0) ? null : new ShapeBuild_ReShape(cPtr, false);
+  }
+
+}