X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepBuilderAPI_MakeShell.java;h=3f09015203b3488f9d37a31ce226a761f9377627;hb=refs%2Fchanges%2F60%2F3660%2F1;hp=cc9de33ee08d297ac6a354acd468a489c896b415;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java index cc9de33e..3f090152 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java @@ -1,78 +1,78 @@ -/* ---------------------------------------------------------------------------- - * 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 BRepBuilderAPI_MakeShell extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeShell obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeShell(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeShell() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true); - } - - public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { - OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment); - } - - public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { - OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this); -} - - public SWIGTYPE_p_BRepBuilderAPI_ShellError error() { - return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true); - } - - public TopoDS_Shell Shell() { - return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * 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 BRepBuilderAPI_MakeShell extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeShell obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeShell(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeShell() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true); + } + + public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { + OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment); + } + + public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { + OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this); +} + + public SWIGTYPE_p_BRepBuilderAPI_ShellError error() { + return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true); + } + + public TopoDS_Shell Shell() { + return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false); + } + +}