-/* ----------------------------------------------------------------------------\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 BRepTools_WireExplorer {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepTools_WireExplorer 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_BRepTools_WireExplorer(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public BRepTools_WireExplorer() {\r
- this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true);\r
- }\r
-\r
- public BRepTools_WireExplorer(TopoDS_Wire W) {\r
- this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true);\r
- }\r
-\r
- public BRepTools_WireExplorer(TopoDS_Wire W, TopoDS_Face F) {\r
- this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_2(TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F), true);\r
- }\r
-\r
- public void init(TopoDS_Wire W) {\r
- OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);\r
- }\r
-\r
- public void init(TopoDS_Wire W, TopoDS_Face F) {\r
- OccJavaJNI.BRepTools_WireExplorer_init__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F);\r
- }\r
-\r
- public boolean more() {\r
- return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this);\r
-}\r
-\r
- public void next() {\r
- OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Edge current() {\r
- return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false);\r
- }\r
-\r
- public TopAbs_Orientation orientation() {\r
- return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this));\r
- }\r
-\r
- public TopoDS_Vertex currentVertex() {\r
- return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false);\r
- }\r
-\r
- public void clear() {\r
- OccJavaJNI.BRepTools_WireExplorer_clear(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 BRepTools_WireExplorer {
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepTools_WireExplorer obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if (swigCPtr != 0) {
+ if (swigCMemOwn) {
+ swigCMemOwn = false;
+ OccJavaJNI.delete_BRepTools_WireExplorer(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public BRepTools_WireExplorer() {
+ this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true);
+ }
+
+ public BRepTools_WireExplorer(TopoDS_Wire W) {
+ this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true);
+ }
+
+ public BRepTools_WireExplorer(TopoDS_Wire W, TopoDS_Face F) {
+ this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_2(TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F), true);
+ }
+
+ public void init(TopoDS_Wire W) {
+ OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);
+ }
+
+ public void init(TopoDS_Wire W, TopoDS_Face F) {
+ OccJavaJNI.BRepTools_WireExplorer_init__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F);
+ }
+
+ public boolean more() {
+ return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this);
+}
+
+ public void next() {
+ OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this);
+ }
+
+ public TopoDS_Edge current() {
+ return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false);
+ }
+
+ public TopAbs_Orientation orientation() {
+ return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this));
+ }
+
+ public TopoDS_Vertex currentVertex() {
+ return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false);
+ }
+
+ public void clear() {
+ OccJavaJNI.BRepTools_WireExplorer_clear(swigCPtr, this);
+ }
+
+}