Interface ICrystal

    • Method Detail

      • add

        void add​(IAtomContainer container)
        Adds the atoms in the AtomContainer as cell content. Symmetry related atoms should not be added unless P1 space group is used.
        Specified by:
        add in interface IAtomContainer
        Parameters:
        container - The molecule to add
      • addAtom

        void addAtom​(IAtom atom)
        Adds the atom to the crystal. Symmetry related atoms should not be added unless P1 space group is used.
        Specified by:
        addAtom in interface IAtomContainer
        Parameters:
        atom - the atom to add
      • setA

        void setA​(javax.vecmath.Vector3d newAxis)
        Sets the A unit cell axes in carthesian coordinates in a eucledian space.
        Parameters:
        newAxis - the new A axis
        See Also:
        getA()
      • getA

        javax.vecmath.Vector3d getA()
        Gets the A unit cell axes in carthesian coordinates as a three element double array.
        Returns:
        a Vector3D representing the A axis
        See Also:
        setA(javax.vecmath.Vector3d)
      • setB

        void setB​(javax.vecmath.Vector3d newAxis)
        Sets the B unit cell axes in carthesian coordinates.
        Parameters:
        newAxis - the new B axis
        See Also:
        getB()
      • getB

        javax.vecmath.Vector3d getB()
        Gets the B unit cell axes in carthesian coordinates as a three element double array.
        Returns:
        a Vector3D representing the B axis
        See Also:
        setB(javax.vecmath.Vector3d)
      • setC

        void setC​(javax.vecmath.Vector3d newAxis)
        Sets the C unit cell axes in carthesian coordinates.
        Parameters:
        newAxis - the new C axis
        See Also:
        getC()
      • getC

        javax.vecmath.Vector3d getC()
        Gets the C unit cell axes in carthesian coordinates as a three element double array.
        Returns:
        a Vector3D representing the C axis
        See Also:
        setC(javax.vecmath.Vector3d)
      • setSpaceGroup

        void setSpaceGroup​(String group)
        Sets the space group of this crystal.
        Parameters:
        group - the space group of this crystal structure
        See Also:
        getSpaceGroup()
      • getZ

        Integer getZ()
        Gets the number of asymmetric parts in the unit cell.
        Returns:
        the number of assymetric parts in the unit cell
        See Also:
        setZ(java.lang.Integer)
      • setZ

        void setZ​(Integer value)
        Sets the number of assymmetric parts in the unit cell.
        Parameters:
        value - the number of assymetric parts in the unit cell
        See Also:
        getZ()