public class ExampleWireframeWithThinning extends Object implements IDevelopmentTest
| Constructor and Description |
|---|
ExampleWireframeWithThinning() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Provides the main method for an example application that draws
a color-coded image of a triangulated irregular network.
|
void |
runTest(PrintStream ps,
String[] args)
Run the example code accepting an input LAS file and rendering
a wire-frame diagram of the resulting triangular mesh, thinning
the sample points so that a minimum pixel spacing is maintained.
|
public void runTest(PrintStream ps, String[] args) throws IOException
runTest in interface IDevelopmentTestps - a valid print-stream for recording results of processing.args - a set of arguments for configuring the processing.IOException - if unable to read input or write output files.public static void main(String[] args)
Data is accepted from an LAS file. For best results, the file should be in a projected coordinate system rather than a geographic coordinate system. In general, geographic coordinate systems are a poor choice for Lidar data processing since they are non-isotropic, however many data sources provide them in this form.
Command line arguments include the following:
-in <file path> input LAS file
-out <file path> optional output image file
-width <width> optional image width, default 500
-height <height> optional image height, default 500
-frame <xmin xmax ymin ymax> frame into sub-region of data
Other arguments used by Tinfour test programs are supported
args - command line arguments indicating the input LAS file for
processing and various output options.Copyright © 2019. All rights reserved.