Package ffx.crystal
Enum Class LaueSystem
- All Implemented Interfaces:
Serializable
,Comparable<LaueSystem>
,Constable
Enumeration of the different Laue systems. Some are only used for nonstandard cells.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkRestrictions
(int h, int k, int l) Check the given HKL is valid given the Laue system.static LaueSystem
Returns the enum constant of this class with the specified name.static LaueSystem[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
L111
-
L112
-
L121
-
L211
-
L21U
-
L21V
-
L21W
-
L21X
-
L21Y
-
L21Z
-
L222
-
L22U
-
L22V
-
L22W
-
L114
-
L141
-
L411
-
L224
-
L242
-
L422
-
L113
-
L131
-
L311
-
L11T
-
L1T1
-
LT11
-
L31A
-
L31B
-
L31C
-
L31D
-
L223
-
L232
-
L322
-
L32A
-
L32B
-
L32C
-
L32D
-
L32U
-
L32V
-
L32W
-
L32X
-
L32Y
-
L32Z
-
LM3B
-
LM3M
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
checkRestrictions
public boolean checkRestrictions(int h, int k, int l) Check the given HKL is valid given the Laue system.- Parameters:
h
- an int.k
- an int.l
- an int.- Returns:
- True if the reflection is valid, false otherwise.
-