Class BondInfo

java.lang.Object
chemaxon.marvin.alignment.atrop.BondInfo

@PublicApi @Beta public class BondInfo extends Object
Encapsulates bond info.

Please note that this class is marked with Beta annotation, so it can be subject of incompatible changes or removal in any of the later releases.

  • Constructor Details

    • BondInfo

      public BondInfo(int atom1Index, int atom2Index, int bondIndex)
      Construct.
      Parameters:
      atom1Index - Atom 1 index
      atom2Index - Atom 2 index
      bondIndex - Bond index
  • Method Details

    • getAtom1Index

      public int getAtom1Index()
      Atom index for first end atom.
      Returns:
      first bond end atom index
    • getAtom2Index

      public int getAtom2Index()
      Atom index for second end atom.
      Returns:
      second bond end atom index
    • getBondIndex

      public int getBondIndex()
      Bond index.
      Returns:
      bond index
    • toString

      public String toString()
      Overrides:
      toString in class Object