new BondFormFactory()
Factory to create and get suitable bond form objects.
- Source:
Methods
-
(static) getBondForm(bondOrder, electronCount, bondType) → {Kekule.BondForm}
-
Returns a suitable Kekule.BondForm object.
Parameters:
Name Type Description bondOrder
Int Order of bond. electronCount
Float Number of electrons. Usually you can bypass this param. bondType
String Type of bond. - Source:
Returns:
- Type
- Kekule.BondForm