/* ---------------------------------------------------------------------------- * 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); } }