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 enum TopAbs_Orientation {
\r
17 public final int swigValue() {
\r
21 public static TopAbs_Orientation swigToEnum(int swigValue) {
\r
22 TopAbs_Orientation[] swigValues = TopAbs_Orientation.class.getEnumConstants();
\r
23 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
\r
24 return swigValues[swigValue];
\r
25 for (TopAbs_Orientation swigEnum : swigValues)
\r
26 if (swigEnum.swigValue == swigValue)
\r
28 throw new IllegalArgumentException("No enum " + TopAbs_Orientation.class + " with value " + swigValue);
\r
31 @SuppressWarnings("unused")
\r
32 private TopAbs_Orientation() {
\r
33 this.swigValue = SwigNext.next++;
\r
36 @SuppressWarnings("unused")
\r
37 private TopAbs_Orientation(int swigValue) {
\r
38 this.swigValue = swigValue;
\r
39 SwigNext.next = swigValue+1;
\r
42 @SuppressWarnings("unused")
\r
43 private TopAbs_Orientation(TopAbs_Orientation swigEnum) {
\r
44 this.swigValue = swigEnum.swigValue;
\r
45 SwigNext.next = this.swigValue+1;
\r
48 private final int swigValue;
\r
50 private static class SwigNext {
\r
51 private static int next = 0;
\r