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 ShapeFix_Root {
\r
12 private long swigCPtr;
\r
13 protected boolean swigCMemOwn;
\r
15 public ShapeFix_Root(long cPtr, boolean cMemoryOwn) {
\r
16 swigCMemOwn = cMemoryOwn;
\r
20 public static long getCPtr(ShapeFix_Root obj) {
\r
21 return (obj == null) ? 0 : obj.swigCPtr;
\r
24 protected void finalize() {
\r
28 public synchronized void delete() {
\r
29 if (swigCPtr != 0) {
\r
31 swigCMemOwn = false;
\r
32 OccJavaJNI.delete_ShapeFix_Root(swigCPtr);
\r
38 public void setPrecision(double preci) {
\r
39 OccJavaJNI.ShapeFix_Root_setPrecision(swigCPtr, this, preci);
\r
42 public double getPrecision() {
\r
43 return OccJavaJNI.ShapeFix_Root_getPrecision(swigCPtr, this);
\r
46 public void setContext(ShapeBuild_ReShape context) {
\r
47 OccJavaJNI.ShapeFix_Root_setContext(swigCPtr, this, ShapeBuild_ReShape.getCPtr(context), context);
\r
50 public ShapeBuild_ReShape getContext() {
\r
51 long cPtr = OccJavaJNI.ShapeFix_Root_getContext(swigCPtr, this);
\r
52 return (cPtr == 0) ? null : new ShapeBuild_ReShape(cPtr, false);
\r