]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_NormalProjection.java
Remove dependencies on log4j
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepOffsetAPI_NormalProjection.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.12
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package org.jcae.opencascade.jni;
10
11 public class BRepOffsetAPI_NormalProjection extends BRepBuilderAPI_MakeShape {
12   private transient long swigCPtr;
13
14   protected BRepOffsetAPI_NormalProjection(long cPtr, boolean cMemoryOwn) {
15     super(OccJavaJNI.BRepOffsetAPI_NormalProjection_SWIGUpcast(cPtr), cMemoryOwn);
16     swigCPtr = cPtr;
17   }
18
19   protected static long getCPtr(BRepOffsetAPI_NormalProjection obj) {
20     return (obj == null) ? 0 : obj.swigCPtr;
21   }
22
23   protected void finalize() {
24     delete();
25   }
26
27   public synchronized void delete() {
28     if (swigCPtr != 0) {
29       if (swigCMemOwn) {
30         swigCMemOwn = false;
31         OccJavaJNI.delete_BRepOffsetAPI_NormalProjection(swigCPtr);
32       }
33       swigCPtr = 0;
34     }
35     super.delete();
36   }
37
38   public BRepOffsetAPI_NormalProjection() {
39     this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_0(), true);
40   }
41
42   public BRepOffsetAPI_NormalProjection(TopoDS_Shape S) {
43     this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_1(TopoDS_Shape.getCPtr(S), S), true);
44   }
45
46   public void init(TopoDS_Shape S) {
47     OccJavaJNI.BRepOffsetAPI_NormalProjection_init(swigCPtr, this, TopoDS_Shape.getCPtr(S), S);
48   }
49
50   public void add(TopoDS_Shape ToProj) {
51     OccJavaJNI.BRepOffsetAPI_NormalProjection_add(swigCPtr, this, TopoDS_Shape.getCPtr(ToProj), ToProj);
52   }
53
54   public void setParams(double Tol3D, double Tol2D, GeomAbs_Shape InternalContinuity, int MaxDegree, int MaxSeg) {
55     OccJavaJNI.BRepOffsetAPI_NormalProjection_setParams(swigCPtr, this, Tol3D, Tol2D, InternalContinuity.swigValue(), MaxDegree, MaxSeg);
56   }
57
58   public void setMaxDistance(double MaxDist) {
59     OccJavaJNI.BRepOffsetAPI_NormalProjection_setMaxDistance(swigCPtr, this, MaxDist);
60   }
61
62   public void setLimit(boolean FaceBoundaries) {
63     OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_0(swigCPtr, this, FaceBoundaries);
64   }
65
66   public void setLimit() {
67     OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_1(swigCPtr, this);
68   }
69
70   public void compute3d(boolean With3d) {
71     OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_0(swigCPtr, this, With3d);
72   }
73
74   public void compute3d() {
75     OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_1(swigCPtr, this);
76   }
77
78   public void build() {
79     OccJavaJNI.BRepOffsetAPI_NormalProjection_build(swigCPtr, this);
80   }
81
82   public boolean isDone() {
83         return OccJavaJNI.BRepOffsetAPI_NormalProjection_isDone(swigCPtr, this);
84 }
85
86   public TopoDS_Shape projection() {
87     long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_projection(swigCPtr, this);
88     return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
89 }
90
91   public TopoDS_Shape couple(TopoDS_Edge E) {
92     long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_couple(swigCPtr, this, TopoDS_Edge.getCPtr(E), E);
93     return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
94 }
95
96   public TopoDS_Shape[] generated(TopoDS_Shape S) {
97         return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepOffsetAPI_NormalProjection_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S));
98 }
99
100   public TopoDS_Shape ancestor(TopoDS_Edge E) {
101     long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_ancestor(swigCPtr, this, TopoDS_Edge.getCPtr(E), E);
102     return (TopoDS_Shape)TopoDS_Shape.create(cPtr);
103 }
104
105   public boolean buildWire(SWIGTYPE_p_TopTools_ListOfShape Liste) {
106         return OccJavaJNI.BRepOffsetAPI_NormalProjection_buildWire(swigCPtr, this, SWIGTYPE_p_TopTools_ListOfShape.getCPtr(Liste));
107 }
108
109 }