def is_point_in_face(self, tri_no, pt):
pt = np.asarray(pt)<EOL>tri_no = np.asarray(tri_no)<EOL>if len(tri_no.shape) == <NUM_LIT:0>:<EOL><INDENT>tri_no = [tri_no]<EOL>tri = np.transpose([self.coordinates[:,t] for t in self.tess.indexed_faces[:,tri_no]],<EOL>(<NUM_LIT:2>,<NUM_LIT:0>,<NUM_LIT:1>))<EOL>return point_in_triangle(tri, pt)[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>tri = np.transpose([self.coordinates[:,t] for t in self.tess.indexed_faces[:,tri_no]],<EOL>(<NUM_LIT:2>,<NUM_LIT:0>,<NUM_LIT:1>))<EOL>return point_in_triangle(tri, pt)<EOL><DEDENT>
mesh.is_point_in_face(face_id, crd) yields True if the given coordinate crd is in the face
  of the given mesh with the given face id (i.e., mesh.faces[:,face_id] gives the vertex
  indices for the face in question).
The face_id and crd values may be lists as well; either they may be lists the same length
or one may be a list.