gwlucastrig / Tinfour

Delaunay and Constrained Delaunay Triangulations in Java, providing high-performance utilities for modeling surfaces with support for Lidar LAS files, Digital Elevation Models (DEM), finite element analysis, path planning, natural neighbor interpolation, and other applications of Triangulated Irregular Networks (TIN)
Apache License 2.0
153 stars 34 forks source link

SVM improve sample-spacing computation #106

Closed gwlucastrig closed 8 months ago

gwlucastrig commented 8 months ago

The sample spacing computation is incorrect. Add an improved calculation that considers whether edges are inside water domain and does not include constraint-based edges.

gwlucastrig commented 8 months ago

Code is updated. Answers are much more realistic than before. Note that this calculation is optional. By default, it is not performed unless the computeSoundingSpacing property in the SVM properties file is explicitly set to true.