/// <summary> /// Creates a molecule from the specified blueprint and returns one of the atoms that composes it. /// </summary> /// <param name="input">the parsed molecule blueprint</param> /// <returns>an atom in the created molecule</returns> public static Atom Generate(Parse.IMolecule blueprint) { Contract.Requires(blueprint != null); return(Generate(blueprint.Atoms, blueprint.Bonds)); }
public MoleculeBlueprint(Parse.IMolecule blueprint) : this(blueprint.Atoms, blueprint.Bonds) { }