public interface IChemObjectSelection
IAtomContainer
or
IChemModel
.Modifier and Type | Method and Description |
---|---|
boolean |
contains(IChemObject obj)
Determines if the
IChemObject is part of the current selection. |
<E extends IChemObject> |
elements(Class<E> clazz)
Returns a
Collection of all selected IChemObject s of the
given type. |
IAtomContainer |
getConnectedAtomContainer()
Make an IAtomContainer where all the bonds
only have atoms that are in the selection.
|
boolean |
isFilled()
The opposite of a method like "isEmpty".
|
void |
select(IChemModel chemModel)
Perform a selection by some method.
|
void select(IChemModel chemModel)
chemModel
- an IChemModel to select from.IAtomContainer getConnectedAtomContainer()
boolean isFilled()
boolean contains(IChemObject obj)
IChemObject
is part of the current selection.obj
- IChemObject
which might be part of the selectionobj
is part of the selection<E extends IChemObject> Collection<E> elements(Class<E> clazz)
Collection
of all selected IChemObject
s of the
given type.clazz
- type of IChemObject
s that should be returned.Collection
of IChemObject
of the given typeCopyright © 2021. All rights reserved.