distance or angle relative to what?
You could certainly loop all the paths and do the math to figure out the relationship between two points, including the angle of that particular segment and the length of that segment.
Can you be more specific?
Relative to the artboard. Not one angle would be the same as the other. What I'm trying to figure out, is how to know the paths I want and don't want selected. In the example "P" the grey colored path I wouldn't want selected, but all the red paths, I would want selected. Artboard doesn't have a depth object, I know that I'm shooting blanks now