public void FilterFaces(IFaceFilter filter) { Faces.RemoveAll((face) => { Vector3[] vertices = face.Select(vertexInfo => Vertices[vertexInfo.VertexIndex]).ToArray(); return(!filter.Check(vertices)); }); }