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