New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to limit max triangle edge length #3924
Comments
see #3928 3928 |
I don't think this is doing what you want. This filter creates a raster from an existing triangulation. The edge length is the edge length of the raster cell. In general, there's no way to limit the edge length of a triangulation of points because points might simply be too far apart to meet the request. Perhaps the OP can refer to an existing algorithm? |
ah, I was confused on what edgeLength mean |
In the existing algorithm it is here: https://github.com/jblindsay/whitebox-tools/blob/e7fcdf3fc6fe71956833723b53afdf445b0608d1/whitebox-tools-app/src/tools/lidar_analysis/lidar_dsm.rs#L634 |
That's not a delaunay triangulation. You can't guarantee edge length with a delaunay triangulation. |
I think the idea was to make |
Please reopen. |
If you have a PR to implement this we will consider merging it. I'm not going to try again 😄 |
Describe the bug
Please add option to limit max triangle edge length. I am not sure if it should belong to
filters.delaunay
or tofilters.faceraster
.Just for the reference - Whitebox Tools has this option -
whitebox_tools -r=LidarDigitalSurfaceModel --max_triangle_edge_length=5 ...
.System/installation information:
The text was updated successfully, but these errors were encountered: