Hi David,
thanks for waiting!
It was a bit more complicated than we initially thought. The distance of points to the poly line was calculated independent of outer Z direction, now we had to do quite a bit of redesign.
There are 2 new arguments:
-match_all_below : will match all points below the polyline.
-match_all_above : will match all points above the polyline.
The order of the the "-distance" argument changed: First parameter will be the horizontal distance, then a optional vertical distance follows.
Vertical means the vertical distance in the direction of the current polyline segment.
If the vertical distance is not given the horizontal distance will be the radial distance to the polyline.
A simple test can be done using a simple polyline and a homogeneous cube of points (attached testdata.zip):
las3dpoly64.exe -i cube_9x9x9.laz -o tmp2a.laz -poly poly_9x9x9_test.csv -distance 1.6 1.2 -classify 13 -sep comma
las3dpoly64.exe -i cube_9x9x9.laz -o tmp2b.laz -poly poly_9x9x9_test.csv -distance 1.6 1.2 -classify 13 -sep comma -match_all_below
las3dpoly64.exe -i cube_9x9x9.laz -o tmp2c.laz -poly poly_9x9x9_test.csv -distance 1.6 1.2 -classify 13 -sep comma -match_all_above
tmp2a.laz with height colorization shows the direction of the polyline.
This shows tmp2a.laz with points in larger size and tmp2c.laz with small points.
All points except class 13 are set to transparent, so only matched points are visible.
The same with "-match_all_below" in sample tmp2b.laz:
All points below the points hit by the poly are also matched and set to class 13.
The tools give an detail output of the operation:
Done with 'tmp2a.laz'. took 0.002 sec.
729 points were read.
34 points were flagged for modification.
0 points were removed.
You can download this beta at
https://downloads.rapidlasso.de/beta/las3dpoly64.zipWe will notice when this version will become part of the regular download.
Best regards,
Jochen @rapidlasso