Enum SymmetryPerceptionMethod
- java.lang.Object
-
- java.lang.Enum<SymmetryPerceptionMethod>
-
- org.biojava.nbio.structure.symmetry.core.SymmetryPerceptionMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<SymmetryPerceptionMethod>
public enum SymmetryPerceptionMethod extends Enum<SymmetryPerceptionMethod>
Method used for symmetry perception in theQuatSymmetryDetector
.- Since:
- 5.0.0
- Author:
- Aleix Lafita
-
-
Enum Constant Summary
Enum Constants Enum Constant Description C2_ROTATION
NO_ROTATION
ROTATION
ROTO_TRANSLATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SymmetryPerceptionMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static SymmetryPerceptionMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ROTATION
public static final SymmetryPerceptionMethod NO_ROTATION
-
C2_ROTATION
public static final SymmetryPerceptionMethod C2_ROTATION
-
ROTATION
public static final SymmetryPerceptionMethod ROTATION
-
ROTO_TRANSLATION
public static final SymmetryPerceptionMethod ROTO_TRANSLATION
-
-
Method Detail
-
values
public static SymmetryPerceptionMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SymmetryPerceptionMethod c : SymmetryPerceptionMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymmetryPerceptionMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-