Objects of class MTAtom represent ATOM and HETATM lines in PDB files.
NEW: every atom can have a partial charge and is of a defined chemical type (element). This information is parsed from and written to PDB files.
Class MTAtom inherits from class MTCoordinates (3.9) and implements the additional methods:
| * read-only access | |
| -(NSString*)name |
|
| -(NSNumber*)number |
|
| -(double)temperature |
|
| -(int)element |
ELEMENT_ID_H = 1
Just to name a few. |
| -(NSString*)elementName |
|
| -(int)charge |
|
| * bonding | |
| -(NSEnumerator*)allBondedAtoms |
|
| -(void)bondTo: (MTAtom*)atm2 |
|
| -(void)dropAllBonds |
|
| -(void)dropBondTo:(MTAtom*)atm2 |
|
| *setters | |
| -(id)setNumber: (int)serial |
|
| -(id)setCharge: (int)chrg |
|
| -(id)setElement: (int)elid |
|
| -(id)setElementWithName: (char*)elname |
|
| +(MTAtom*)atomWithNumber: (unsigned int)num name: (char*)nm X:(double)x Y:(double)y Z:(double)z B:(double)b |
|
moltalk@moltalk.org version of this document: V3.0