svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=596669
m_atomRadiusFactor = atomRadiusFactor;
}
-MolStyle& MolStyle::operator=( const MolStyle& other )
-{
- m_bondStyle = other.m_bondStyle;
- m_atomStyle = other.m_atomStyle;
- m_singleBondRadius = other.m_singleBondRadius;
- m_renderMultipleBonds = other.m_renderMultipleBonds;
- m_multipleBondRadius = other.m_multipleBondRadius;
- m_multipleBondShift = other.m_multipleBondShift;
- m_atomRadiusFactor = other.m_atomRadiusFactor;
-
- return *this;
-}
-
double MolStyle::getAtomRadius( int atomicNumber )
{
switch( m_atomStyle )
double multipleBondShift,
double atomRadiusFactor );
- MolStyle& operator=( const MolStyle& other );
-
/** This function returns the radius in which an atom with given atomic
* number should be rendered, when using this style */
double getAtomRadius( int atomicNumber );
+
/** This function returns the radius in which the passed OBAtom
* should be rendered, when using this style */
inline double getAtomRadius( const OpenBabel::OBAtom *atom )