-/* ----------------------------------------------------------------------------\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_MakeShell extends BRepBuilderAPI_MakeShape {\r
- private long swigCPtr;\r
-\r
- public BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepBuilderAPI_MakeShell 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_MakeShell(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public BRepBuilderAPI_MakeShell() {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeShell(Geom_Surface S) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true);\r
- }\r
-\r
- public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true);\r
- }\r
-\r
- public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {\r
- OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment);\r
- }\r
-\r
- public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {\r
- OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax);\r
- }\r
-\r
- public boolean isDone() {\r
- return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this);\r
-}\r
-\r
- public SWIGTYPE_p_BRepBuilderAPI_ShellError error() {\r
- return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true);\r
- }\r
-\r
- public TopoDS_Shell Shell() {\r
- return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false);\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_MakeShell extends BRepBuilderAPI_MakeShape {
+ private transient long swigCPtr;
+
+ protected BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepBuilderAPI_MakeShell 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_MakeShell(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public BRepBuilderAPI_MakeShell() {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true);
+ }
+
+ public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true);
+ }
+
+ public BRepBuilderAPI_MakeShell(Geom_Surface S) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true);
+ }
+
+ public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true);
+ }
+
+ public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {
+ this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true);
+ }
+
+ public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {
+ OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment);
+ }
+
+ public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {
+ OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax);
+ }
+
+ public boolean isDone() {
+ return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this);
+}
+
+ public SWIGTYPE_p_BRepBuilderAPI_ShellError error() {
+ return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true);
+ }
+
+ public TopoDS_Shell Shell() {
+ return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false);
+ }
+
+}