]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ChFi3d_FilletShape.java
Avoid extra write transactions when opening Plant3D editor
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / ChFi3d_FilletShape.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 enum ChFi3d_FilletShape {
12   Rational,
13   QuasiAngular,
14   Polynomial;
15
16   public final int swigValue() {
17     return swigValue;
18   }
19
20   public static ChFi3d_FilletShape swigToEnum(int swigValue) {
21     ChFi3d_FilletShape[] swigValues = ChFi3d_FilletShape.class.getEnumConstants();
22     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
23       return swigValues[swigValue];
24     for (ChFi3d_FilletShape swigEnum : swigValues)
25       if (swigEnum.swigValue == swigValue)
26         return swigEnum;
27     throw new IllegalArgumentException("No enum " + ChFi3d_FilletShape.class + " with value " + swigValue);
28   }
29
30   @SuppressWarnings("unused")
31   private ChFi3d_FilletShape() {
32     this.swigValue = SwigNext.next++;
33   }
34
35   @SuppressWarnings("unused")
36   private ChFi3d_FilletShape(int swigValue) {
37     this.swigValue = swigValue;
38     SwigNext.next = swigValue+1;
39   }
40
41   @SuppressWarnings("unused")
42   private ChFi3d_FilletShape(ChFi3d_FilletShape swigEnum) {
43     this.swigValue = swigEnum.swigValue;
44     SwigNext.next = this.swigValue+1;
45   }
46
47   private final int swigValue;
48
49   private static class SwigNext {
50     private static int next = 0;
51   }
52 }
53