Package org.jmol.symmetry
Class SymmetryOperation
java.lang.Object
javajs.util.M34
javajs.util.M4
org.jmol.symmetry.SymmetryOperation
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGet string version of fractionstatic SymmetryOperation[]getAdditionalOperations(SymmetryOperation[] ops, int periodicity) getCode()static chargetGlideFromTrans(T3 ftrans, T3 ax1) getInfo()static StringgetMatrixFromString(SymmetryOperation op, String xyz, float[] linearRotTrans, boolean allowScaling, boolean halfOrLess, boolean retString) Convert the Jones-Faithful notation "x, -z+1/2, y" or "x1, x3-1/2, x2, x5+1/2, -x6+1/2, x7..." to a linear array Also allows a-b,-5a-5b,-c;0,0,0 formatstatic M4getMatrixFromXYZ(String xyz, float[] v, boolean halfOrLess) intintstatic StringgetTransformABC(Object transform, boolean normalize) static final StringgetXYZFromMatrix(M4 mat, boolean is12ths, boolean allPositive, boolean halfOrLess) static final StringgetXYZFromMatrixFrac(M4 mat, boolean is12ths, boolean allPositive, boolean halfOrLess, boolean allowFractions) static StringgetXYZFromRsVs(Matrix rs, Matrix vs, boolean is12ths) getxyzTrans(T3 t) static voidnormalize12ths(V3 vtrans) static voidnormalizeOperationToCentroid(int dim, M4 m, P3[] fracPts, int i0, int n) Adjust the translation for this operator so that it moves the center of mass of the full set of atoms into the cell.voidtoString()Returns a string that contains the values of this Matrix4f.Methods inherited from class javajs.util.M4
add, determinant4, equals, getColumn, getElement, getRotationScale, getRow, getTranslation, hashCode, invert, mul, mul2, newA16, newM4, newMV, rotTrans, rotTrans2, round, scale, setA, setAsXYRotation, setAsXZRotation, setAsYZRotation, setColumn4, setColumnA, setElement, setIdentity, setM4, setMV, setRotationScale, setRowA, setToAA, setToM3, setTranslation, setZero, sub, transform, transform2, transpose
-
Field Details
-
subsystemCode
-
opIsLong
public boolean opIsLong
-
-
Method Details
-
setSigma
-
getxyzTrans
-
getMatrixFromXYZ
-
getMatrixFromString
public static String getMatrixFromString(SymmetryOperation op, String xyz, float[] linearRotTrans, boolean allowScaling, boolean halfOrLess, boolean retString) Convert the Jones-Faithful notation "x, -z+1/2, y" or "x1, x3-1/2, x2, x5+1/2, -x6+1/2, x7..." to a linear array Also allows a-b,-5a-5b,-c;0,0,0 format- Parameters:
op-xyz-linearRotTrans-allowScaling-halfOrLess-retString-- Returns:
- canonized Jones-Faithful string
-
getXYZFromMatrix
-
getXYZFromMatrixFrac
-
fcoord
Get string version of fraction- Parameters:
p-sep- space or comma- Returns:
- "1/2" for example
-
getXYZFromRsVs
-
toString
Description copied from class:M4Returns a string that contains the values of this Matrix4f. -
getInfo
-
normalizeOperationToCentroid
Adjust the translation for this operator so that it moves the center of mass of the full set of atoms into the cell.- Parameters:
dim-m-fracPts-i0- first indexn- number of atoms
-
getLatticeCentering
-
getOpIsCCW
-
getOpType
public int getOpType() -
getOpOrder
public int getOpOrder() -
getOpPoint
-
getOpAxis
-
getOpPoint2
-
getOpTrans
-
getAdditionalOperations
-
normalize12ths
-
getCode
-
getGlideFromTrans
-
getTransformABC
-