Problem with fan-cylinder's intersect detection

The second link (Point is inside a mesh functionality) has code to do exactly what you want (check if point is inside mesh).