示例#1
0
 /// <summary>
 /// Constructor for creating a new Face from an other one.
 /// </summary>
 /// <param name="handle">The reference of the Face.</param>
 /// <param name="face">The original Face.</param>
 public Face(int handle, Face face)
 {
     Handle         = handle;
     OuterHalfEdge  = face.OuterHalfEdge;
     FaceData       = face.FaceData;
     InnerHalfEdges = new List <int>(face.InnerHalfEdges);
 }
示例#2
0
 /// <summary>
 /// Constructor for creating a new Face.
 /// </summary>
 /// <param name="handle">The reference of the Face.</param>
 public Face(int handle)
 {
     Handle         = handle;
     OuterHalfEdge  = 0;
     FaceData       = new FaceData();
     InnerHalfEdges = new List <int>();
 }