$darkmode
|
DENOPTIM
|
A light-weight atom representation to facilitate json serialization of IAtom.
More...
Public Member Functions | |
| LWAtom (String elSymbol, Point3d p3d) | |
| Constructor. More... | |
| IAtom | toIAtom () |
| Returns a CDK representation of this center. More... | |
Protected Attributes | |
| String | elSymbol = "" |
| The elemental symbol of this center, i.e., an atom or a pseudo-atom. More... | |
| Point3d | p3d = null |
| Cartesian coordinates of this center. More... | |
A light-weight atom representation to facilitate json serialization of IAtom.
Definition at line 36 of file LWAtom.java.
| denoptim.json.LWAtom.LWAtom | ( | String | elSymbol, |
| Point3d | p3d | ||
| ) |
Constructor.
| elSymbol | the elemental symbol |
| p3d | the Cartesian coordinated of this center |
Definition at line 55 of file LWAtom.java.
References denoptim.json.LWAtom.elSymbol, and denoptim.json.LWAtom.p3d.
| IAtom denoptim.json.LWAtom.toIAtom | ( | ) |
Returns a CDK representation of this center.
Definition at line 67 of file LWAtom.java.
References denoptim.json.LWAtom.elSymbol, denoptim.utils.MoleculeUtils.isElement(), and denoptim.json.LWAtom.p3d.
Referenced by denoptim.json.IAtomContainerDeserializer.deserialize().
|
protected |
The elemental symbol of this center, i.e., an atom or a pseudo-atom.
Definition at line 41 of file LWAtom.java.
Referenced by denoptim.json.LWAtom.LWAtom(), and denoptim.json.LWAtom.toIAtom().
|
protected |
Cartesian coordinates of this center.
Definition at line 46 of file LWAtom.java.
Referenced by denoptim.json.LWAtom.LWAtom(), and denoptim.json.LWAtom.toIAtom().