コード例 #1
0
        internal DxfMeshFace Clone(
            CloneContext cloneContext,
            DxfPolyfaceMesh fromMesh,
            Dictionary <DxfVertex3D, int> fromVertexToIndex)
        {
            DxfMeshFace dxfMeshFace = new DxfMeshFace();

            dxfMeshFace.CopyFrom(this, cloneContext, fromMesh, fromVertexToIndex);
            return(dxfMeshFace);
        }
コード例 #2
0
 private void CopyFrom(
     DxfMeshFace from,
     CloneContext cloneContext,
     DxfPolyfaceMesh mesh,
     Dictionary <DxfVertex3D, int> fromVertexToIndex)
 {
     this.CopyFrom((DxfHandledObject)from, cloneContext);
     foreach (DxfMeshFace.Corner corner in from.list_0)
     {
         int index = fromVertexToIndex[corner.Vertex];
         this.list_0.Add(new DxfMeshFace.Corner(mesh.Vertices[index], corner.EdgeVisible));
     }
 }
コード例 #3
0
 public virtual void Visit(DxfMeshFace meshFace)
 {
 }
コード例 #4
0
 public virtual void Visit(DxfMeshFace meshFace)
 {
     this.VisitEntity((DxfEntity)meshFace);
 }