private void pointrange(object sender, EventArgs e) { DEM hgtR = new DEM(@"C:\Users\r.hudson\Documents\WORK\projects\LostCity\C18\C18\", 11.140131, 10.975654, -74.000914, -73.836385); RefPlaneVis rpv = new RefPlaneVis(hgtR, 90, "ciudadPViewShedPointRange", 0); //rpv.singlePoint(124,91); int[] row = { 120, 128 }; int[] cols = { 90, 91 }; rpv.pointRange(row, cols); rpv.writeVis("ciudadPViewShedPointRange"); }
private void button1_Click(object sender, EventArgs e) { //readAll(); //openFile(11.140131, -74.000914); //int secondsN = truncateInSeconds(11.140131); //int secondsW = truncateInSeconds(-74.000914); //getSample(secondsN, secondsW); //south west corner 10.975654, -74.000914 //ne corner 11.140131, -73.836385 // need N10W074 and N11W074 DEM hgtR = new DEM(@"C:\Users\r.hudson\Documents\WORK\projects\LostCity\C18\C18\", 11.140131, 10.975654, -74.000914, -73.836385); RefPlaneVis rpv = new RefPlaneVis(hgtR, 90, "ciudadPViewShed", 0); //rpv.singlePoint(124,91); int[] row = { 120, 128 }; int[] cols = { 90, 91 }; rpv.pointRange(row, cols); rpv.writeVis("ciudadPViewShed"); //rpv.traverse(); }