gcu::CrystalBond Class Reference

#include <gcu/crystalbond.h>

Inheritance diagram for gcu::CrystalBond:

gcu::Bond gcu::Object List of all members.

Public Member Functions

double X1 (void)
double Y1 (void)
double Z1 (void)
double X2 (void)
double Y2 (void)
double Z2 (void)
double Long ()
double GetRadius ()
virtual void Move (double x, double y, double z)
void Cleave ()
bool IsCleaved ()
virtual xmlNodePtr Save (xmlDocPtr xml)
virtual bool Load (xmlNodePtr node)

Detailed Description

This class will be used to represent bonds inside crystals. It is not implemented yet.

Definition at line 40 of file crystalbond.h.


Member Function Documentation

virtual bool gcu::CrystalBond::Load ( xmlNodePtr  node  )  [virtual]

Parameters:
node,: a pointer to the xmlNode containing the serialized Bond.
Loads a bond from an xmlNode.

Reimplemented from gcu::Bond.

virtual void gcu::CrystalBond::Move ( double  x,
double  y,
double  z 
) [virtual]

Parameters:
x,: the x component of the transation vector.
y,: the y component of the transation vector.
z,: the z component of the transation vector.
Does nothing. Just a slight optimization to avoid execution of Object::Move

Reimplemented from gcu::Bond.

virtual xmlNodePtr gcu::CrystalBond::Save ( xmlDocPtr  xml  )  [virtual]

Parameters:
xml,: the xmlDoc used to save the document.
Returns:
a pointer to the xmlNode representing this Bond or NULL if an error occured.

Reimplemented from gcu::Bond.


The documentation for this class was generated from the following file:
Generated on Tue Aug 15 10:47:36 2006 for The Gnome Chemistry Utils by  doxygen 1.4.7