EdgeCanBeMadeVisible
(
Object oEdge,
HashSet<Int32> oFilteredEdgeIDs,
HashSet<Int32> oFilteredVertexIDs
)
{
Debug.Assert(oEdge != null);
Debug.Assert(oFilteredEdgeIDs != null);
Debug.Assert(oFilteredVertexIDs != null);
// Don't make the edge visible if either of its vertices was filtered
// by a vertex filter.
IVertex [] aoVertices = ( (IEdge)oEdge ).Vertices;
return (
!oFilteredVertexIDs.Contains(aoVertices[0].ID)
&&
!oFilteredVertexIDs.Contains(aoVertices[1].ID)
);
}