]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeSegment.java
Remove dependencies on log4j
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / GC_MakeSegment.java
index e9138ed258af3834c58c617e4f8626c82e021dfa..87a44af3884396ca09cf27c26e7f17ca295f3caa 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 GC_MakeSegment extends GC_Root {\r
-  private long swigCPtr;\r
-\r
-  public GC_MakeSegment(long cPtr, boolean cMemoryOwn) {\r
-    super(OccJavaJNI.GC_MakeSegment_SWIGUpcast(cPtr), cMemoryOwn);\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(GC_MakeSegment 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_GC_MakeSegment(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-    super.delete();\r
-  }\r
-\r
-  public GC_MakeSegment(double[] P1, double[] P2) {\r
-    this(OccJavaJNI.new_GC_MakeSegment__SWIG_0(P1, P2), true);\r
-  }\r
-\r
-  public GC_MakeSegment(GP_Lin Line, double U1, double U2) {\r
-    this(OccJavaJNI.new_GC_MakeSegment__SWIG_1(GP_Lin.getCPtr(Line), Line, U1, U2), true);\r
-  }\r
-\r
-  public GC_MakeSegment(GP_Lin Line, double[] Point, double Ulast) {\r
-    this(OccJavaJNI.new_GC_MakeSegment__SWIG_2(GP_Lin.getCPtr(Line), Line, Point, Ulast), true);\r
-  }\r
-\r
-  public GC_MakeSegment(GP_Lin Line, double[] P1, double[] P2) {\r
-    this(OccJavaJNI.new_GC_MakeSegment__SWIG_3(GP_Lin.getCPtr(Line), Line, P1, P2), true);\r
-  }\r
-\r
-  public Geom_TrimmedCurve value() {\r
-    return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeSegment_value(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 GC_MakeSegment extends GC_Root {
+  private transient long swigCPtr;
+
+  protected GC_MakeSegment(long cPtr, boolean cMemoryOwn) {
+    super(OccJavaJNI.GC_MakeSegment_SWIGUpcast(cPtr), cMemoryOwn);
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(GC_MakeSegment obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_GC_MakeSegment(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+    super.delete();
+  }
+
+  public GC_MakeSegment(double[] P1, double[] P2) {
+    this(OccJavaJNI.new_GC_MakeSegment__SWIG_0(P1, P2), true);
+  }
+
+  public GC_MakeSegment(GP_Lin Line, double U1, double U2) {
+    this(OccJavaJNI.new_GC_MakeSegment__SWIG_1(GP_Lin.getCPtr(Line), Line, U1, U2), true);
+  }
+
+  public GC_MakeSegment(GP_Lin Line, double[] Point, double Ulast) {
+    this(OccJavaJNI.new_GC_MakeSegment__SWIG_2(GP_Lin.getCPtr(Line), Line, Point, Ulast), true);
+  }
+
+  public GC_MakeSegment(GP_Lin Line, double[] P1, double[] P2) {
+    this(OccJavaJNI.new_GC_MakeSegment__SWIG_3(GP_Lin.getCPtr(Line), Line, P1, P2), true);
+  }
+
+  public Geom_TrimmedCurve value() {
+    return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeSegment_value(swigCPtr, this), false);
+  }
+
+}