X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepMesh_IncrementalMesh.java;h=7a24ee5d465969ba4e93b56f525277acf423f4c5;hb=8c8a6f597d1c56ebe788a028d70c7851f58dae9f;hp=7838cf66eb5ed95e344452489b45b4f87c6b9ff7;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java index 7838cf66..7a24ee5d 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.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 BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { - private long swigCPtr; - - public BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepMesh_IncrementalMesh obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepMesh_IncrementalMesh() { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true); - } - - public void perform() { - OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this); - } - - public void update(TopoDS_Shape S) { - OccJavaJNI.BRepMesh_IncrementalMesh_update(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean isModified() { - return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(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 BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { + private transient long swigCPtr; + + protected BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepMesh_IncrementalMesh obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepMesh_IncrementalMesh() { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true); + } + + public void perform() { + OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this); + } + + public boolean isModified() { + return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this); +} + +}