/* ---------------------------------------------------------------------------- * 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 BRepBuilderAPI_MakeWire extends BRepBuilderAPI_MakeShape { private transient long swigCPtr; protected BRepBuilderAPI_MakeWire(long cPtr, boolean cMemoryOwn) { super(OccJavaJNI.BRepBuilderAPI_MakeWire_SWIGUpcast(cPtr), cMemoryOwn); swigCPtr = cPtr; } protected static long getCPtr(BRepBuilderAPI_MakeWire obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_BRepBuilderAPI_MakeWire(swigCPtr); } swigCPtr = 0; } super.delete(); } public BRepBuilderAPI_MakeWire() { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_0(), true); } public BRepBuilderAPI_MakeWire(TopoDS_Edge E) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_1(TopoDS_Edge.getCPtr(E), E), true); } public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_2(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2), true); } public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_3(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3), true); } public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3, TopoDS_Edge E4) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_4(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3, TopoDS_Edge.getCPtr(E4), E4), true); } public BRepBuilderAPI_MakeWire(TopoDS_Wire W) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_5(TopoDS_Wire.getCPtr(W), W), true); } public BRepBuilderAPI_MakeWire(TopoDS_Wire W, TopoDS_Edge E) { this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_6(TopoDS_Wire.getCPtr(W), W, TopoDS_Edge.getCPtr(E), E), true); } public void add(TopoDS_Edge E) { OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); } public void add(TopoDS_Wire W) { OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); } public void add(TopoDS_Shape[] shapes) { OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_2(swigCPtr, this, TopoDS_Shape.cArrayUnwrap(shapes)); } public boolean isDone() { return OccJavaJNI.BRepBuilderAPI_MakeWire_isDone(swigCPtr, this); } public TopoDS_Wire wire() { return new TopoDS_Wire(OccJavaJNI.BRepBuilderAPI_MakeWire_wire(swigCPtr, this), false); } }