]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2dAdaptor_Curve.java
Updated OpenCASCADE to 7.3.0
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / Geom2dAdaptor_Curve.java
index 11dfa318b2beda94eb6d27625cf8329cf0c5a79c..f3cb3cb85b1fc1c30f223f9130534c1ff60cc6fa 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 Geom2dAdaptor_Curve extends Adaptor2d_Curve2d {\r
-  private long swigCPtr;\r
-\r
-  public Geom2dAdaptor_Curve(long cPtr, boolean cMemoryOwn) {\r
-    super(OccJavaJNI.Geom2dAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn);\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(Geom2dAdaptor_Curve 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_Geom2dAdaptor_Curve(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-    super.delete();\r
-  }\r
-\r
-  public Geom2dAdaptor_Curve() {\r
-    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_0(), true);\r
-  }\r
-\r
-  public Geom2dAdaptor_Curve(Geom2d_Curve C) {\r
-    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_1(Geom2d_Curve.getCPtr(C), C), true);\r
-  }\r
-\r
-  public Geom2dAdaptor_Curve(Geom2d_Curve C, double UFirst, double ULast) {\r
-    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_2(Geom2d_Curve.getCPtr(C), C, UFirst, ULast), true);\r
-  }\r
-\r
-  public void load(Geom2d_Curve C) {\r
-    OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom2d_Curve.getCPtr(C), C);\r
-  }\r
-\r
-  public void load(Geom2d_Curve C, double UFirst, double ULast) {\r
-    OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom2d_Curve.getCPtr(C), C, UFirst, ULast);\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 Geom2dAdaptor_Curve extends Adaptor2d_Curve2d {
+  private transient long swigCPtr;
+
+  protected Geom2dAdaptor_Curve(long cPtr, boolean cMemoryOwn) {
+    super(OccJavaJNI.Geom2dAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn);
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(Geom2dAdaptor_Curve obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_Geom2dAdaptor_Curve(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+    super.delete();
+  }
+
+  public Geom2dAdaptor_Curve() {
+    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_0(), true);
+  }
+
+  public Geom2dAdaptor_Curve(Geom2d_Curve C) {
+    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_1(Geom2d_Curve.getCPtr(C), C), true);
+  }
+
+  public Geom2dAdaptor_Curve(Geom2d_Curve C, double UFirst, double ULast) {
+    this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_2(Geom2d_Curve.getCPtr(C), C, UFirst, ULast), true);
+  }
+
+  public void load(Geom2d_Curve C) {
+    OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom2d_Curve.getCPtr(C), C);
+  }
+
+  public void load(Geom2d_Curve C, double UFirst, double ULast) {
+    OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom2d_Curve.getCPtr(C), C, UFirst, ULast);
+  }
+
+}