/* ---------------------------------------------------------------------------- * 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 BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape { private transient long swigCPtr; protected BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) { super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn); swigCPtr = cPtr; } protected static long getCPtr(BRepOffsetAPI_ThruSections obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr); } swigCPtr = 0; } super.delete(); } public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) { this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true); } public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) { this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true); } public BRepOffsetAPI_ThruSections(boolean isSolid) { this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true); } public BRepOffsetAPI_ThruSections() { this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true); } public void addWire(TopoDS_Wire wire) { OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire); } public void checkCompatibility(boolean check) { OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_0(swigCPtr, this, check); } public void checkCompatibility() { OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_1(swigCPtr, this); } public TopoDS_Shape shape() { long cPtr = OccJavaJNI.BRepOffsetAPI_ThruSections_shape(swigCPtr, this); return (TopoDS_Shape)TopoDS_Shape.create(cPtr); } public void init(boolean isSolid, boolean ruled, double pres3d) { OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d); } public void init(boolean isSolid, boolean ruled) { OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled); } public void init(boolean isSolid) { OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid); } public void init() { OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this); } public void addVertex(TopoDS_Vertex aVertex) { OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex); } public void build() { OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this); } }