]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java
f4b91730dd4208a71676cd99691231847595deca
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepOffsetAPI_ThruSections.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.4\r
4  *\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
8 \r
9 package org.jcae.opencascade.jni;\r
10 \r
11 public class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape {\r
12   private long swigCPtr;\r
13 \r
14   public BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) {\r
15     super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn);\r
16     swigCPtr = cPtr;\r
17   }\r
18 \r
19   public static long getCPtr(BRepOffsetAPI_ThruSections obj) {\r
20     return (obj == null) ? 0 : obj.swigCPtr;\r
21   }\r
22 \r
23   protected void finalize() {\r
24     delete();\r
25   }\r
26 \r
27   public synchronized void delete() {\r
28     if (swigCPtr != 0) {\r
29       if (swigCMemOwn) {\r
30         swigCMemOwn = false;\r
31         OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr);\r
32       }\r
33       swigCPtr = 0;\r
34     }\r
35     super.delete();\r
36   }\r
37 \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
40   }\r
41 \r
42   public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) {\r
43     this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true);\r
44   }\r
45 \r
46   public BRepOffsetAPI_ThruSections(boolean isSolid) {\r
47     this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true);\r
48   }\r
49 \r
50   public BRepOffsetAPI_ThruSections() {\r
51     this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true);\r
52   }\r
53 \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
56   }\r
57 \r
58   public void init(boolean isSolid, boolean ruled) {\r
59     OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled);\r
60   }\r
61 \r
62   public void init(boolean isSolid) {\r
63     OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid);\r
64   }\r
65 \r
66   public void init() {\r
67     OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this);\r
68   }\r
69 \r
70   public void addWire(TopoDS_Wire wire) {\r
71     OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire);\r
72   }\r
73 \r
74   public void addVertex(TopoDS_Vertex aVertex) {\r
75     OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex);\r
76   }\r
77 \r
78   public void build() {\r
79     OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this);\r
80   }\r
81 \r
82 }\r