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 BRepMesh_DiscretRoot {
\r
12 private long swigCPtr;
\r
13 protected boolean swigCMemOwn;
\r
15 public BRepMesh_DiscretRoot(long cPtr, boolean cMemoryOwn) {
\r
16 swigCMemOwn = cMemoryOwn;
\r
20 public static long getCPtr(BRepMesh_DiscretRoot 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_BRepMesh_DiscretRoot(swigCPtr);
\r
38 public void setDeflection(double D) {
\r
39 OccJavaJNI.BRepMesh_DiscretRoot_setDeflection(swigCPtr, this, D);
\r
42 public void setAngle(double Ang) {
\r
43 OccJavaJNI.BRepMesh_DiscretRoot_setAngle(swigCPtr, this, Ang);
\r
46 public double deflection() {
\r
47 return OccJavaJNI.BRepMesh_DiscretRoot_deflection(swigCPtr, this);
\r
50 public double angle() {
\r
51 return OccJavaJNI.BRepMesh_DiscretRoot_angle(swigCPtr, this);
\r
54 public void perform() {
\r
55 OccJavaJNI.BRepMesh_DiscretRoot_perform(swigCPtr, this);
\r