Package org.openscience.cdk.renderer
Class AverageBondLengthCalculator
- java.lang.Object
-
- org.openscience.cdk.renderer.AverageBondLengthCalculator
-
-
Constructor Summary
Constructors Constructor Description AverageBondLengthCalculator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublecalculateAverageBondLength(IAtomContainerSet moleculeSet)Calculate the average bond length for the bonds in a molecule set.static doublecalculateAverageBondLength(IChemModel model)Calculate the average bond length for the bonds in a chem model.static doublecalculateAverageBondLength(IReaction reaction)Calculate the average bond length for the bonds in a reaction.static doublecalculateAverageBondLength(IReactionSet reactionSet)Calculate the average bond length for the bonds in a reaction set.
-
-
-
Method Detail
-
calculateAverageBondLength
public static double calculateAverageBondLength(IReaction reaction)
Calculate the average bond length for the bonds in a reaction.- Parameters:
reaction- the reaction to use- Returns:
- the average bond length
-
calculateAverageBondLength
public static double calculateAverageBondLength(IAtomContainerSet moleculeSet)
Calculate the average bond length for the bonds in a molecule set.- Parameters:
moleculeSet- the molecule set to use- Returns:
- the average bond length
-
calculateAverageBondLength
public static double calculateAverageBondLength(IChemModel model)
Calculate the average bond length for the bonds in a chem model.- Parameters:
model- the model for which to calculate the average bond length- Returns:
- the average bond length
-
calculateAverageBondLength
public static double calculateAverageBondLength(IReactionSet reactionSet)
Calculate the average bond length for the bonds in a reaction set.- Parameters:
reactionSet- the reaction set to use- Returns:
- the average bond length
-
-