Logo Search packages:      
Sourcecode: cdk version File versions  Download package

Public Member Functions | Package Functions | Static Package Attributes | Private Member Functions | Private Attributes

org::openscience::cdk::layout::RingPlacer Class Reference

Collaboration diagram for org::openscience::cdk::layout::RingPlacer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean allPlaced (IRingSet rs)
void checkAndMarkPlaced (IRingSet rs)
AtomPlacer getAtomPlacer ()
IMolecule getMolecule ()
double getNativeRingRadius (IRing ring, double bondLength)
void partitionNonRingPartners (IAtom atom, IRing ring, IAtomContainer ringAtoms, IAtomContainer nonRingAtoms)
void placeFusedRing (IRing ring, IAtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength)
void placeRing (IRing ring, Point2d ringCenter, double bondLength)
void placeRing (IRing ring, IAtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength)
IAtomContainer placeRingSubstituents (IRingSet rs, double bondLength)
void placeSpiroRing (IRing ring, IAtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength)
 RingPlacer ()
void setAtomPlacer (AtomPlacer atomPlacer)
void setMolecule (IMolecule molecule)

Package Functions

Vector2d getRingCenterOfFirstRing (IRing ring, Vector2d bondVector, double bondLength)
void placeConnectedRings (IRingSet rs, IRing ring, int handleType, double bondLength)

Static Package Attributes

static int BRIDGED = 1
static final boolean debug = false
static int FUSED = 0
static int SPIRO = 2

Private Member Functions

IAtom[] getBridgeAtoms (IAtomContainer sharedAtoms)
void placeBridgedRing (IRing ring, IAtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength)

Private Attributes

AtomPlacer atomPlacer = new AtomPlacer()
LoggingTool logger
IMolecule molecule

Detailed Description

Class providing methods for generating coordinates for ring atoms. Various situations are supported, like condensation, spiro-attachment, etc. They can be used for Automated Structure Diagram Generation or in the interactive buildup of ringsystems by the user.

.module sdg .githash

Definition at line 55 of file RingPlacer.java.


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

Generated by  Doxygen 1.6.0   Back to index