-/* ----------------------------------------------------------------------------\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 BRepBuilderAPI_MakeSolid extends BRepBuilderAPI_MakeShape {\r
- private long swigCPtr;\r
-\r
- public BRepBuilderAPI_MakeSolid(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.BRepBuilderAPI_MakeSolid_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepBuilderAPI_MakeSolid 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_BRepBuilderAPI_MakeSolid(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid() {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_0(), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_CompSolid S) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_1(TopoDS_CompSolid.getCPtr(S), S), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_Shell S) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_2(TopoDS_Shell.getCPtr(S), S), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_3(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2, TopoDS_Shell S3) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_4(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2, TopoDS_Shell.getCPtr(S3), S3), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_Solid So) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_5(TopoDS_Solid.getCPtr(So), So), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeSolid(TopoDS_Solid So, TopoDS_Shell S) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_6(TopoDS_Solid.getCPtr(So), So, TopoDS_Shell.getCPtr(S), S), true);\r
- }\r
-\r
- public void add(TopoDS_Shell S) {\r
- OccJavaJNI.BRepBuilderAPI_MakeSolid_add(swigCPtr, this, TopoDS_Shell.getCPtr(S), S);\r
- }\r
-\r
- public boolean isDone() {\r
- return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDone(swigCPtr, this);\r
-}\r
-\r
- public boolean isDeleted(TopoDS_Shape S) {\r
- return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);\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 BRepBuilderAPI_MakeSolid extends BRepBuilderAPI_MakeShape {
+ private transient long swigCPtr;
+
+ protected BRepBuilderAPI_MakeSolid(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.BRepBuilderAPI_MakeSolid_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepBuilderAPI_MakeSolid obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_BRepBuilderAPI_MakeSolid(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public BRepBuilderAPI_MakeSolid() {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_0(), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_CompSolid S) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_1(TopoDS_CompSolid.getCPtr(S), S), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_Shell S) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_2(TopoDS_Shell.getCPtr(S), S), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_3(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2, TopoDS_Shell S3) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_4(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2, TopoDS_Shell.getCPtr(S3), S3), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_Solid So) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_5(TopoDS_Solid.getCPtr(So), So), true);
+ }
+
+ public BRepBuilderAPI_MakeSolid(TopoDS_Solid So, TopoDS_Shell S) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_6(TopoDS_Solid.getCPtr(So), So, TopoDS_Shell.getCPtr(S), S), true);
+ }
+
+ public void add(TopoDS_Shell S) {
+ OccJavaJNI.BRepBuilderAPI_MakeSolid_add(swigCPtr, this, TopoDS_Shell.getCPtr(S), S);
+ }
+
+ public boolean isDone() {
+ return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDone(swigCPtr, this);
+}
+
+ public boolean isDeleted(TopoDS_Shape S) {
+ return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);
+}
+
+}