From: Eric Smoll (ericsmoll_at_gmail.com)
Date: Sat Sep 06 2014 - 01:40:10 CDT

Hello VMD users,

What is the best way to select all atoms a certain distance from a line
defined between two points?

Toying with selections using a symmetric representation of the line, I
noticed that I cannot select atoms within a certain distance of a plane.
Only inequalities seem to work (greater-than or less-than the plane). So,
to achieve selection along a line, I have to resort to a cumbersome
expression like

(within X of EXP1 < 0) and
(within X of EXP1 > 0) and
(within X of EXP2 < 0) and
(within X of EXP2 > 0)

Is there a better way?

Best,
Eric