Esempio n. 1
0
        public void Merge(Face3D face)
        {
            if (face == null)
            {
                return;
            }

            foreach (var faceTriangle in face.Triangles)
            {
                Triangles.Add(faceTriangle);
            }

            isNewTrianglesAdded = true;
        }
Esempio n. 2
0
        public void Add(Face3D face)
        {
            if (face == null)
            {
                return;
            }

            foreach (var faceTriangle in face.Triangles)
            {
                Triangles.Add(faceTriangle);
                faceTriangle.SourceFace = this;
            }

            isNewTrianglesAdded = true;
        }