use of com.revolsys.elevation.cloud.las.LasPointCloud in project com.revolsys.open by revolsys.
the class TriangulationVisualization method tinVisualLas.
public static void tinVisualLas() {
final PathResource sourceFile = new PathResource("/data/dem/elevation/las/bc_093g057c_xl2m_2015_dem_ground.las");
final TriangulatedIrregularNetwork tin;
try (final LasPointCloud pointCloud = PointCloud.newPointCloud(sourceFile)) {
tin = pointCloud.newTriangulatedIrregularNetwork();
}
if (writeFile) {
tin.writeTriangulatedIrregularNetwork(new PathResource("/data/elevation/tin/093/g/093g057.tin"));
}
displayTin(tin);
}
use of com.revolsys.elevation.cloud.las.LasPointCloud in project com.revolsys.open by revolsys.
the class LasInfo method close.
@Override
public void close() {
final LasPointCloud pointCloud = this.pointCloud;
if (pointCloud != null) {
this.pointCloud = null;
pointCloud.close();
}
}
Aggregations