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 TopoDS_Iterator {
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
15 protected TopoDS_Iterator(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(TopoDS_Iterator obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
24 protected void finalize() {
28 public synchronized void delete() {
32 OccJavaJNI.delete_TopoDS_Iterator(swigCPtr);
38 public TopoDS_Iterator() {
39 this(OccJavaJNI.new_TopoDS_Iterator__SWIG_0(), true);
42 public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {
43 this(OccJavaJNI.new_TopoDS_Iterator__SWIG_1(TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc), true);
46 public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri) {
47 this(OccJavaJNI.new_TopoDS_Iterator__SWIG_2(TopoDS_Shape.getCPtr(S), S, cumOri), true);
50 public TopoDS_Iterator(TopoDS_Shape S) {
51 this(OccJavaJNI.new_TopoDS_Iterator__SWIG_3(TopoDS_Shape.getCPtr(S), S), true);
54 public void initialize(TopoDS_Shape S, boolean cumOri, boolean cumLoc) {
55 OccJavaJNI.TopoDS_Iterator_initialize__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc);
58 public void initialize(TopoDS_Shape S, boolean cumOri) {
59 OccJavaJNI.TopoDS_Iterator_initialize__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri);
62 public void initialize(TopoDS_Shape S) {
63 OccJavaJNI.TopoDS_Iterator_initialize__SWIG_2(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);
66 public boolean more() {
67 return OccJavaJNI.TopoDS_Iterator_more(swigCPtr, this);
71 OccJavaJNI.TopoDS_Iterator_next(swigCPtr, this);
74 public TopoDS_Shape value() {
75 long cPtr = OccJavaJNI.TopoDS_Iterator_value(swigCPtr, this);
76 return (TopoDS_Shape)TopoDS_Shape.create(cPtr);