aardvark-platform / aardvark.algodat

Aardvark.Algodat contains advanced geometric and photometric data structures and algorithms. It is part of the open-source Aardvark Platform for visual computing, real-time graphics, and visualization.
https://aardvarkians.com/
GNU Affero General Public License v3.0
34 stars 6 forks source link

Looking forward to achieving fast multi segment line query function:[GetClosestToPolyLine] #32

Open YNBTools opened 4 months ago

YNBTools commented 4 months ago

Aardvark. Geometry PointTree PointRkdTreeF<TArray, TPoint> Looking forward to achieving fast multi segment line query function. GetClosestToPolyLine Unfortunately, currently only GetClosestToLine is available

krauthaufen commented 4 months ago

You can just use repeated line queries and union the results? I guess a specialized Polyline query would not improve things much. The only pitfall here is that you will get duplicate points near the vertices which can easily be avoided by unioning all inliers in a HashSet<int> or similar