X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FShapeUpgrade_RemoveInternalWires.java;h=c9518010613d995c935d43830e6c26a9307e81c2;hb=refs%2Fchanges%2F60%2F3660%2F1;hp=3bc06f99323bb163341b4d5f8d20e2fab2dac6a8;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java index 3bc06f99..c9518010 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java @@ -1,67 +1,67 @@ -/* ---------------------------------------------------------------------------- - * 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 ShapeUpgrade_RemoveInternalWires extends ShapeUpgrade_Tool { - private long swigCPtr; - - public ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeUpgrade_RemoveInternalWires obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeUpgrade_RemoveInternalWires(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) { - this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true); - } - - public boolean perform() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this); -} - - public TopoDS_Shape getResult() { - long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void setMinArea(double d) { - OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d); - } - - public double getMinArea() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this); - } - - public void setRemoveFaceMode(boolean b) { - OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b); - } - - public boolean getRemoveFaceMode() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(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 ShapeUpgrade_RemoveInternalWires extends ShapeUpgrade_Tool { + private transient long swigCPtr; + + protected ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeUpgrade_RemoveInternalWires obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeUpgrade_RemoveInternalWires(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) { + this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true); + } + + public boolean perform() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this); +} + + public TopoDS_Shape getResult() { + long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void setMinArea(double d) { + OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d); + } + + public double getMinArea() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this); + } + + public void setRemoveFaceMode(boolean b) { + OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b); + } + + public boolean getRemoveFaceMode() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this); +} + +}