-/* ----------------------------------------------------------------------------\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_RemoveInternalWires extends ShapeUpgrade_Tool {\r
- private long swigCPtr;\r
-\r
- public ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(ShapeUpgrade_RemoveInternalWires 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_RemoveInternalWires(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) {\r
- this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true);\r
- }\r
-\r
- public boolean perform() {\r
- return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this);\r
-}\r
-\r
- public TopoDS_Shape getResult() {\r
- long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public void setMinArea(double d) {\r
- OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d);\r
- }\r
-\r
- public double getMinArea() {\r
- return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this);\r
- }\r
-\r
- public void setRemoveFaceMode(boolean b) {\r
- OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b);\r
- }\r
-\r
- public boolean getRemoveFaceMode() {\r
- return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this);\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_RemoveInternalWires extends ShapeUpgrade_Tool {
+ private transient long swigCPtr;
+
+ protected ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(ShapeUpgrade_RemoveInternalWires 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_RemoveInternalWires(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) {
+ this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true);
+ }
+
+ public boolean perform() {
+ return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this);
+}
+
+ public TopoDS_Shape getResult() {
+ long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public void setMinArea(double d) {
+ OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d);
+ }
+
+ public double getMinArea() {
+ return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this);
+ }
+
+ public void setRemoveFaceMode(boolean b) {
+ OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b);
+ }
+
+ public boolean getRemoveFaceMode() {
+ return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this);
+}
+
+}