I'm guessing you could do it from first principles.
If you get three atoms' positions in cartesian coordinates from each plane, you can define two vectors in the plane, do their cross product to get the normal, and then dot product the two normals to get the angle between them.