/
How-to: Finding the nearest feature to a point (HPS)
How-to: Finding the nearest feature to a point (HPS)
The following sample code demonstrates two methods to find the closest feature to a 3D point in the scene using HOOPS Visualize (HPS). This code can be copied and pasted into the wpf_sandbox project (DemoUserCommands.cs) included in your HPS package.
Note: this sample code requires HOOPS Exchange as well and references a model provided in the Exchange download package. This was built with HNP 2024.
The full details are available in our community forum under How-to: Finding the nearest feature to a point (HPS).
, multiple selections available,
Related content
How-To: Set up HOOPS Visualize HPS_WPF_Sandbox to work with HOOPS Exchange integration
How-To: Set up HOOPS Visualize HPS_WPF_Sandbox to work with HOOPS Exchange integration
More like this
How-To: Using the HOOPS 3D Part Viewer
How-To: Using the HOOPS 3D Part Viewer
More like this
How to: Find a point on the surface of a model given a known window point
How to: Find a point on the surface of a model given a known window point
More like this