]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeBuild_ReShape.java
Updated OpenCASCADE to 7.3.0
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / ShapeBuild_ReShape.java
index a3754c68fc5db8c1d24f5ae42836660cc223499d..6eb9c674c2f4b557331bb2703dd0ae0a8624bb0e 100644 (file)
@@ -1,60 +1,56 @@
-/* ----------------------------------------------------------------------------\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 ShapeBuild_ReShape {\r
-  private long swigCPtr;\r
-  protected boolean swigCMemOwn;\r
-\r
-  public ShapeBuild_ReShape(long cPtr, boolean cMemoryOwn) {\r
-    swigCMemOwn = cMemoryOwn;\r
-    swigCPtr = cPtr;\r
-  }\r
-\r
-  public static long getCPtr(ShapeBuild_ReShape 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_ShapeBuild_ReShape(swigCPtr);\r
-      }\r
-      swigCPtr = 0;\r
-    }\r
-  }\r
-\r
-  public ShapeBuild_ReShape() {\r
-    this(OccJavaJNI.new_ShapeBuild_ReShape(), true);\r
-  }\r
-\r
-  public void replace(TopoDS_Shape shape, TopoDS_Shape newshape, boolean oriented) {\r
-    OccJavaJNI.ShapeBuild_ReShape_replace__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape, oriented);\r
-  }\r
-\r
-  public void replace(TopoDS_Shape shape, TopoDS_Shape newshape) {\r
-    OccJavaJNI.ShapeBuild_ReShape_replace__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape);\r
-  }\r
-\r
-  public TopoDS_Shape apply(TopoDS_Shape shape, TopAbs_ShapeEnum until) {\r
-    long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, until.swigValue());\r
-    return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
-  public TopoDS_Shape apply(TopoDS_Shape shape) {\r
-    long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
-    return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\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 ShapeBuild_ReShape {
+  private transient long swigCPtr;
+  protected transient boolean swigCMemOwn;
+
+  protected ShapeBuild_ReShape(long cPtr, boolean cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = cPtr;
+  }
+
+  protected static long getCPtr(ShapeBuild_ReShape obj) {
+    return (obj == null) ? 0 : obj.swigCPtr;
+  }
+
+  protected void finalize() {
+    delete();
+  }
+
+  public synchronized void delete() {
+    if (swigCPtr != 0) {
+      if (swigCMemOwn) {
+        swigCMemOwn = false;
+        OccJavaJNI.delete_ShapeBuild_ReShape(swigCPtr);
+      }
+      swigCPtr = 0;
+    }
+  }
+
+  public ShapeBuild_ReShape() {
+    this(OccJavaJNI.new_ShapeBuild_ReShape(), true);
+  }
+
+  public void replace(TopoDS_Shape shape, TopoDS_Shape newshape) {
+    OccJavaJNI.ShapeBuild_ReShape_replace(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape);
+  }
+
+  public TopoDS_Shape apply(TopoDS_Shape shape, TopAbs_ShapeEnum until) {
+    long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, until.swigValue());
+    return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+  public TopoDS_Shape apply(TopoDS_Shape shape) {
+    long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+    return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+}