Function getHoseCodesForPath

  • Returns the hose code for a specific atom number

    Parameters

    • molecule: Molecule
    • from: any
    • to: any
    • maxLength: any

    Returns {
        atoms: any[];
        from: any;
        hoses: {
            oclID: any;
            sphere: number;
        }[];
        length: number;
        to: any;
        torsion: undefined | number;
    }

    • atoms: any[]
    • from: any
    • hoses: {
          oclID: any;
          sphere: number;
      }[]
    • length: number
    • to: any
    • torsion: undefined | number