Sorry to keep pimpin my dll, but....
EZrotate will have something to make this really easy. Last night I added a command to check the angle between 3D points (1 vertex and 2 segments).
Basicly, it works like this. You tell it the first 3D point, which acts as the vertex of an angle. You then tell it 2 other points. Those 2 points create lines that go to the vertex. EZrotate then calculates the angle between those 2 segments.
To use this for your FOV problem, you would set the first point to the location of the FOV origin. You would set the second point as an extension of the facing direction of the FOV (easily done with the Get Matrix commands in EZrotate). You would then set the 3rd point as the location that you want to check. If the angle returned is less than the FOV angle, then it would be within the FOV.
Should be a really easy thing to do.
WOLF
EZrotate!
Tokamak Physics Wrapper!