public static enum SoArray.Origins extends java.lang.Enum<SoArray.Origins> implements IntegerValuedEnum
Enum Constant and Description |
---|
CENTER
Copies are distributed relative to the center of the array.
|
FIRST
First copy is rendered at the current local origin; all other copies are distributed relative to it.
|
LAST
Last copy is rendered at the current local origin; all other copies are distributed relative to it.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoArray.Origins |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoArray.Origins |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoArray.Origins[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoArray.Origins FIRST
public static final SoArray.Origins CENTER
public static final SoArray.Origins LAST
public static SoArray.Origins[] values()
for (SoArray.Origins c : SoArray.Origins.values()) System.out.println(c);
public static SoArray.Origins valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoArray.Origins valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com