-/* ----------------------------------------------------------------------------\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 BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape {\r
- private long swigCPtr;\r
-\r
- public BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) {\r
- super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn);\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepOffsetAPI_ThruSections 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_BRepOffsetAPI_ThruSections(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- super.delete();\r
- }\r
-\r
- public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) {\r
- this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true);\r
- }\r
-\r
- public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) {\r
- this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true);\r
- }\r
-\r
- public BRepOffsetAPI_ThruSections(boolean isSolid) {\r
- this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true);\r
- }\r
-\r
- public BRepOffsetAPI_ThruSections() {\r
- this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true);\r
- }\r
-\r
- public void init(boolean isSolid, boolean ruled, double pres3d) {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d);\r
- }\r
-\r
- public void init(boolean isSolid, boolean ruled) {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled);\r
- }\r
-\r
- public void init(boolean isSolid) {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid);\r
- }\r
-\r
- public void init() {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this);\r
- }\r
-\r
- public void addWire(TopoDS_Wire wire) {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire);\r
- }\r
-\r
- public void addVertex(TopoDS_Vertex aVertex) {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex);\r
- }\r
-\r
- public void build() {\r
- OccJavaJNI.BRepOffsetAPI_ThruSections_build(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 BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape {
+ private transient long swigCPtr;
+
+ protected BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) {
+ super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn);
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepOffsetAPI_ThruSections obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ super.delete();
+ }
+
+ public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) {
+ this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true);
+ }
+
+ public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) {
+ this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true);
+ }
+
+ public BRepOffsetAPI_ThruSections(boolean isSolid) {
+ this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true);
+ }
+
+ public BRepOffsetAPI_ThruSections() {
+ this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true);
+ }
+
+ public void addWire(TopoDS_Wire wire) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire);
+ }
+
+ public void checkCompatibility(boolean check) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_0(swigCPtr, this, check);
+ }
+
+ public void checkCompatibility() {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_1(swigCPtr, this);
+ }
+
+ public TopoDS_Shape shape() {
+ long cPtr = OccJavaJNI.BRepOffsetAPI_ThruSections_shape(swigCPtr, this);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public void init(boolean isSolid, boolean ruled, double pres3d) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d);
+ }
+
+ public void init(boolean isSolid, boolean ruled) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled);
+ }
+
+ public void init(boolean isSolid) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid);
+ }
+
+ public void init() {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this);
+ }
+
+ public void addVertex(TopoDS_Vertex aVertex) {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex);
+ }
+
+ public void build() {
+ OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this);
+ }
+
+}