X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepOffsetAPI_ThruSections.java;h=44aa0d71f030f23e68b45fb1476df886cc4aab68;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=f4b91730dd4208a71676cd99691231847595deca;hpb=1e885c30936c7df2efda5a00bfdc127ee059dee0;p=simantics%2F3d.git diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java index f4b91730..44aa0d71 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java @@ -1,82 +1,95 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * 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 long swigCPtr; - - public BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public 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 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 addWire(TopoDS_Wire wire) { - OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire); - } - - 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); - } - -} +/* ---------------------------------------------------------------------------- + * 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); + } + +}