Double
Functions
Link copied to clipboard
open override fun align(atoms: Set<Atom>, anchorCoords: ConfLib.AnchorCoords)
Content copied to clipboard
Aligns the attached atoms such that: anchors line segments a->b are in the same direction and have midpoints coincident at m. anchor wedges c<-m->d are rotated about the a-b axis so their center directions are parallel. Since the different anchors can have different lengths of the a-b line segments, and different dihedral angles c->a->b->d, this method is an approximate method for aligning the two coordinate systems that tries to keep the error from accumulating all in one linear or angular distance.
Link copied to clipboard
open override fun bondToAnchors(anchor: ConfLib.Anchor, bondFunc: (List<ConfLib.AtomInfo>, Atom) -> Unit)
Content copied to clipboard
Link copied to clipboard
open override fun connectedAtomsIsSingleComponent(atoms: Set<Atom>): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun copyToMol(mol: Molecule, oldToNew: AtomMap): Anchor.Double
Content copied to clipboard
Link copied to clipboard
Returns the residue of the first anchor atom, if any
Link copied to clipboard
Filters the given atoms down to just the ones connected to the anchor atoms.
Link copied to clipboard
Link copied to clipboard
open override fun makeLibraryAnchor(atoms: Set<Atom>, id: Int, getAtomInfo: (Atom) -> ConfLib.AtomInfo): ConfLib.Anchor.Double
Content copied to clipboard
Translate the molecule anchor atoms into a ConfLib anchor definition
Link copied to clipboard