1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package org.jcae.opencascade.jni;
\r
11 public class BRepTools_WireExplorer {
\r
12 private long swigCPtr;
\r
13 protected boolean swigCMemOwn;
\r
15 public BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) {
\r
16 swigCMemOwn = cMemoryOwn;
\r
20 public static long getCPtr(BRepTools_WireExplorer obj) {
\r
21 return (obj == null) ? 0 : obj.swigCPtr;
\r
24 protected void finalize() {
\r
28 public synchronized void delete() {
\r
29 if (swigCPtr != 0) {
\r
31 swigCMemOwn = false;
\r
32 OccJavaJNI.delete_BRepTools_WireExplorer(swigCPtr);
\r
38 public BRepTools_WireExplorer() {
\r
39 this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true);
\r
42 public BRepTools_WireExplorer(TopoDS_Wire W) {
\r
43 this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true);
\r
46 public BRepTools_WireExplorer(TopoDS_Wire W, TopoDS_Face F) {
\r
47 this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_2(TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F), true);
\r
50 public void init(TopoDS_Wire W) {
\r
51 OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);
\r
54 public void init(TopoDS_Wire W, TopoDS_Face F) {
\r
55 OccJavaJNI.BRepTools_WireExplorer_init__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F);
\r
58 public boolean more() {
\r
59 return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this);
\r
62 public void next() {
\r
63 OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this);
\r
66 public TopoDS_Edge current() {
\r
67 return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false);
\r
70 public TopAbs_Orientation orientation() {
\r
71 return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this));
\r
74 public TopoDS_Vertex currentVertex() {
\r
75 return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false);
\r
78 public void clear() {
\r
79 OccJavaJNI.BRepTools_WireExplorer_clear(swigCPtr, this);
\r