InputPoint returns the transformation, if any, for the face you clicked on. Simply apply that tranformation to the vertices of the face to get the real world coordinates.

rwc = @ip.face.vertices.map{|v| v.position.transform(@ip.transformation)}