Exemplo n.º 1
0
        //--------------------------------------------------------------------------------------------------

        public Pnt ProjectToGrid(int screenX, int screenY)
        {
            double px = 0, py = 0, pz = 0;

            V3dView.ConvertToGrid(screenX, screenY, ref px, ref py, ref pz);
            return(new Pnt(px, py, pz));
        }
Exemplo n.º 2
0
        //--------------------------------------------------------------------------------------------------

        public Pnt ProjectToGrid(Pnt point)
        {
            double px = 0, py = 0, pz = 0;

            V3dView.ConvertToGrid(point.X, point.Y, point.Z, ref px, ref py, ref pz);
            return(new Pnt(px, py, pz));
        }