Package org.biojava.nbio.structure.xtal
Class UnitCellBoundingBox
java.lang.Object
org.biojava.nbio.structure.xtal.UnitCellBoundingBox
A class to contain the BoundingBoxes of all molecules in a full unit cell
- Author:
- duarte_j
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAuBoundingBox
(int cellIdx) Get the AU BoundingBox for the given cell index (cellIdx=0 would be original AU) The AU BoundingBox is the BoundingBox that bounds all chains belonging to the AUgetChainBoundingBox
(int cellIdx, int chainIdx) Get the chain BoundingBox for the given cell index (cellIdx=0 would be original AU) and chain indexgetTranslatedBbs
(javax.vecmath.Vector3d translation) Returns a new BoundingBoxes object containing the same bounds as this BoundingBoxes object translated by the given translationvoid
-
Constructor Details
-
UnitCellBoundingBox
public UnitCellBoundingBox(int numOperatorsSg, int numChainsAu)
-
-
Method Details
-
setBbs
-
getChainBoundingBox
Get the chain BoundingBox for the given cell index (cellIdx=0 would be original AU) and chain index- Parameters:
cellIdx
-chainIdx
-- Returns:
-
getAuBoundingBox
Get the AU BoundingBox for the given cell index (cellIdx=0 would be original AU) The AU BoundingBox is the BoundingBox that bounds all chains belonging to the AU- Parameters:
cellIdx
-- Returns:
-
getTranslatedBbs
Returns a new BoundingBoxes object containing the same bounds as this BoundingBoxes object translated by the given translation- Parameters:
translation
-- Returns:
-