]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp.java
Updated OpenCASCADE to 7.3.0
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / TopExp.java
index d7e75711fd6750fb075fad7be92d7013e13cbf7d..5301827188200bd890a85570ba74ec7414c74831 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 TopExp {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public TopExp(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(TopExp 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_TopExp(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-       public static TopoDS_Vertex[] vertices(TopoDS_Edge edge)\r
-       {\r
-               TopoDS_Vertex first=new TopoDS_Vertex();\r
-               TopoDS_Vertex second=new TopoDS_Vertex();\r
-               vertices(edge, first, second);\r
-               return new TopoDS_Vertex[]{first, second};\r
-       }\r
-\r
-  public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast, boolean CumOri) {\r
-    OccJavaJNI.TopExp_vertices__SWIG_0(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast, CumOri);\r
-  }\r
-\r
-  public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast) {\r
-    OccJavaJNI.TopExp_vertices__SWIG_1(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast);\r
-  }\r
-\r
-  public TopExp() {\r
-    this(OccJavaJNI.new_TopExp(), true);\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 TopExp {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected TopExp(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(TopExp obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_TopExp(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+       public static TopoDS_Vertex[] vertices(TopoDS_Edge edge)
+       {
+               TopoDS_Vertex first=new TopoDS_Vertex();
+               TopoDS_Vertex second=new TopoDS_Vertex();
+               vertices(edge, first, second);
+               return new TopoDS_Vertex[]{first, second};
+       }
+
+  public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast, boolean CumOri) {
+    OccJavaJNI.TopExp_vertices__SWIG_0(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast, CumOri);
+  }
+
+  public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast) {
+    OccJavaJNI.TopExp_vertices__SWIG_1(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast);
+  }
+
+  public TopExp() {
+    this(OccJavaJNI.new_TopExp(), true);
+  }
+
+}