X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FTopoDS_Builder.java;h=3cf63c72a99957f9510cb9c168a82a0f690752d7;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=3e78fd90285c29ffbbe57faf3bad116ad6704bba;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java index 3e78fd90..3cf63c72 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * 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 TopoDS_Builder { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopoDS_Builder(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Builder obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Builder(swigCPtr); - } - swigCPtr = 0; - } - } - - public void makeWire(TopoDS_Wire W) { - OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); - } - - public void makeCompound(TopoDS_Compound C) { - OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C); - } - - public void add(TopoDS_Shape S, TopoDS_Shape C) { - OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); - } - - public void remove(TopoDS_Shape S, TopoDS_Shape C) { - OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); - } - -} +/* ---------------------------------------------------------------------------- + * 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 TopoDS_Builder { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopoDS_Builder(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Builder obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Builder(swigCPtr); + } + swigCPtr = 0; + } + } + + public void makeWire(TopoDS_Wire W) { + OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); + } + + public void makeCompound(TopoDS_Compound C) { + OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C); + } + + public void add(TopoDS_Shape S, TopoDS_Shape C) { + OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); + } + + public void remove(TopoDS_Shape S, TopoDS_Shape C) { + OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); + } + +}