org.jmol.util
Class SimpleUnitCell
java.lang.Object
org.jmol.util.SimpleUnitCell
- Direct Known Subclasses:
- UnitCell
public class SimpleUnitCell
- extends Object
general-purpose simple unit cell for calculations
and as a super-class of unitcell, which is only part of Symmetry
allows one-dimensional (polymer) and two-dimensional (slab)
periodicity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notionalUnitcell
protected float[] notionalUnitcell
matrixCartesianToFractional
protected Matrix4f matrixCartesianToFractional
matrixFractionalToCartesian
protected Matrix4f matrixFractionalToCartesian
toRadians
protected static final float toRadians
- See Also:
- Constant Field Values
a
protected float a
b
protected float b
c
protected float c
alpha
protected float alpha
beta
protected float beta
gamma
protected float gamma
cosAlpha
protected double cosAlpha
sinAlpha
protected double sinAlpha
cosBeta
protected double cosBeta
sinBeta
protected double sinBeta
cosGamma
protected double cosGamma
sinGamma
protected double sinGamma
volume
protected double volume
cA_
protected double cA_
cB_
protected double cB_
a_
protected double a_
b_
protected double b_
c_
protected double c_
dimension
protected int dimension
matrixCtoFAbsolute
protected Matrix4f matrixCtoFAbsolute
matrixFtoCAbsolute
protected Matrix4f matrixFtoCAbsolute
SimpleUnitCell
public SimpleUnitCell(float[] parameters)
isValid
public static boolean isValid(float[] parameters)
toCartesian
public final void toCartesian(Point3f pt,
boolean isAbsolute)
toFractional
public final void toFractional(Point3f pt,
boolean isAbsolute)
getNotionalUnitCell
public final float[] getNotionalUnitCell()
getUnitCellAsArray
public final float[] getUnitCellAsArray()
isPolymer
public boolean isPolymer()
isSlab
public boolean isSlab()
getInfo
public final float getInfo(int infoType)