#include <gcu/bond.h>
Inheritance diagram for gcu::Bond:

Public Member Functions | |
| Bond () | |
| Bond (Atom *first, Atom *last, unsigned char order) | |
| virtual | ~Bond () |
| virtual Atom * | GetAtom (int which) |
| virtual Atom * | GetAtom (Atom *pAtom, int which=0) |
| unsigned char | GetOrder () |
| void | SetOrder (unsigned char Order) |
| virtual xmlNodePtr | Save (xmlDocPtr xml) |
| virtual bool | Load (xmlNodePtr node) |
| virtual void | IncOrder (int n=1) |
| virtual bool | LoadNode (xmlNodePtr node) |
| virtual bool | SaveNode (xmlDocPtr xml, xmlNodePtr node) |
| virtual void | Move (double x, double y, double z=0.) |
| virtual void | Transform2D (Matrix2D &m, double x, double y) |
Protected Attributes | |
| unsigned char | m_order |
| Atom * | m_Begin |
| Atom * | m_End |
Definition at line 44 of file bond.h.
|
|
The default constructor. Creates a bond with order set to 0. |
|
||||||||||||||||
|
|
|
|
The destructor of Bond. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from gcu::Object. Reimplemented in gcu::CrystalBond. |
|
|
|
|
||||||||||||||||
|
Reimplemented from gcu::Object. Reimplemented in gcu::CrystalBond. |
|
|
Reimplemented from gcu::Object. Reimplemented in gcu::CrystalBond. |
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Reimplemented from gcu::Object. |
|
|
|
|
The order of the bond. |
1.4.1