Skip to main content

Interface: DetectInteractionsOptions

Defined in: src/mobjects/molecular/interactions.ts:51

Options for detectInteractions.

Properties​

contactCutoff?​

optional contactCutoff: number

Defined in: src/mobjects/molecular/interactions.ts:61

Max distance for a hydrophobic carbon-carbon contact, in angstrom. Default 4.0. Set to 0 to skip hydrophobic contacts.


hBondCutoff?​

optional hBondCutoff: number

Defined in: src/mobjects/molecular/interactions.ts:56

Max heavy-atom distance for a hydrogen bond, in angstrom. Default 3.5. (A donor-acceptor heavy-atom distance; explicit H is not required.)


polarElements?​

optional polarElements: string[]

Defined in: src/mobjects/molecular/interactions.ts:66

The elements treated as hydrogen-bond donors/acceptors. Default N, O, S, F. Comparison is case-insensitive.