-/* ----------------------------------------------------------------------------\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 BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape {\r
- private long swigCPtr;\r
-\r
- public BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepAlgoAPI_BooleanOperation 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_BRepAlgoAPI_BooleanOperation(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public TopoDS_Shape[] modified(TopoDS_Shape aS) {\r
- return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS));\r
-}\r
-\r
- public boolean isDeleted(TopoDS_Shape aS) {\r
- return OccJavaJNI.BRepAlgoAPI_BooleanOperation_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS);\r
-}\r
-\r
- public TopoDS_Shape[] modified2(TopoDS_Shape aS) {\r
- return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified2(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS));\r
-}\r
-\r
- public TopoDS_Shape[] generated(TopoDS_Shape S) {\r
- return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S));\r
-}\r
-\r
- public boolean hasModified() {\r
- return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasModified(swigCPtr, this);\r
-}\r
-\r
- public boolean hasGenerated() {\r
- return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasGenerated(swigCPtr, this);\r
-}\r
-\r
- public boolean hasDeleted() {\r
- return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasDeleted(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 BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape {
+ private transient long swigCPtr;
+
+ protected BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepAlgoAPI_BooleanOperation obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_BRepAlgoAPI_BooleanOperation(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public TopoDS_Shape[] modified(TopoDS_Shape aS) {
+ return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS));
+}
+
+ public boolean isDeleted(TopoDS_Shape aS) {
+ return OccJavaJNI.BRepAlgoAPI_BooleanOperation_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS);
+}
+
+ public TopoDS_Shape[] generated(TopoDS_Shape S) {
+ return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S));
+}
+
+ public boolean hasModified() {
+ return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasModified(swigCPtr, this);
+}
+
+ public boolean hasGenerated() {
+ return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasGenerated(swigCPtr, this);
+}
+
+ public boolean hasDeleted() {
+ return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasDeleted(swigCPtr, this);
+}
+
+}