/* ---------------------------------------------------------------------------- * 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 BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { private transient long swigCPtr; protected BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) { super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn); swigCPtr = cPtr; } protected static long getCPtr(BRepMesh_IncrementalMesh obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr); } swigCPtr = 0; } super.delete(); } public BRepMesh_IncrementalMesh() { this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true); } public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) { this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true); } public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) { this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true); } public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) { this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true); } public void perform() { OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this); } public boolean isModified() { return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this); } }