Science_Chemistry
[ class tree: Science_Chemistry ] [ index: Science_Chemistry ] [ all elements ]

Class: Science_Chemistry_Atom_PDB

Source Location: /Science_Chemistry-1.1.2/Science/Chemistry/Atom_PDB.php

Class Overview

Science_Chemistry_Atom
   |
   --Science_Chemistry_Atom_PDB

Represents a PDB atom record and contains a reference to the PDB residue to which it belongs


Author(s):

Version:

  • 1.0

Variables

Methods


Inherited Variables

Inherited Methods

Class: Science_Chemistry_Atom

Science_Chemistry_Atom::Science_Chemistry_Atom()
Constructor for the class, requires the element symbol and an optional array of coordinates
Science_Chemistry_Atom::distance()
Calculates the cartesian distance from this atom instance to another
Science_Chemistry_Atom::getCoordinates()
Returns the coordinates object for the atom
Science_Chemistry_Atom::getElement()
Returns the chemical symbol for the atom
Science_Chemistry_Atom::isAtom()
Checks if the object is an instance of Science_Chemistry_Atom
Science_Chemistry_Atom::setCoordinates()
Sets the coordinates for the atom object
Science_Chemistry_Atom::toCML()
Returns a CML representation of the Science_Chemistry_Atom object Accepts an optional id
Science_Chemistry_Atom::toString()
Returns a string representation of the Science_Chemistry_Atom object Alias of toXYZ()
Science_Chemistry_Atom::toXYZ()
Returns a XYZ representation of the Science_Chemistry_Atom object

Class Details

[line 33]
Represents a PDB atom record and contains a reference to the PDB residue to which it belongs


[ Top ]


Class Variables

$parent_residue =

[line 158]

Reference to the containing Residue object
  • Access: public

Type:   object Residue_PDB


[ Top ]

$VALID =  false

[line 150]

If the atom object has been initialized
  • See: initAtom()
  • Access: public

Type:   boolean


[ Top ]



Method Detail

Science_Chemistry_Atom_PDB (Constructor)   [line 161]

Science_Chemistry_Atom_PDB Science_Chemistry_Atom_PDB( &$atomrec, [ &$residue = ""])


Parameters:

   &$atomrec   — 
   &$residue   — 

[ Top ]

getField   [line 191]

void getField( $field)


Parameters:

   $field   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.