/// <summary> /// Determines whether the surface contains the face. /// </summary> /// <param name="face">The face to locate.</param> /// <returns><c>true</c> if the face is found in the surface; otherwise, <c>false</c>.</returns> public bool ContainsFace(Face face) { return(faces.ContainsValue(face)); }
private void RemoveFaceUsageFromEdge(Edge edge, Face face) { edge.RemoveUser(face); RemoveEdgeUsageFromVertex(edge.a, edge); RemoveEdgeUsageFromVertex(edge.b, edge); }