is there a HDK function that will let me input coordinates and see if there is an existing point at those (or close enough) coordinates?
Basically I just want to use the existing point offset instead of creating a new point.
HDK check if a point already exists
2430 4 1- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
- graham
- Member
- 1908 posts
- Joined: Nov. 2006
- Offline
- stkeg
- Member
- 69 posts
- Joined: April 2013
- Offline
- Infernalspawn
- Member
- 229 posts
- Joined: May 2006
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
If you're just doing it once, your fastest bet is actually to search through the points sequentially, in parallel, using GA_ROPageHandleV3 to access the point positions, since constructing a point tree takes quite a bit of time in comparison. If you're doing it a bunch of times, GEO_PointTreeGAOffset, like the posts above recommended, though adding new points dynamically to the tree may or may not get expensive; you'll have to experiment. :wink:
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
-
- Quick Links