Package chemaxon.fixers
Class DistanceBasedMetalloceneFixer
- java.lang.Object
-
- chemaxon.fixers.AbstractStructureFixer
-
- chemaxon.fixers.DistanceBasedMetalloceneFixer
-
- All Implemented Interfaces:
StructureFixer
@PublicAPI public class DistanceBasedMetalloceneFixer extends AbstractStructureFixer
A descendant ofAbstractStructureFixer
which converts incorrectly drawn metallocenes into multicenter based coordinate bond representation. The upper and lower bound of the "sandwich" structure will be determined by the euclidean distance from the metal ion.- Since:
- Marvin 5.4
-
-
Constructor Summary
Constructors Constructor Description DistanceBasedMetalloceneFixer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fix(StructureCheckerResult result)
Fixes one molecule problem identified by the result-
Methods inherited from class chemaxon.fixers.AbstractStructureFixer
getDescription, getDescriptor, getName, setDescription, setName
-
-
-
-
Method Detail
-
fix
public boolean fix(StructureCheckerResult result)
Description copied from interface:StructureFixer
Fixes one molecule problem identified by the result- Parameters:
result
- is an instance ofStructureCheckerResult
which identifies the problem- Returns:
- true if the fix was successful false otherwise
-
-