Try PointcloudGeometry.SetupPointLocationQueries() with search method set to closest vertex/knot. If it doesn't crash or throw errors, you're in business using the regular GetClosestLocations() method.
Matt From: [email protected] [mailto:[email protected]] On Behalf Of Bradley Gabe Sent: Tuesday, May 01, 2012 11:49 AM To: [email protected] Subject: Re: Scripting: Closest Point On a Point Cloud? I'm not finding that anywhere in the docs, is that available for Point Cloud Geometry? On Tue, May 1, 2012 at 2:44 PM, Matt Lind <[email protected]<mailto:[email protected]>> wrote: Can you use GetClosestVertex()? Matt From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bradley Gabe Sent: Tuesday, May 01, 2012 11:42 AM To: [email protected]<mailto:[email protected]> Subject: Scripting: Closest Point On a Point Cloud? For a current tool, I need to get the closest point ID in a particle cloud to a global position. I'm familiar with using Geometry.GetClosestLocations(pos) which would accomplish this if I were targeting a polygon mesh. Is there an analogue that would work for a Point Cloud? I do have another trick I can use to solve the problem, but I was hoping for something that performed a tad faster. If there is no more direct solution, I'll explain my approach. -Bradley

