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_IncrementalMesh extends BRepMesh_DiscretRoot {
\r
12 private long swigCPtr;
\r
14 public BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) {
\r
15 super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn);
\r
19 public static long getCPtr(BRepMesh_IncrementalMesh 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_BRepMesh_IncrementalMesh(swigCPtr);
\r
38 public BRepMesh_IncrementalMesh() {
\r
39 this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true);
\r
42 public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) {
\r
43 this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true);
\r
46 public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) {
\r
47 this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true);
\r
50 public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) {
\r
51 this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true);
\r
54 public void perform() {
\r
55 OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this);
\r
58 public void update(TopoDS_Shape S) {
\r
59 OccJavaJNI.BRepMesh_IncrementalMesh_update(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);
\r
62 public boolean isModified() {
\r
63 return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this);
\r