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 ShapeUpgrade_RemoveInternalWires extends ShapeUpgrade_Tool {
12 private transient long swigCPtr;
14 protected ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) {
15 super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn);
19 protected static long getCPtr(ShapeUpgrade_RemoveInternalWires obj) {
20 return (obj == null) ? 0 : obj.swigCPtr;
23 protected void finalize() {
27 public synchronized void delete() {
31 OccJavaJNI.delete_ShapeUpgrade_RemoveInternalWires(swigCPtr);
38 public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) {
39 this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true);
42 public boolean perform() {
43 return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this);
46 public TopoDS_Shape getResult() {
47 long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this);
48 return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
51 public void setMinArea(double d) {
52 OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d);
55 public double getMinArea() {
56 return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this);
59 public void setRemoveFaceMode(boolean b) {
60 OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b);
63 public boolean getRemoveFaceMode() {
64 return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this);