1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package org.jcae.opencascade.jni;
\r
11 public class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape {
\r
12 private long swigCPtr;
\r
14 public BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) {
\r
15 super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn);
\r
19 public static long getCPtr(BRepOffsetAPI_ThruSections obj) {
\r
20 return (obj == null) ? 0 : obj.swigCPtr;
\r
23 protected void finalize() {
\r
27 public synchronized void delete() {
\r
28 if (swigCPtr != 0) {
\r
30 swigCMemOwn = false;
\r
31 OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr);
\r
38 public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) {
\r
39 this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true);
\r
42 public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) {
\r
43 this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true);
\r
46 public BRepOffsetAPI_ThruSections(boolean isSolid) {
\r
47 this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true);
\r
50 public BRepOffsetAPI_ThruSections() {
\r
51 this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true);
\r
54 public void init(boolean isSolid, boolean ruled, double pres3d) {
\r
55 OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d);
\r
58 public void init(boolean isSolid, boolean ruled) {
\r
59 OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled);
\r
62 public void init(boolean isSolid) {
\r
63 OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid);
\r
66 public void init() {
\r
67 OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this);
\r
70 public void addWire(TopoDS_Wire wire) {
\r
71 OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire);
\r
74 public void addVertex(TopoDS_Vertex aVertex) {
\r
75 OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex);
\r
78 public void build() {
\r
79 OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this);
\r