1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package org.jcae.opencascade.jni;
11 public class ShapeAnalysis_FreeBounds {
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
15 protected ShapeAnalysis_FreeBounds(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(ShapeAnalysis_FreeBounds obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
24 protected void finalize() {
28 public synchronized void delete() {
32 OccJavaJNI.delete_ShapeAnalysis_FreeBounds(swigCPtr);
38 public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed, boolean splitopen) {
39 this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, splitclosed, splitopen), true);
42 public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed) {
43 this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, splitclosed), true);
46 public ShapeAnalysis_FreeBounds(TopoDS_Shape shape) {
47 this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_2(TopoDS_Shape.getCPtr(shape), shape), true);
50 public TopoDS_Compound getClosedWires() {
51 long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getClosedWires(swigCPtr, this);
52 return (TopoDS_Compound)TopoDS_Shape.create(cPtr);
55 public TopoDS_Compound getOpenWires() {
56 long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getOpenWires(swigCPtr, this);
57 return (TopoDS_Compound)TopoDS_Shape.create(cPtr);