/* ---------------------------------------------------------------------------- * 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 BRepTools_Quilt { private transient long swigCPtr; protected transient boolean swigCMemOwn; protected BRepTools_Quilt(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(BRepTools_Quilt obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_BRepTools_Quilt(swigCPtr); } swigCPtr = 0; } } public BRepTools_Quilt() { this(OccJavaJNI.new_BRepTools_Quilt(), true); } public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) { OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew); } public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) { OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew); } public void add(TopoDS_Shape S) { OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); } public boolean isCopied(TopoDS_Shape S) { return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); } public TopoDS_Shape copy(TopoDS_Shape S) { long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); return (TopoDS_Shape)TopoDS_Shape.create(cPtr); } public TopoDS_Shape shells() { long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this); return (TopoDS_Shape)TopoDS_Shape.create(cPtr); } }