How to find points that intersect an envelope of a line, but not the line itself?

Posted by Jacques Bosch on Stack Overflow See other posts from Stack Overflow or by Jacques Bosch
Published on 2010-06-10T12:38:26Z Indexed on 2010/06/10 12:43 UTC
Read the original article Hit count: 251

Filed under:

I have 2 layers. A lines layer and a points layer.

For any given line, how can I find the points that intersect the envelope of the line, but not the line itself, or more specifically, not the to point or from point of the line.

I can obviously find all the points that intersect the line's envelope, and then do 1 by 1 tests on the found points to see if they intersect the to or from points of the line, but I was hoping there is an easier, faster way to do something of this nature.

© Stack Overflow or respective owner

Related posts about arcobjects