]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java
Avoid extra write transactions when opening Plant3D editor
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / GeomAPI_Interpolate.java
index 95a5d81c749cd7282536f4f7dfb0221a5d1c6042..f90e8486c49ad49f8cb3fe28a8ed61a42a4a8f33 100644 (file)
@@ -1,58 +1,58 @@
-/* ----------------------------------------------------------------------------\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 GeomAPI_Interpolate {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(GeomAPI_Interpolate 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_GeomAPI_Interpolate(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-  public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) {\r
-    this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true);\r
-  }\r
-\r
-  public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) {\r
-    OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale);\r
-  }\r
-\r
-  public void Load(double[] Tangents, boolean[] TangentFlags) {\r
-    OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags);\r
-  }\r
-\r
-  public void Perform() {\r
-    OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this);\r
-  }\r
-\r
-  public Geom_BSplineCurve Curve() {\r
-    return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), 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 GeomAPI_Interpolate {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(GeomAPI_Interpolate obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+  public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) {
+    this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true);
+  }
+
+  public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) {
+    OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale);
+  }
+
+  public void Load(double[] Tangents, boolean[] TangentFlags) {
+    OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags);
+  }
+
+  public void Perform() {
+    OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this);
+  }
+
+  public Geom_BSplineCurve Curve() {
+    return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false);
+  }
+
+}