/* ---------------------------------------------------------------------------- * 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 TopExp { private transient long swigCPtr; protected transient boolean swigCMemOwn; protected TopExp(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(TopExp obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_TopExp(swigCPtr); } swigCPtr = 0; } } public static TopoDS_Vertex[] vertices(TopoDS_Edge edge) { TopoDS_Vertex first=new TopoDS_Vertex(); TopoDS_Vertex second=new TopoDS_Vertex(); vertices(edge, first, second); return new TopoDS_Vertex[]{first, second}; } public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast, boolean CumOri) { OccJavaJNI.TopExp_vertices__SWIG_0(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast, CumOri); } public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast) { OccJavaJNI.TopExp_vertices__SWIG_1(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast); } public TopExp() { this(OccJavaJNI.new_TopExp(), true); } }