Package org.openscience.cdk.geometry.cip
Class VisitedAtoms
java.lang.Object
org.openscience.cdk.geometry.cip.VisitedAtoms
Helper class for the
CIPTool
to keep track of which atoms have
already been visited.- Source code:
- main
- Belongs to CDK module:
- cip
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VisitedAtoms
public VisitedAtoms()Creates a new empty list of visitedIAtom
s.
-
-
Method Details
-
isVisited
Returns true if the given atom already has been visited. -
visited
Marks the given atom as visited.- Parameters:
atom
-IAtom
that is now marked as visited
-
visited
Adds all atoms from thevisitedAtoms
list to the current list.- Parameters:
visitedAtoms
- theVisitedAtoms
from which all atoms are added
-