RDDepict::EmbeddedAtom Class Reference

Class that contains the data for an atoms that has alredy been embedded. More...

#include <EmbeddedFrag.h>

List of all members.

Public Types

enum  EAtomType { UNSPECIFIED = 0, CISTRANS, RING }

Public Member Functions

 EmbeddedAtom ()
 EmbeddedAtom (unsigned int aid, const RDGeom::Point2D &pos)
EmbeddedAtomoperator= (const EmbeddedAtom &other)
void Transform (const RDGeom::Transform2D &trans)
void Reflect (const RDGeom::Point2D &loc1, const RDGeom::Point2D &loc2)

Public Attributes

unsigned int aid
double angle
int nbr1
 the first neighbor of this atom that form the 'angle'
int nbr2
 the second neighbor of atom that from the 'angle'
int CisTransNbr
bool ccw
int rotDir
RDGeom::Point2D loc
RDGeom::Point2D normal
RDKit::INT_VECT neighs
 and these are the atom IDs of the neighbors that still need to be embedded
double d_density


Detailed Description

Class that contains the data for an atoms that has alredy been embedded.

Definition at line 25 of file EmbeddedFrag.h.


Member Enumeration Documentation

Enumerator:
UNSPECIFIED 
CISTRANS 
RING 

Definition at line 27 of file EmbeddedFrag.h.


Constructor & Destructor Documentation

RDDepict::EmbeddedAtom::EmbeddedAtom (  )  [inline]

Definition at line 32 of file EmbeddedFrag.h.

References neighs.

RDDepict::EmbeddedAtom::EmbeddedAtom ( unsigned int  aid,
const RDGeom::Point2D pos 
) [inline]

Definition at line 37 of file EmbeddedFrag.h.

References loc.


Member Function Documentation

EmbeddedAtom& RDDepict::EmbeddedAtom::operator= ( const EmbeddedAtom other  )  [inline]

Definition at line 43 of file EmbeddedFrag.h.

References angle, ccw, CisTransNbr, d_density, loc, nbr1, nbr2, neighs, normal, and rotDir.

void RDDepict::EmbeddedAtom::Transform ( const RDGeom::Transform2D trans  )  [inline]

Definition at line 57 of file EmbeddedFrag.h.

References loc, normal, and RDGeom::Transform2D::TransformPoint().

void RDDepict::EmbeddedAtom::Reflect ( const RDGeom::Point2D loc1,
const RDGeom::Point2D loc2 
) [inline]

Definition at line 64 of file EmbeddedFrag.h.

References ccw, loc, normal, and RDDepict::reflectPoint().


Member Data Documentation

Definition at line 73 of file EmbeddedFrag.h.

the angle that is already takes at this atom, so any new atom attaching to this atom with have to fall in the available part

Definition at line 77 of file EmbeddedFrag.h.

Referenced by operator=().

the first neighbor of this atom that form the 'angle'

Definition at line 80 of file EmbeddedFrag.h.

Referenced by operator=().

the second neighbor of atom that from the 'angle'

Definition at line 83 of file EmbeddedFrag.h.

Referenced by operator=().

is this is a cis/trans atom the neighbor of this atom that is involved in the cis/trans system - defaults to -1

Definition at line 87 of file EmbeddedFrag.h.

Referenced by operator=().

which direction do we rotate this normal to add the next bond if ccw is true we rotate counter cloack wise, otherwise rotate clock wise, by an angle that is <= PI/2

Definition at line 92 of file EmbeddedFrag.h.

Referenced by operator=(), and Reflect().

rotation direction around this atom when adding new atoms, we determine this for the first neighbor and stick to this direction after that useful only on atoms that are degree >= 4

Definition at line 97 of file EmbeddedFrag.h.

Referenced by operator=().

Definition at line 99 of file EmbeddedFrag.h.

Referenced by EmbeddedAtom(), operator=(), Reflect(), and Transform().

this is a normal vector to one of the bonds that added this atom it provides the side on which we want to add a new bond to this atom, this is only relevant when we are dealing with non ring atoms. We would like to draw chains in a zig-zag manner

Definition at line 104 of file EmbeddedFrag.h.

Referenced by operator=(), Reflect(), and Transform().

and these are the atom IDs of the neighbors that still need to be embedded

Definition at line 107 of file EmbeddedFrag.h.

Referenced by EmbeddedAtom(), and operator=().

Definition at line 112 of file EmbeddedFrag.h.

Referenced by operator=().


The documentation for this class was generated from the following file:

Generated on Tue Oct 7 06:10:12 2008 for RDCode by  doxygen 1.5.5