Package org.openmolecules.chem.conf.so
Class PlaneRule
- java.lang.Object
-
- org.openmolecules.chem.conf.so.ConformationRule
-
- org.openmolecules.chem.conf.so.PlaneRule
-
public class PlaneRule extends ConformationRule
-
-
Field Summary
-
Fields inherited from class org.openmolecules.chem.conf.so.ConformationRule
mAtom, mIsEnabled, RULE_NAME, RULE_TYPE_BINAP, RULE_TYPE_DISTANCE, RULE_TYPE_LINE, RULE_TYPE_PLANE, RULE_TYPE_STEREO, RULE_TYPE_TORSION
-
-
Constructor Summary
Constructors Constructor Description PlaneRule(int[] atom, StereoMolecule mol)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleaddStrain(Conformer conformer, double[] atomStrain)booleanapply(Conformer conformer, double cycleFactor)static voidcalculateRules(java.util.ArrayList<ConformationRule> ruleList, StereoMolecule mol)intgetRuleType()java.lang.StringtoString()-
Methods inherited from class org.openmolecules.chem.conf.so.ConformationRule
addAtomList, getAtomList, isEnabled, moveAtomWithUnboundedNeighbors, moveGroup, moveSubstituent, rotateAtom, setEnabled
-
-
-
-
Constructor Detail
-
PlaneRule
public PlaneRule(int[] atom, StereoMolecule mol)
-
-
Method Detail
-
getRuleType
public int getRuleType()
- Specified by:
getRuleTypein classConformationRule
-
calculateRules
public static void calculateRules(java.util.ArrayList<ConformationRule> ruleList, StereoMolecule mol)
-
apply
public boolean apply(Conformer conformer, double cycleFactor)
- Specified by:
applyin classConformationRule
-
addStrain
public double addStrain(Conformer conformer, double[] atomStrain)
- Specified by:
addStrainin classConformationRule
-
toString
public java.lang.String toString()
- Specified by:
toStringin classConformationRule
-
-