X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepAlgoAPI_BooleanOperation.java;h=a4e9ec8128fe0062b02d12160bdf7796f884b786;hb=HEAD;hp=3560c2d5b7c7853ab94da6c96fcf5fab732e9e3e;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java index 3560c2d5..a4e9ec81 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java @@ -1,66 +1,62 @@ -/* ---------------------------------------------------------------------------- - * 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 BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public 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[] modified2(TopoDS_Shape aS) { - return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified2(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); -} - -} +/* ---------------------------------------------------------------------------- + * 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); +} + +}