def all_edges_with_verts(self, v_indices, as_boolean=False):
        '''
        returns all of the faces that contain at least one of the vertices in v_indices
        '''
        included_vertices = np.zeros(self.v.shape[0], dtype=bool)
        included_vertices[v_indices] = True
        edges_with_verts = included_vertices[self.e].all(axis=1)
        if as_boolean:
            return edges_with_verts
        return np.nonzero(edges_with_verts)[0]
def all_edges_with_verts ( self , v_indices , as_boolean = False ) : included_vertices = np . zeros ( self . v . shape [ 0 ] , dtype = bool ) included_vertices [ v_indices ] = True edges_with_verts = included_vertices [ self . e ] . all ( axis = 1 ) if as_boolean : return edges_with_verts return np . nonzero ( edges_with_verts ) [ 0 ]
returns all of the faces that contain at least one of the vertices in v_indices