예제 #1
0
		/// <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;
		}
예제 #2
0
		/// <summary>
		/// 释放边集.
		/// </summary>
		public void ReleaseBorderSet(BorderSet borderSet)
		{
			borderSetContainer.Remove(borderSet);
		}
예제 #3
0
		/// <summary>
		/// 创建由boundingEdges包围的边集.
		/// </summary>
		public BorderSet CreateBorderSet(List<HalfEdge> boundingEdges)
		{
			BorderSet answer = new BorderSet();
			answer.BoundingEdges = boundingEdges;
			borderSetContainer.Add(answer);
			return answer;
		}