]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java
Remove dependencies on log4j
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepTools_WireExplorer.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.12
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package org.jcae.opencascade.jni;
10
11 public class BRepTools_WireExplorer {
12   private transient long swigCPtr;
13   protected transient boolean swigCMemOwn;
14
15   protected BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) {
16     swigCMemOwn = cMemoryOwn;
17     swigCPtr = cPtr;
18   }
19
20   protected static long getCPtr(BRepTools_WireExplorer obj) {
21     return (obj == null) ? 0 : obj.swigCPtr;
22   }
23
24   protected void finalize() {
25     delete();
26   }
27
28   public synchronized void delete() {
29     if (swigCPtr != 0) {
30       if (swigCMemOwn) {
31         swigCMemOwn = false;
32         OccJavaJNI.delete_BRepTools_WireExplorer(swigCPtr);
33       }
34       swigCPtr = 0;
35     }
36   }
37
38   public BRepTools_WireExplorer() {
39     this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true);
40   }
41
42   public BRepTools_WireExplorer(TopoDS_Wire W) {
43     this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true);
44   }
45
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);
48   }
49
50   public void init(TopoDS_Wire W) {
51     OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W);
52   }
53
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);
56   }
57
58   public boolean more() {
59         return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this);
60 }
61
62   public void next() {
63     OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this);
64   }
65
66   public TopoDS_Edge current() {
67     return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false);
68   }
69
70   public TopAbs_Orientation orientation() {
71     return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this));
72   }
73
74   public TopoDS_Vertex currentVertex() {
75     return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false);
76   }
77
78   public void clear() {
79     OccJavaJNI.BRepTools_WireExplorer_clear(swigCPtr, this);
80   }
81
82 }