Transform() public méthode

public Transform ( Vector3D v ) : Vector3D
v Vector3D
Résultat Vector3D
Exemple #1
0
        private static void SaveMesh(Mesh mesh, string filename)
        {
            System.IO.File.Delete(filename);
            using (StreamWriter sw = File.AppendText(filename))
            {
                STL.AppendMeshToSTL(mesh, sw);

                Vector3D aStart = H3Ruled.Transform(new Vector3D(0, 0, -1));
                Vector3D aEnd   = H3Ruled.Transform(new Vector3D(0, 0, 1));
                Mesh     m3     = new Mesh();
                AddEdge(m3, aStart, aEnd);
                //STL.AppendMeshToSTL( m3, sw );
            }
        }