/// <summary> /// 从reader创建并初始化边集. /// </summary> public BorderSet CreateBorderSet(BinaryReader reader, IDictionary<int, HalfEdge> container) { BorderSet answer = new BorderSet(); answer.ReadBinary(reader, container); borderSetContainer.Add(answer); return answer; }
/// <summary> /// 释放边集. /// </summary> public void ReleaseBorderSet(BorderSet borderSet) { borderSetContainer.Remove(borderSet); }
/// <summary> /// 创建由boundingEdges包围的边集. /// </summary> public BorderSet CreateBorderSet(List<HalfEdge> boundingEdges) { BorderSet answer = new BorderSet(); answer.BoundingEdges = boundingEdges; borderSetContainer.Add(answer); return answer; }