Structure with the bond information needed to render an atomic bond.
More...
|
Atom | a1 |
|
Atom | a2 |
| Atoms to draw a bond in between of.
|
|
real | infinity = 1000000000 |
| Maximum distance over which no bond can be drawn.
|
|
Structure with the bond information needed to render an atomic bond.
void Bond::draw |
( |
real |
max_dist = infinity , |
|
|
real |
min_dist = 0 , |
|
|
real |
radius = 6 , |
|
|
light |
l = currentlight |
|
) |
| |
|
inline |
Draw the bond between atoms a1 and a2.
- Parameters
-
max_dist | Draw if the distance between them is less than max_dist |
min_dist | Draw if the distance between them is greater than min_dist |
radius | Radius of the bond |
light | Custom light for the bond |
void Bond::operator init |
( |
Atom |
atom_1, |
|
|
Atom |
atom_2 |
|
) |
| |
|
inline |
Constructor with atoms.
- Parameters
-
atom_1 | First atom |
atom_2 | Second atom |
The documentation for this struct was generated from the following file: