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
Enum ConstantDescriptionLaue System 111.Laue System 112.Laue System 113.Laue System 114.Laue System 11T.Laue System 121.Laue System 131.Laue System 141.Laue System 1T1.Laue System 211.Laue System 21U.Laue System 21V.Laue System 21W.Laue System 21X.Laue System 21Y.Laue System 21Z.Laue System 222.Laue System 223.Laue System 224.Laue System 22U.Laue System 22V.Laue System 22W.Laue System 232.Laue System 242.Laue System 311.Laue System 31A.Laue System 31B.Laue System 31C.Laue System 31D.Laue System 322.Laue System 32A.Laue System 32B.Laue System 32C.Laue System 32D.Laue System 32U.Laue System 32V.Laue System 32W.Laue System 32X.Laue System 32Y.Laue System 32Z.Laue System 411.Laue System 422.Laue System M3B.Laue System M3M.Laue System T11. -
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
Laue System 111. -
L112
Laue System 112. -
L121
Laue System 121. -
L211
Laue System 211. -
L21U
Laue System 21U. -
L21V
Laue System 21V. -
L21W
Laue System 21W. -
L21X
Laue System 21X. -
L21Y
Laue System 21Y. -
L21Z
Laue System 21Z. -
L222
Laue System 222. -
L22U
Laue System 22U. -
L22V
Laue System 22V. -
L22W
Laue System 22W. -
L114
Laue System 114. -
L141
Laue System 141. -
L411
Laue System 411. -
L224
Laue System 224. -
L242
Laue System 242. -
L422
Laue System 422. -
L113
Laue System 113. -
L131
Laue System 131. -
L311
Laue System 311. -
L11T
Laue System 11T. -
L1T1
Laue System 1T1. -
LT11
Laue System T11. -
L31A
Laue System 31A. -
L31B
Laue System 31B. -
L31C
Laue System 31C. -
L31D
Laue System 31D. -
L223
Laue System 223. -
L232
Laue System 232. -
L322
Laue System 322. -
L32A
Laue System 32A. -
L32B
Laue System 32B. -
L32C
Laue System 32C. -
L32D
Laue System 32D. -
L32U
Laue System 32U. -
L32V
Laue System 32V. -
L32W
Laue System 32W. -
L32X
Laue System 32X. -
L32Y
Laue System 32Y. -
L32Z
Laue System 32Z. -
LM3B
Laue System M3B. -
LM3M
Laue System M3M.
-
-
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.
-