示例#1
0
 public Face()
 {
     label    = 0;
     edges    = new EdgeSet();
     vertices = new VertexSet();
     normal   = new Vector();
     vertices.reserve(3);
     edges.reserve(3);
 }
示例#2
0
        public EdgeSet Clone()
        {
            EdgeSet e = new EdgeSet();

            e.set  = (object[])set.Clone();
            e.n    = n;
            e.size = size;
            return(e);
        }
示例#3
0
 public Vertex()
 {
     label  = 0;
     pos    = 0;
     dist   = 1e15;
     next   = null;
     edges  = new EdgeSet();
     faces  = new FaceSet();
     normal = new Vector();
     tex    = new Vector();
     n      = new Vector();
     v      = new Vector();
 }