|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--org.xmlcml.tools.RingOverlapImpl
holds information about overlap between two rings (fused or bridged). At present propellanes will give three distinct RingOverlaps - I shall probably change this.
| Field Summary | |
protected Atom |
atom1
bridgehead atoms |
protected Atom |
atom2
|
protected AtomSet |
atomSet
atoms in the overlap |
protected BondSet |
bondSet
bonds in the overlap |
static int |
BRIDGED
rings are fused (two or more bonds in common) |
static int |
FUSED
rings are fused (one bond in common) |
protected java.util.Vector |
orderedBondVector
ordered bonds - traversal starts at one bridgehead and ends at the other |
protected Ring[] |
rings
rings involved |
protected int |
type
type of overlap (FUSED/BRIDGED) |
static java.lang.String[] |
typeString
|
static int |
UNKNOWN
state is unknown |
| Fields inherited from interface org.xmlcml.tools.RingOverlap |
BRIDGED,
FUSED,
typeString,
UNKNOWN |
| Constructor Summary | |
RingOverlapImpl()
|
|
RingOverlapImpl(Ring ring1,
Ring ring2)
create from two rings. |
|
| Method Summary | |
AtomSet |
getAtomSet()
get the atoms in the overlap |
BondSet |
getBondSet()
get the bonds in the overlap |
Atom |
getBridgeheadAtom(int i)
returns atoms at end o bridgehead (i=0 or i=1) |
java.util.Vector |
getOrderedBondVector()
get the ordered bonds in the overlap |
Ring |
getOtherRing(Ring ring)
if exactly two rings, return the other one |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int UNKNOWN
public static final int FUSED
public static final int BRIDGED
public static final java.lang.String[] typeString
protected int type
protected Ring[] rings
protected Atom atom1
protected Atom atom2
protected AtomSet atomSet
protected BondSet bondSet
protected java.util.Vector orderedBondVector
| Constructor Detail |
public RingOverlapImpl()
public RingOverlapImpl(Ring ring1,
Ring ring2)
throws CMLException
| Method Detail |
public java.util.Vector getOrderedBondVector()
public Ring getOtherRing(Ring ring)
public Atom getBridgeheadAtom(int i)
public AtomSet getAtomSet()
public BondSet getBondSet()
public java.lang.String toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||