Class Symmetry
java.lang.Object
org.jmol.symmetry.Symmetry
- All Implemented Interfaces:
SymmetryInterface
- Direct Known Subclasses:
XtalSymmetry.FileSymmetry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddBioMoleculeOperation(M4 mat, boolean isReverse) intaddSpaceGroupOperation(String xyz, int opId) voidadjustRangeMinMax(T3[] oabc, float packingRange, P3i minXYZ, P3i maxXYZ, P3 rmin, P3 rmax, P3i newMin, P3i newMax) voidcalculateCIPChiralityForAtoms(Viewer vwr, BS bsAtoms) String[]calculateCIPChiralityForSmiles(String smiles) booleancheckPeriodic(P3 pt, float packing, float packing2) convertTransform(String transform, M4 trm) A general method to handle converstions between string-based and matrix-based representations of transformations.findSpaceGroup(BS atoms, String xyzList, float[] unitCellParams, T3 origin, T3[] oabc, int flags) booleanfixUnitCell(float[] params) geCIFWriterValue(String type) generateCrystalClass(P3 pt00) M4[]intP3[]getCanonicalCopy(float scale, boolean withOffset) int[]floatgetCellWeight(P3 pt) This atom is usually the atom being moved, but in some cases we need to switch to a different atom in order to avoid the special case where a screw axis (SG 224 Wyckoff i) or glide (plane group 12 Wyckoff c) creates a stationary point.booleanintplane 2 freize 2 layer 3 rod 3voidgetEquivPointList(int nInitial, String flags, M4[] opsCtr, float packing, Lst<Point3fi> pts, SymmetryInterface uc) Load a list of initial current points, and one or more starting points with equivalent points.getEquivPoints(Point3fi pt, String flags, float packing) intgetFractionalOffset(boolean onlyIfFractional) determine if an offset cell is a unit translation, so that the space group can be continuedintint[]getInvariantSymops(P3 pt, int[] v0) getIterator(Viewer vwr, Atom atom, BS bsAtoms, float radius) intchargetOperationRsVs(int iop) int0x1 a only frieze, rod-a 0x2 b only rod-b 0x4 c only rod-c 0x3 ab only plane, layer 0x5 ac only n/a 0x6 bc only n/a 0x7 abc all spacegetPointGroupInfo(int modelIndex, String drawID, boolean asInfo, String type, int index, float scale) floatintgetSpaceGroupInfo(ModelSet modelSet, String sgName, int modelIndex, boolean isFull, float[] cellParams) getSpaceGroupInfoObj(String name, Object params, boolean isFull, boolean addNonstandard) getSpaceGroupJSON(String name, String data, int index) getSpaceGroupOperation(int i) intgetSpaceGroupXyzOriginal(int i, boolean doNormalize) intgetSpinIndex(int op) intgetSpinOp(int op) booleangetSubgroupJSON(String nameFrom, String nameTo, int i1, int i2, int flags, Map<String, Object> retMap, Lst<Object> retLst) Retrieve subgroup information for a space group.getSymmetryInfoAtom(ModelSet modelSet, int iatom, String xyz, int op, P3 translation, P3 pt, P3 pt2, String id, int type, float scaleFactor, int nth, int options, int[] opList) When information is desired about the space group, we use SymmetryInfo.String[]getSymopList(boolean doNormalize) getTransform(P3 fracA, P3 fracB, boolean best) getUnitCell(T3[] oabc, boolean setRelative, String name) float[]getUnitCellAsArray(boolean vectorsOnly) getUnitCellInfo(boolean scaled) floatgetUnitCellInfoStr(String type) floatgetUnitCellInfoType(int infoType) Note, this has no origin shift.float[]P3[]P3[]T3[]getWyckoffPosition(P3 p, String letter) booleanvoidinitializeOrientation(M3 mat) booleanisBio()booleanbooleanisSimple()booleanisSlab()booleanbooleanbooleanisWithinUnitCell(P3 pt, float x, float y, float z, float packing) voidnewSpaceGroupPoint(P3 pt, int i, M4 o, int transX, int transY, int transZ, P3 retPoint) notInCentroid(ModelSet modelSet, BS bsAtoms, int[] minmax) removeDuplicates(ModelSet ms, BS bs, boolean highPrec) Saved by CLEG.assignSpaceGroup; retrieved by SpaceGroupFinder.voidsetFinalOperations(int dim, String name, P3[] atoms, int iAtomFirst, int noSymmetryCount, boolean doNormalize, String filterSymop) voidsetLattice(int latt) set symmetry lattice type using Hall rotationsvoidsetOffset(int nnn) voidsetOffsetPt(T3 pt) setPointGroup(Viewer vwr, SymmetryInterface siLast, T3 center, T3[] atomset, BS bsAtoms, boolean haveVibration, float distanceTolerance, float linearTolerance, int maxAtoms, boolean localEnvOnly) voidsetSpaceGroup(boolean doNormalize) voidsetSpaceGroupName(String name) voidvoidsetSpinAxisAngle(A4 aa) voidsetSymmetryInfoFromFile(ModelSet ms, int modelIndex, float[] unitCellParams) Set space group and unit cell from the auxiliary info generated by XtalSymmetry specific to a given model.voidsetUnitCellFromParams(float[] unitCellParams, boolean setRelative, float slop) for Viewer.getSymStatic onlyNormalize the transform, changing for instance a+1/2,b,c to "a,b,c;1/2,0,0" From SpaceGroupFinder only.staticConvertOperation(String xyz, M34 matrix, String labels) staticGetMatrixTransform(String cleg, Object retLstOrMap) staticGetTransformABC(M4 transform, boolean normalize) staticToRationalXYZ(P3 fPt, String sep) staticTransformSpaceGroup(BS bs, String cleg, Object paramsOrUC, SB sb) voidtoCartesian(T3 pt, boolean ignoreOffset) voidvoidtoFractional(T3 pt, boolean ignoreOffset) voidbooleantoFromPrimitive(boolean toPrimitive, char type, T3[] oabc, M3 primitiveToCrystal) toSupercell(P3 fpt) voidtoUnitCell(T3 pt, T3 offset) voidtransformUnitCell(M4 trm) Transform the unit cell based on the calculated transformation matrix.booleanvoid
-
Field Details
-
spaceGroup
-
unitCell
-
isBio
public boolean isBio -
id
-
spinFrameToCartXYZ
-
-
Constructor Details
-
Symmetry
public Symmetry()
-
-
Method Details
-
getSymopList
- Specified by:
getSymopListin interfaceSymmetryInterface
-
isBio
public boolean isBio()- Specified by:
isBioin interfaceSymmetryInterface
-
setPointGroup
public SymmetryInterface setPointGroup(Viewer vwr, SymmetryInterface siLast, T3 center, T3[] atomset, BS bsAtoms, boolean haveVibration, float distanceTolerance, float linearTolerance, int maxAtoms, boolean localEnvOnly) - Specified by:
setPointGroupin interfaceSymmetryInterface
-
getPointGroupName
- Specified by:
getPointGroupNamein interfaceSymmetryInterface
-
getPointGroupInfo
public Object getPointGroupInfo(int modelIndex, String drawID, boolean asInfo, String type, int index, float scale) - Specified by:
getPointGroupInfoin interfaceSymmetryInterface
-
setSpaceGroup
public void setSpaceGroup(boolean doNormalize) - Specified by:
setSpaceGroupin interfaceSymmetryInterface
-
addSpaceGroupOperation
- Specified by:
addSpaceGroupOperationin interfaceSymmetryInterface
-
addBioMoleculeOperation
- Specified by:
addBioMoleculeOperationin interfaceSymmetryInterface
-
setLattice
public void setLattice(int latt) Description copied from interface:SymmetryInterfaceset symmetry lattice type using Hall rotations- Specified by:
setLatticein interfaceSymmetryInterface- Parameters:
latt- SHELX index or character lattice character P I R F A B C S T or \0
-
getSpaceGroup
- Specified by:
getSpaceGroupin interfaceSymmetryInterface
-
getSpaceGroupInfoObj
public Object getSpaceGroupInfoObj(String name, Object params, boolean isFull, boolean addNonstandard) - Specified by:
getSpaceGroupInfoObjin interfaceSymmetryInterface
-
getLatticeDesignation
- Specified by:
getLatticeDesignationin interfaceSymmetryInterface
-
setFinalOperations
public void setFinalOperations(int dim, String name, P3[] atoms, int iAtomFirst, int noSymmetryCount, boolean doNormalize, String filterSymop) - Specified by:
setFinalOperationsin interfaceSymmetryInterface
-
getSpaceGroupOperation
- Specified by:
getSpaceGroupOperationin interfaceSymmetryInterface
-
getSpaceGroupXyzOriginal
- Specified by:
getSpaceGroupXyzOriginalin interfaceSymmetryInterface
-
newSpaceGroupPoint
- Specified by:
newSpaceGroupPointin interfaceSymmetryInterface
-
getSpinOp
public int getSpinOp(int op) - Specified by:
getSpinOpin interfaceSymmetryInterface
-
getLatticeOp
public int getLatticeOp()- Specified by:
getLatticeOpin interfaceSymmetryInterface
-
getLatticeCentering
- Specified by:
getLatticeCenteringin interfaceSymmetryInterface
-
getOperationRsVs
- Specified by:
getOperationRsVsin interfaceSymmetryInterface
-
getSiteMultiplicity
- Specified by:
getSiteMultiplicityin interfaceSymmetryInterface
-
getSpaceGroupName
- Specified by:
getSpaceGroupNamein interfaceSymmetryInterface
-
geCIFWriterValue
- Specified by:
geCIFWriterValuein interfaceSymmetryInterface
-
getLatticeType
public char getLatticeType()- Specified by:
getLatticeTypein interfaceSymmetryInterface
-
getIntTableNumber
- Specified by:
getIntTableNumberin interfaceSymmetryInterface
-
getIntTableIndex
- Specified by:
getIntTableIndexin interfaceSymmetryInterface
-
getIntTableTransform
- Specified by:
getIntTableTransformin interfaceSymmetryInterface
-
getSpaceGroupClegId
- Specified by:
getSpaceGroupClegIdin interfaceSymmetryInterface
-
getSpaceGroupJmolId
- Specified by:
getSpaceGroupJmolIdin interfaceSymmetryInterface
-
getCoordinatesAreFractional
public boolean getCoordinatesAreFractional()- Specified by:
getCoordinatesAreFractionalin interfaceSymmetryInterface
-
getCellRange
public int[] getCellRange()- Specified by:
getCellRangein interfaceSymmetryInterface
-
getSymmetryInfoStr
When information is desired about the space group, we use SymmetryInfo.- Specified by:
getSymmetryInfoStrin interfaceSymmetryInterface
-
getSpaceGroupOperationCount
public int getSpaceGroupOperationCount()- Specified by:
getSpaceGroupOperationCountin interfaceSymmetryInterface
-
getSymmetryOperations
- Specified by:
getSymmetryOperationsin interfaceSymmetryInterface
-
getAdditionalOperationsCount
public int getAdditionalOperationsCount()- Specified by:
getAdditionalOperationsCountin interfaceSymmetryInterface
-
getAdditionalOperations
- Specified by:
getAdditionalOperationsin interfaceSymmetryInterface
-
isSimple
public boolean isSimple()- Specified by:
isSimplein interfaceSymmetryInterface
-
haveUnitCell
public boolean haveUnitCell()- Specified by:
haveUnitCellin interfaceSymmetryInterface
-
setUnitCellFromParams
public SymmetryInterface setUnitCellFromParams(float[] unitCellParams, boolean setRelative, float slop) - Specified by:
setUnitCellFromParamsin interfaceSymmetryInterface
-
unitCellEquals
- Specified by:
unitCellEqualsin interfaceSymmetryInterface
-
isSymmetryCell
- Specified by:
isSymmetryCellin interfaceSymmetryInterface
-
getUnitCellState
- Specified by:
getUnitCellStatein interfaceSymmetryInterface
-
getMoreInfo
- Specified by:
getMoreInfoin interfaceSymmetryInterface
-
initializeOrientation
- Specified by:
initializeOrientationin interfaceSymmetryInterface
-
unitize
- Specified by:
unitizein interfaceSymmetryInterface
-
toUnitCell
- Specified by:
toUnitCellin interfaceSymmetryInterface
-
toSupercell
- Specified by:
toSupercellin interfaceSymmetryInterface
-
toFractional
- Specified by:
toFractionalin interfaceSymmetryInterface
-
toCartesian
- Specified by:
toCartesianin interfaceSymmetryInterface
-
getUnitCellParams
public float[] getUnitCellParams()- Specified by:
getUnitCellParamsin interfaceSymmetryInterface
-
getUnitCellAsArray
public float[] getUnitCellAsArray(boolean vectorsOnly) - Specified by:
getUnitCellAsArrayin interfaceSymmetryInterface
-
getUnitCellVerticesNoOffset
- Specified by:
getUnitCellVerticesNoOffsetin interfaceSymmetryInterface
-
getCartesianOffset
- Specified by:
getCartesianOffsetin interfaceSymmetryInterface
-
getFractionalOffset
determine if an offset cell is a unit translation, so that the space group can be continued- Specified by:
getFractionalOffsetin interfaceSymmetryInterface
-
setOffsetPt
- Specified by:
setOffsetPtin interfaceSymmetryInterface
-
setOffset
public void setOffset(int nnn) - Specified by:
setOffsetin interfaceSymmetryInterface
-
getUnitCellMultiplier
- Specified by:
getUnitCellMultiplierin interfaceSymmetryInterface
-
getUnitCellMultiplied
Note, this has no origin shift.- Specified by:
getUnitCellMultipliedin interfaceSymmetryInterface
-
getCanonicalCopy
- Specified by:
getCanonicalCopyin interfaceSymmetryInterface
-
getUnitCellInfoType
public float getUnitCellInfoType(int infoType) - Specified by:
getUnitCellInfoTypein interfaceSymmetryInterface
-
getUnitCellInfoStr
- Specified by:
getUnitCellInfoStrin interfaceSymmetryInterface
-
getUnitCellInfo
- Specified by:
getUnitCellInfoin interfaceSymmetryInterface
-
isSlab
public boolean isSlab()- Specified by:
isSlabin interfaceSymmetryInterface
-
isPolymer
public boolean isPolymer()- Specified by:
isPolymerin interfaceSymmetryInterface
-
getUnitCellVectors
- Specified by:
getUnitCellVectorsin interfaceSymmetryInterface
-
getUnitCell
- Specified by:
getUnitCellin interfaceSymmetryInterface- Parameters:
oabc- [ptorigin, va, vb, vc]setRelative- a flag only set true for IsosurfaceMeshname-- Returns:
- this SymmetryInterface
-
isSupercell
public boolean isSupercell()- Specified by:
isSupercellin interfaceSymmetryInterface
-
notInCentroid
- Specified by:
notInCentroidin interfaceSymmetryInterface
-
getSymmetryInfoAtom
public Object getSymmetryInfoAtom(ModelSet modelSet, int iatom, String xyz, int op, P3 translation, P3 pt, P3 pt2, String id, int type, float scaleFactor, int nth, int options, int[] opList) - Specified by:
getSymmetryInfoAtomin interfaceSymmetryInterface- Parameters:
modelSet-iatom-xyz-op-translation- TODOpt-pt2- a second point or an offsetid-type- T.point, T.lattice, or T.draw, T.matrix4f, T.label, T.list, T.info, T.translation, T.axis, T.plane, T.angle, T.centerscaleFactor-nth- TODOoptions- could be T.offsetopList-- Returns:
- a variety of object types
-
getSpaceGroupInfo
public Map<String,Object> getSpaceGroupInfo(ModelSet modelSet, String sgName, int modelIndex, boolean isFull, float[] cellParams) - Specified by:
getSpaceGroupInfoin interfaceSymmetryInterface
-
getV0abc
- Specified by:
getV0abcin interfaceSymmetryInterface
-
getQuaternionRotation
- Specified by:
getQuaternionRotationin interfaceSymmetryInterface
-
getFractionalOrigin
- Specified by:
getFractionalOriginin interfaceSymmetryInterface
-
getState
- Specified by:
getStatein interfaceSymmetryInterface
-
getIterator
- Specified by:
getIteratorin interfaceSymmetryInterface
-
toFromPrimitive
- Specified by:
toFromPrimitivein interfaceSymmetryInterface
-
generateCrystalClass
- Specified by:
generateCrystalClassin interfaceSymmetryInterface
-
calculateCIPChiralityForAtoms
- Specified by:
calculateCIPChiralityForAtomsin interfaceSymmetryInterface
-
calculateCIPChiralityForSmiles
- Specified by:
calculateCIPChiralityForSmilesin interfaceSymmetryInterface- Throws:
Exception
-
getUnitCellInfoMap
- Specified by:
getUnitCellInfoMapin interfaceSymmetryInterface
-
setUnitCell
- Specified by:
setUnitCellin interfaceSymmetryInterface
-
findSpaceGroup
public Object findSpaceGroup(BS atoms, String xyzList, float[] unitCellParams, T3 origin, T3[] oabc, int flags) - Specified by:
findSpaceGroupin interfaceSymmetryInterface
-
setSpaceGroupName
- Specified by:
setSpaceGroupNamein interfaceSymmetryInterface
-
setSpaceGroupTo
- Specified by:
setSpaceGroupToin interfaceSymmetryInterface- Parameters:
sg- ITA number, ITA full name ("48:1")
-
removeDuplicates
- Specified by:
removeDuplicatesin interfaceSymmetryInterface
-
getPeriodicity
public int getPeriodicity()0x1 a only frieze, rod-a 0x2 b only rod-b 0x4 c only rod-c 0x3 ab only plane, layer 0x5 ac only n/a 0x6 bc only n/a 0x7 abc all space- Specified by:
getPeriodicityin interfaceSymmetryInterface
-
getDimensionality
public int getDimensionality()plane 2 freize 2 layer 3 rod 3- Specified by:
getDimensionalityin interfaceSymmetryInterface
-
getGroupType
public int getGroupType()- Specified by:
getGroupTypein interfaceSymmetryInterface
-
getEquivPoints
- Specified by:
getEquivPointsin interfaceSymmetryInterface- Parameters:
pt-flags-packing-- Returns:
- A list of equivalent points
-
getEquivPointList
public void getEquivPointList(int nInitial, String flags, M4[] opsCtr, float packing, Lst<Point3fi> pts, SymmetryInterface uc) Load a list of initial current points, and one or more starting points with equivalent points.- Specified by:
getEquivPointListin interfaceSymmetryInterface- Parameters:
nInitial- number of initial pointsflags- indicating input/output Cartesian or fractional optionsopsCtr- centering operations for subgroup filling that are to be used rather than space group operationspacking- if .gte. 0, the fractional packing distance around the unit cell to includepts- total list of initial (current) points, needed for duplication check; additional points are those to be operated on, including the identity operation
-
adjustRangeMinMax
public void adjustRangeMinMax(T3[] oabc, float packingRange, P3i minXYZ, P3i maxXYZ, P3 rmin, P3 rmax, P3i newMin, P3i newMax) - Specified by:
adjustRangeMinMaxin interfaceSymmetryInterface
-
getInvariantSymops
- Specified by:
getInvariantSymopsin interfaceSymmetryInterface- Returns:
- array of 1-based symmetry operation numbers for which the pt is invariant.
-
getWyckoffPosition
- Specified by:
getWyckoffPositionin interfaceSymmetryInterface
-
getTransform
- Specified by:
getTransformin interfaceSymmetryInterface- Parameters:
fracA-fracB-- Returns:
- matrix
-
isWithinUnitCell
- Specified by:
isWithinUnitCellin interfaceSymmetryInterface
-
checkPeriodic
- Specified by:
checkPeriodicin interfaceSymmetryInterface
-
staticConvertOperation
- Specified by:
staticConvertOperationin interfaceSymmetryInterface
-
getSubgroupJSON
public Object getSubgroupJSON(String nameFrom, String nameTo, int i1, int i2, int flags, Map<String, Object> retMap, Lst<Object> retLst) Retrieve subgroup information for a space group. This method allows for recursive searching of the ITA maximal subgroup tree to find a path to a target subgroup. Returns: values are 1-based so that "0" has special meaning, "-" means ignored; "MnV" is Integer.MIN_VALUE Critical information array is: [ isub, ntrm, subIndex, idet, trType ] isub: subgroupNumber ntrm: transformation count subIndex: index of this group-subgroup relationship idet: determinant if determinant >= 1; -1/determinant if determinant invalid input: '<' 1 trType: 1 translationengeliechen, 3 klassengleichen "ct" loss of centering translation, 4 klassengleichen "eu" enlarged unit cell- Specified by:
getSubgroupJSONin interfaceSymmetryInterface- Parameters:
nameFrom-nameTo-i1- for a specific index or Integer.MIN_VALUE for all itaFrom; itaTo ignoredi2- Integer.MIN_VALUE for all, or an index for a specific transformflags- what to do if we don't find a maximal subgroup; if non-zero, we will search the maximal subgroup tree for a path flags = (indexMax invalid input: '<'invalid input: '<' 24) | indexMin invalid input: '<'invalid input: '<' 16 | depthMax invalid input: '<'invalid input: '<' 8 | depthMin- Returns:
- Map, Lst, or String with conjugation class removed (first two characters "a:......")
-
getSpaceGroupJSON
- Specified by:
getSpaceGroupJSONin interfaceSymmetryInterface
-
getCellWeight
- Specified by:
getCellWeightin interfaceSymmetryInterface
-
getPrecision
public float getPrecision()- Specified by:
getPrecisionin interfaceSymmetryInterface
-
fixUnitCell
public boolean fixUnitCell(float[] params) - Specified by:
fixUnitCellin interfaceSymmetryInterface
-
staticGetTransformABC
- Specified by:
staticGetTransformABCin interfaceSymmetryInterface
-
setSymmetryInfoFromFile
Set space group and unit cell from the auxiliary info generated by XtalSymmetry specific to a given model. Only called by ModelLoader.- Parameters:
ms-modelIndex-unitCellParams-
-
transformUnitCell
Transform the unit cell based on the calculated transformation matrix. From SpaceGroupFinder only.- Parameters:
trm-
-
staticCleanTransform
Normalize the transform, changing for instance a+1/2,b,c to "a,b,c;1/2,0,0" From SpaceGroupFinder only.- Specified by:
staticCleanTransformin interfaceSymmetryInterface
-
saveOrRetrieveTransformMatrix
Saved by CLEG.assignSpaceGroup; retrieved by SpaceGroupFinder. One-time save/retrieve a transformation matrix. Just a way for CLEG to pass a transform matrix off to SpaceGroupFinder.- Specified by:
saveOrRetrieveTransformMatrixin interfaceSymmetryInterface
-
getUnitCellDisplayName
- Specified by:
getUnitCellDisplayNamein interfaceSymmetryInterface
-
staticToRationalXYZ
- Specified by:
staticToRationalXYZin interfaceSymmetryInterface
-
getFinalOperationCount
public int getFinalOperationCount()- Specified by:
getFinalOperationCountin interfaceSymmetryInterface
-
convertTransform
A general method to handle converstions between string-based and matrix-based representations of transformations. When the transform is non-null and other than the string "xyz", the trm matrix is filled with the matrix representation corresponding to the given string, which is expected to be in the form specified for the Bilbao Crystallographic Server/International Table of Crystallography "Pp" format (if containing "a", "b", and "c") for basis transformtions. For example, "a+b,-a+b,c;0,0,1/2". The method includes support for expressions that contain reciprocal lattice descriptions "a*", "b*", and "c*", but only when this Symmetry object has a non-null unitCell field. When involving "x", "y", or "z", then the string is expected to have the form for space group operations, for example: "x+y,-x+y,z+1/2"- Specified by:
convertTransformin interfaceSymmetryInterface- Parameters:
transform- the string form to be converted to matrix format; if this string involves abc, a 4x4 column matrix is returned; if xyz, a 4x4 row matrix is returned. For example, "a+b,-a+b,c;0,0,1/2" will fill trm as[ [1 -1 0 0 ] [1 1 0 0 ] [0 0 1 0.5] [0 0 0 1 ] ]while"x+y,-x+y,z+1/2" will fill trm as[ [ 1 1 0 0 ] [-1 1 0 0 ] [ 0 0 1 0.5] [ 0 0 0 1 ] ]trm-- Returns:
- if transform is null, the abc-string equivalent to trm; if transform is "xyz", the xyz-string equivalent to the operation matrix trm; otherwise, the 4x4 matrix representing this transform or operation.
-
staticGetMatrixTransform
- Specified by:
staticGetMatrixTransformin interfaceSymmetryInterface
-
staticTransformSpaceGroup
- Specified by:
staticTransformSpaceGroupin interfaceSymmetryInterface
-
setViewer
Description copied from interface:SymmetryInterfacefor Viewer.getSymStatic only- Specified by:
setViewerin interfaceSymmetryInterface- Parameters:
vwr-id- TODO- Returns:
- this
-
getUnitCellCenter
- Specified by:
getUnitCellCenterin interfaceSymmetryInterface
-
getConstrainableEquivAtom
This atom is usually the atom being moved, but in some cases we need to switch to a different atom in order to avoid the special case where a screw axis (SG 224 Wyckoff i) or glide (plane group 12 Wyckoff c) creates a stationary point. In such a case, we can't do a projection the way we can with an axis or plane.- Specified by:
getConstrainableEquivAtomin interfaceSymmetryInterface
-
setSpinAxisAngle
- Specified by:
setSpinAxisAnglein interfaceSymmetryInterface
-
getSpinIndex
public int getSpinIndex(int op) - Specified by:
getSpinIndexin interfaceSymmetryInterface
-
getSpinSym
- Specified by:
getSpinSymin interfaceSymmetryInterface
-
updatePointGroup
- Specified by:
updatePointGroupin interfaceSymmetryInterface
-
toFractionalSpin
- Specified by:
toFractionalSpinin interfaceSymmetryInterface
-
toCartesianSpin
- Specified by:
toCartesianSpinin interfaceSymmetryInterface
-