/* ---------------------------------------------------------------------------- * 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 BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape { private transient long swigCPtr; protected BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) { super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn); swigCPtr = cPtr; } protected static long getCPtr(BRepAlgoAPI_BooleanOperation obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_BRepAlgoAPI_BooleanOperation(swigCPtr); } swigCPtr = 0; } super.delete(); } public TopoDS_Shape[] modified(TopoDS_Shape aS) { return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS)); } public boolean isDeleted(TopoDS_Shape aS) { return OccJavaJNI.BRepAlgoAPI_BooleanOperation_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS); } public TopoDS_Shape[] generated(TopoDS_Shape S) { return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S)); } public boolean hasModified() { return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasModified(swigCPtr, this); } public boolean hasGenerated() { return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasGenerated(swigCPtr, this); } public boolean hasDeleted() { return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasDeleted(swigCPtr, this); } }