-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.4\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-package org.jcae.opencascade.jni;\r
-\r
-public class BRepBuilderAPI_Sewing {\r
- private long swigCPtr;\r
- protected boolean swigCMemOwn;\r
-\r
- public BRepBuilderAPI_Sewing(long cPtr, boolean cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = cPtr;\r
- }\r
-\r
- public static long getCPtr(BRepBuilderAPI_Sewing obj) {\r
- return (obj == null) ? 0 : obj.swigCPtr;\r
- }\r
-\r
- protected void finalize() {\r
- delete();\r
- }\r
-\r
- public synchronized void delete() {\r
- if (swigCPtr != 0) {\r
- if (swigCMemOwn) {\r
- swigCMemOwn = false;\r
- OccJavaJNI.delete_BRepBuilderAPI_Sewing(swigCPtr);\r
- }\r
- swigCPtr = 0;\r
- }\r
- }\r
-\r
- public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting, boolean nonmanifold) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_0(tolerance, option, cutting, nonmanifold), true);\r
- }\r
-\r
- public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_1(tolerance, option, cutting), true);\r
- }\r
-\r
- public BRepBuilderAPI_Sewing(double tolerance, boolean option) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_2(tolerance, option), true);\r
- }\r
-\r
- public BRepBuilderAPI_Sewing(double tolerance) {\r
- this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_3(tolerance), true);\r
- }\r
-\r
- public BRepBuilderAPI_Sewing() {\r
- this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_4(), true);\r
- }\r
-\r
- public void init(double tolerance, boolean option, boolean cutting, boolean nonmanifold) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_0(swigCPtr, this, tolerance, option, cutting, nonmanifold);\r
- }\r
-\r
- public void init(double tolerance, boolean option, boolean cutting) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_1(swigCPtr, this, tolerance, option, cutting);\r
- }\r
-\r
- public void init(double tolerance, boolean option) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_2(swigCPtr, this, tolerance, option);\r
- }\r
-\r
- public void init(double tolerance) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_3(swigCPtr, this, tolerance);\r
- }\r
-\r
- public void load(TopoDS_Shape shape) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_load(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
- }\r
-\r
- public void add(TopoDS_Shape shape) {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_add(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
- }\r
-\r
- public void perform() {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_perform(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Shape sewedShape() {\r
- long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_sewedShape(swigCPtr, this);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public int nbFreeEdges() {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_nbFreeEdges(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Edge freeEdge(int index) {\r
- return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_freeEdge(swigCPtr, this, index), false);\r
- }\r
-\r
- public int nbMultipleEdges() {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_nbMultipleEdges(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Edge multipleEdge(int index) {\r
- return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_multipleEdge(swigCPtr, this, index), false);\r
- }\r
-\r
- public int nbDegeneratedShapes() {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_nbDegeneratedShapes(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Shape degeneratedShape(int index) {\r
- long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_degeneratedShape(swigCPtr, this, index);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public int nbDeletedFaces() {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_nbDeletedFaces(swigCPtr, this);\r
- }\r
-\r
- public TopoDS_Face deletedFace(int index) {\r
- return new TopoDS_Face(OccJavaJNI.BRepBuilderAPI_Sewing_deletedFace(swigCPtr, this, index), false);\r
- }\r
-\r
- public boolean isDegenerated(TopoDS_Shape shape) {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_isDegenerated(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
-}\r
-\r
- public boolean isModified(TopoDS_Shape shape) {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_isModified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
-}\r
-\r
- public TopoDS_Shape modified(TopoDS_Shape shape) {\r
- long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
- public void dump() {\r
- OccJavaJNI.BRepBuilderAPI_Sewing_dump(swigCPtr, this);\r
- }\r
-\r
- public boolean isModifiedSubShape(TopoDS_Shape shape) {\r
- return OccJavaJNI.BRepBuilderAPI_Sewing_isModifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
-}\r
-\r
- public TopoDS_Shape modifiedSubShape(TopoDS_Shape shape) {\r
- long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);\r
- return (TopoDS_Shape)TopoDS_Shape.create(cPtr);\r
-}\r
-\r
-}\r
+/* ----------------------------------------------------------------------------
+ * 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_Sewing {
+ private transient long swigCPtr;
+ protected transient boolean swigCMemOwn;
+
+ protected BRepBuilderAPI_Sewing(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(BRepBuilderAPI_Sewing 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_Sewing(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+ }
+
+ public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting, boolean nonmanifold) {
+ this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_0(tolerance, option, cutting, nonmanifold), true);
+ }
+
+ public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting) {
+ this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_1(tolerance, option, cutting), true);
+ }
+
+ public BRepBuilderAPI_Sewing(double tolerance, boolean option) {
+ this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_2(tolerance, option), true);
+ }
+
+ public BRepBuilderAPI_Sewing(double tolerance) {
+ this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_3(tolerance), true);
+ }
+
+ public BRepBuilderAPI_Sewing() {
+ this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_4(), true);
+ }
+
+ public void init(double tolerance, boolean option, boolean cutting, boolean nonmanifold) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_0(swigCPtr, this, tolerance, option, cutting, nonmanifold);
+ }
+
+ public void init(double tolerance, boolean option, boolean cutting) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_1(swigCPtr, this, tolerance, option, cutting);
+ }
+
+ public void init(double tolerance, boolean option) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_2(swigCPtr, this, tolerance, option);
+ }
+
+ public void init(double tolerance) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_3(swigCPtr, this, tolerance);
+ }
+
+ public void load(TopoDS_Shape shape) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_load(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+ }
+
+ public void add(TopoDS_Shape shape) {
+ OccJavaJNI.BRepBuilderAPI_Sewing_add(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+ }
+
+ public void perform() {
+ OccJavaJNI.BRepBuilderAPI_Sewing_perform(swigCPtr, this);
+ }
+
+ public TopoDS_Shape sewedShape() {
+ long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_sewedShape(swigCPtr, this);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public int nbFreeEdges() {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_nbFreeEdges(swigCPtr, this);
+ }
+
+ public TopoDS_Edge freeEdge(int index) {
+ return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_freeEdge(swigCPtr, this, index), false);
+ }
+
+ public int nbMultipleEdges() {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_nbMultipleEdges(swigCPtr, this);
+ }
+
+ public TopoDS_Edge multipleEdge(int index) {
+ return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_multipleEdge(swigCPtr, this, index), false);
+ }
+
+ public int nbDegeneratedShapes() {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_nbDegeneratedShapes(swigCPtr, this);
+ }
+
+ public TopoDS_Shape degeneratedShape(int index) {
+ long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_degeneratedShape(swigCPtr, this, index);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public int nbDeletedFaces() {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_nbDeletedFaces(swigCPtr, this);
+ }
+
+ public TopoDS_Face deletedFace(int index) {
+ return new TopoDS_Face(OccJavaJNI.BRepBuilderAPI_Sewing_deletedFace(swigCPtr, this, index), false);
+ }
+
+ public boolean isDegenerated(TopoDS_Shape shape) {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_isDegenerated(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+}
+
+ public boolean isModified(TopoDS_Shape shape) {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_isModified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+}
+
+ public TopoDS_Shape modified(TopoDS_Shape shape) {
+ long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+ public void dump() {
+ OccJavaJNI.BRepBuilderAPI_Sewing_dump(swigCPtr, this);
+ }
+
+ public boolean isModifiedSubShape(TopoDS_Shape shape) {
+ return OccJavaJNI.BRepBuilderAPI_Sewing_isModifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+}
+
+ public TopoDS_Shape modifiedSubShape(TopoDS_Shape shape) {
+ long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape);
+ return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
+}
+
+}