1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package org.jcae.opencascade.jni;
\r
11 public class BRepBuilderAPI_MakeShell extends BRepBuilderAPI_MakeShape {
\r
12 private long swigCPtr;
\r
14 public BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) {
\r
15 super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn);
\r
19 public static long getCPtr(BRepBuilderAPI_MakeShell obj) {
\r
20 return (obj == null) ? 0 : obj.swigCPtr;
\r
23 protected void finalize() {
\r
27 public synchronized void delete() {
\r
28 if (swigCPtr != 0) {
\r
30 swigCMemOwn = false;
\r
31 OccJavaJNI.delete_BRepBuilderAPI_MakeShell(swigCPtr);
\r
38 public BRepBuilderAPI_MakeShell() {
\r
39 this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true);
\r
42 public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) {
\r
43 this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true);
\r
46 public BRepBuilderAPI_MakeShell(Geom_Surface S) {
\r
47 this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true);
\r
50 public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {
\r
51 this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true);
\r
54 public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {
\r
55 this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true);
\r
58 public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) {
\r
59 OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment);
\r
62 public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) {
\r
63 OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax);
\r
66 public boolean isDone() {
\r
67 return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this);
\r
70 public SWIGTYPE_p_BRepBuilderAPI_ShellError error() {
\r
71 return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true);
\r
74 public TopoDS_Shell Shell() {
\r
75 return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false);
\r