1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package org.jcae.opencascade.jni;
11 public enum GeomAbs_Shape {
20 public final int swigValue() {
24 public static GeomAbs_Shape swigToEnum(int swigValue) {
25 GeomAbs_Shape[] swigValues = GeomAbs_Shape.class.getEnumConstants();
26 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
27 return swigValues[swigValue];
28 for (GeomAbs_Shape swigEnum : swigValues)
29 if (swigEnum.swigValue == swigValue)
31 throw new IllegalArgumentException("No enum " + GeomAbs_Shape.class + " with value " + swigValue);
34 @SuppressWarnings("unused")
35 private GeomAbs_Shape() {
36 this.swigValue = SwigNext.next++;
39 @SuppressWarnings("unused")
40 private GeomAbs_Shape(int swigValue) {
41 this.swigValue = swigValue;
42 SwigNext.next = swigValue+1;
45 @SuppressWarnings("unused")
46 private GeomAbs_Shape(GeomAbs_Shape swigEnum) {
47 this.swigValue = swigEnum.swigValue;
48 SwigNext.next = this.swigValue+1;
51 private final int swigValue;
53 private static class SwigNext {
54 private static int next = 0;