**************************************************************** tin2iso: This program takes a streaming mesh as input and extracts isocontour lines (elevation lines) at user-specified heights and outputs them in a streaming line format. There may be a few untested / unimplemented combinations. Please email bug reports to isenburg@cs.unc.edu **************************************************************** example usage: >> tin2iso -i ../data/PIE_0015_simp.smb -o ../data/PIE_0015_simp.slb extracts 10 contours evenly spaced across the elevation range while killing poorly shaped triangles with edges longer than 500 units. you can look at the results with >> sl_viewer -i ../data/PIE_0015_simp.slb make sure you press

to start loading the lines >> tin2iso -i ../data/PIE_0015_simp.smb if called without any other arguments it will simply read the entire file and compute and output the number of vertices and triangles and the extent of the bounding box >> tin2iso -i ../data/PIE_0015_simp.smb -o ../data/PIE_0015_simp.slb -range 0 30 2 same as the first but with contour lines every two units between 0 and 30 >> tin2iso -i ../data/TO_core_last_cityhall.smb if called without any other arguments it will simply read the entire file and compute and output the number of vertices and triangles and the extent of the bounding box >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -range 40 170 10 creates contour lines every 10 units between 40 and 170. you can look at the results with >> sl_viewer -i ../data/PIE_0015_simp.slb make sure you press

to start loading the lines >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -number 50 -kill 1000 extracts 50 contours evenly spaced across the elevation range while killing poorly shaped triangles with edges longer than 1000 units. >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -value 90 -value 120 -value 150 extracts contours at elevation 90 and 120 and 150 >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 0 -o armadillo0.slb -number 50 extracts 50 contours evenly spaced across the x-axis (!!!) >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 1 -o armadillo1.slb -number 50 extracts 50 contours evenly spaced across the y-axis (!!!) >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 2 -o armadillo2.slb -number 50 extracts 50 contours evenly spaced across the z-axis (!!!). you can look at the results with >> sl_viewer -i armadillo0.slb -i armadillo1.slb -i armadillo2.slb press

to start loading the lines and to change to the next model for more info: >> tin2iso -h --------------- usage: tin2iso -i mesh.sma -o isocontour.sla tin2iso -i mesh.smb -value 20.0 -value 40.0 -value 30.0 -value 50.0 -o isocontour.sla tin2iso -i mesh.smb -range 0 300 2 -o isocontour.slb -xyz 1 tin2iso -ismb -number 20 -oslb -kill 100 < mesh.smb > isocontour.slb tin2iso -h if you find bugs let me (isenburg@cs.unc.edu) know.