-/* ----------------------------------------------------------------------------\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 ShapeUpgrade_ShapeDivide {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public ShapeUpgrade_ShapeDivide(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(ShapeUpgrade_ShapeDivide 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_ShapeUpgrade_ShapeDivide(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public TopoDS_Shape getResult() {\r
- long cPtr = OccJavaJNI.ShapeUpgrade_ShapeDivide_getResult(swigCPtr, this);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public boolean perform(boolean newContext) {\r
- return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_0(swigCPtr, this, newContext);\r
-}\r
-\r
- public boolean perform() {\r
- return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_1(swigCPtr, this);\r
-}\r
-\r
- public ShapeUpgrade_ShapeDivide() {\r
- this(OccJavaJNI.new_ShapeUpgrade_ShapeDivide(), 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 ShapeUpgrade_ShapeDivide {
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected ShapeUpgrade_ShapeDivide(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(ShapeUpgrade_ShapeDivide obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_ShapeUpgrade_ShapeDivide(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public TopoDS_Shape getResult() {
+ long cPtr = OccJavaJNI.ShapeUpgrade_ShapeDivide_getResult(swigCPtr, this);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public boolean perform(boolean newContext) {
+ return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_0(swigCPtr, this, newContext);
+}
+
+ public boolean perform() {
+ return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_1(swigCPtr, this);
+}
+
+ public ShapeUpgrade_ShapeDivide() {
+ this(OccJavaJNI.new_ShapeUpgrade_ShapeDivide(), true);
+ }
+
+}