Exemple #1
0
        public static MeshGeometry3D ZAxisArrow(float length)
        {
            MeshGeometry3D mesh = new MeshGeometry3D();

            mesh.AddArrow(new Point3D(12, 0, 0), new Point3D(12, 0, 6),
                          new Vector3D(0, 1, 0), 0.5);
            return(mesh);
        }
Exemple #2
0
        public static MeshGeometry3D YAxisArrow(float length, float start = 0)
        {
            MeshGeometry3D mesh = new MeshGeometry3D();

            mesh.AddArrow(new Point3D(0, start, 0), new Point3D(0, start + length, 0),
                          new Vector3D(1, 0, 0), 0.5);
            return(mesh);
        }