MTAtomFactory

Instantiation of MTAtom objects is controlled by this factory. A subclass of MTAtomFactory might create instances of an user-defined subclass of MTAtom.

Methods:

+(id)newAtomWithNumber: (int)serial name: (char*)name X:(double)x Y:(double)y Z:(double)z B:(double)b create a new atom (3.8) with number, name and coordinates. This invocation uses only basic data types and may be called from ObjC code.
+(id)createAtomWithNumber: (NSNumber*)serial name: (NSString*)name X:(double)x Y:(double)y Z:(double)z B:(double)b create a new atom (3.8) with number, name and coordinates. This invocation is to be used in MolTalk scripts.



moltalk@moltalk.org      version of this document: V3.0