X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepTools_WireExplorer.java;h=7259ba21a222d5250e873db1cd0d5acd45f2eeee;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=f054e68a7e72580f4fc7bcbaa61c5cd92953f58e;hpb=1e885c30936c7df2efda5a00bfdc127ee059dee0;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java index f054e68a..7259ba21 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java @@ -1,82 +1,82 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * 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 long swigCPtr; - protected boolean swigCMemOwn; - - public BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public 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); - } - -} +/* ---------------------------------------------------------------------------- + * 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); + } + +}